Browse Source

Examples/Docs: Django example does not need to import settings

Ask Solem 8 years ago
parent
commit
9f0cf25748
1 changed files with 0 additions and 2 deletions
  1. 0 2
      examples/django/proj/celery.py

+ 0 - 2
examples/django/proj/celery.py

@@ -7,8 +7,6 @@ from celery import Celery
 # set the default Django settings module for the 'celery' program.
 os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'proj.settings')
 
-from django.conf import settings  # noqa
-
 app = Celery('proj')
 
 # Using a string here means the worker doesn't have to serialize