Compare commits

..

No commits in common. "2c46cde8e61d99287c1c97f9602e3931f49eb2bc" and "cd360d9ac727d4a090719c24dd2799e89acd380b" have entirely different histories.

2 changed files with 2 additions and 6 deletions

View File

@ -23,9 +23,6 @@ from aircox.models import *
__doc__ = __doc__.format(settings=settings)
__all__ = ('PlaylistImport', 'Command')
logger = logging.getLogger('aircox.commands')
@ -92,10 +89,11 @@ class PlaylistImport:
**self.track_kwargs
)
track.timestamp = timestamp
print('track', track, timestamp)
track.info = line.get('info')
tags = line.get('tags')
if tags:
track.tags.add(*tags.lower().split(','))
track.tags.add(*tags.split(','))
except Exception as err:
logger.warning(
'an error occured for track {index}, it may not '

View File

@ -118,8 +118,6 @@ except:
)
pass
#-- django-taggit
TAGGIT_CASE_INSENSITIVE = True
#-- django-CKEditor
CKEDITOR_CONFIGS = {