mirror of
https://github.com/fergalmoran/dss.git
synced 2025-12-27 03:57:43 +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')
|
.order_by('-karma')
|
||||||
elif listing_type == 'mostplayed':
|
elif listing_type == 'mostplayed':
|
||||||
queryset = Mix.objects.all()\
|
queryset = Mix.objects.all()\
|
||||||
.annotate(karma=Count('likes'))\
|
.annotate(karma=Count('plays'))\
|
||||||
.order_by('-karma')
|
.order_by('-karma')
|
||||||
elif listing_type == 'recommended':
|
elif listing_type == 'recommended':
|
||||||
queryset = Mix.objects.all().order_by( '-id')
|
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 %}
|
{% load socialaccount_tags %}
|
||||||
<div class="well">
|
<div class="well">
|
||||||
<h2>Login to Deep South Sounds</h2>
|
<h2>Login to Deep South Sounds</h2>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<ul class="social_login_providers">
|
<div>
|
||||||
<li>
|
<ul class="social_login_providers">
|
||||||
<a class='signin_button' href='{% provider_login_url "twitter" %}' id='twitter_button'>
|
<li>
|
||||||
</a>
|
<a class='signin_button' href='{% provider_login_url "twitter" %}' id='twitter_button'>
|
||||||
</li>
|
</a>
|
||||||
<li>
|
</li>
|
||||||
<a class='signin_button' id='facebook_button' href="{% provider_login_url "facebook" method="oauth2" %}">
|
<li>
|
||||||
</a>
|
<a class='signin_button' id='facebook_button' href="{% provider_login_url "facebook" method="oauth2" %}">
|
||||||
</li>
|
</a>
|
||||||
</ul>
|
</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>
|
</div>
|
||||||
<br/>
|
<br/>
|
||||||
</div>
|
</div>
|
||||||
Reference in New Issue
Block a user