forked from rc/aircox
iss #6: sort diffusion by start in explorer + space between artist and title
This commit is contained in:
@ -40,7 +40,7 @@ class Actions:
|
||||
items = schedule.diffusions_of_month(date, exclude_saved = True)
|
||||
count[0] += len(items)
|
||||
|
||||
# we can't bulk create because we ned signal processing
|
||||
# we can't bulk create because we need signal processing
|
||||
for item in items:
|
||||
conflicts = item.get_conflicts()
|
||||
item.type = Diffusion.Type.unconfirmed \
|
||||
|
@ -17,6 +17,7 @@ ensure('AIRCOX_DEFAULT_USER_GROUPS', {
|
||||
'change_sound',
|
||||
'add_track', 'change_track', 'delete_track',
|
||||
'add_tag', 'change_tag', 'delete_tag',
|
||||
'add_comment', 'edit_comment', 'delete_comment',
|
||||
),
|
||||
# ensure user can log in using Wagtail
|
||||
'Editors': None
|
||||
|
@ -4,7 +4,7 @@ from django.contrib.auth.models import User, Group, Permission
|
||||
from django.contrib.contenttypes.models import ContentType
|
||||
from django.db.models import F
|
||||
from django.db.models.signals import post_save, pre_save, pre_delete, m2m_changed
|
||||
from django.dispatch import receiver
|
||||
from django.dispatch import receiver, Signal
|
||||
from django.utils import timezone as tz
|
||||
from django.utils.translation import ugettext as _, ugettext_lazy
|
||||
|
||||
@ -12,6 +12,8 @@ import aircox.models as models
|
||||
import aircox.utils as utils
|
||||
import aircox.settings as settings
|
||||
|
||||
|
||||
|
||||
# Add a default group to a user when it is created. It also assigns a list
|
||||
# of permissions to the group if it is created.
|
||||
#
|
||||
|
Reference in New Issue
Block a user