Allow new song requests from admin page.
This commit is contained in:
parent
269e2e30a8
commit
81700335cf
1 changed files with 2 additions and 3 deletions
|
@ -50,14 +50,13 @@ class RequestAdmin(admin.ModelAdmin):
|
||||||
|
|
||||||
# Edit Form display
|
# Edit Form display
|
||||||
readonly_fields = (
|
readonly_fields = (
|
||||||
'created_date',
|
|
||||||
'modified_date',
|
'modified_date',
|
||||||
'profile',
|
|
||||||
'song',
|
|
||||||
'queued_at',
|
'queued_at',
|
||||||
'played_at'
|
'played_at'
|
||||||
)
|
)
|
||||||
|
|
||||||
|
raw_id_fields = ('song',)
|
||||||
|
|
||||||
verbose_name = 'request'
|
verbose_name = 'request'
|
||||||
verbose_name_plural = 'requests'
|
verbose_name_plural = 'requests'
|
||||||
extra = 0
|
extra = 0
|
||||||
|
|
Loading…
Reference in a new issue