mirror of
https://github.com/fergalmoran/dss.git
synced 2025-12-22 09:38:18 +00:00
Fixed sort-order for most played
This commit is contained in:
0
_working/create
Executable file → Normal file
0
_working/create
Executable file → Normal file
@@ -80,7 +80,7 @@ class Mix(_BaseModel):
|
||||
.order_by('-karma')
|
||||
elif listing_type == 'mostplayed':
|
||||
queryset = Mix.objects.all()\
|
||||
.annotate(karma=Count('likes'))\
|
||||
.annotate(karma=Count('plays'))\
|
||||
.order_by('-karma')
|
||||
elif listing_type == 'recommended':
|
||||
queryset = Mix.objects.all().order_by( '-id')
|
||||
|
||||
0
static/bin/sm/soundmanager2.swf
Executable file → Normal file
0
static/bin/sm/soundmanager2.swf
Executable file → Normal file
0
static/bin/sm/soundmanager2_debug.swf
Executable file → Normal file
0
static/bin/sm/soundmanager2_debug.swf
Executable file → Normal file
0
static/bin/sm/soundmanager2_flash9.swf
Executable file → Normal file
0
static/bin/sm/soundmanager2_flash9.swf
Executable file → Normal file
0
static/bin/sm/soundmanager2_flash9_debug.swf
Executable file → Normal file
0
static/bin/sm/soundmanager2_flash9_debug.swf
Executable file → Normal file
0
static/img/whats-on.png
Executable file → Normal file
0
static/img/whats-on.png
Executable file → Normal file
|
Before Width: | Height: | Size: 6.0 KiB After Width: | Height: | Size: 6.0 KiB |
0
static/js/libs/sm/soundmanager2.js
Executable file → Normal file
0
static/js/libs/sm/soundmanager2.js
Executable file → Normal file
@@ -1,17 +1,25 @@
|
||||
{% load socialaccount_tags %}
|
||||
<div class="well">
|
||||
<h2>Login to Deep South Sounds</h2>
|
||||
|
||||
<div>
|
||||
<ul class="social_login_providers">
|
||||
<li>
|
||||
<a class='signin_button' href='{% provider_login_url "twitter" %}' id='twitter_button'>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class='signin_button' id='facebook_button' href="{% provider_login_url "facebook" method="oauth2" %}">
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
<div>
|
||||
<ul class="social_login_providers">
|
||||
<li>
|
||||
<a class='signin_button' href='{% provider_login_url "twitter" %}' id='twitter_button'>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class='signin_button' id='facebook_button' href="{% provider_login_url "facebook" method="oauth2" %}">
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<br />
|
||||
<div>
|
||||
<span>Please note that using your twitter/facebook account<br/>
|
||||
to login does not give us access to your private information</span>
|
||||
</div>
|
||||
</div>
|
||||
<br/>
|
||||
</div>
|
||||
Reference in New Issue
Block a user