Browse Source

Rename ztulec to celutz

Baptiste Jonglez 9 years ago
parent
commit
310ad0cf3a
7 changed files with 10 additions and 10 deletions
  1. 1 1
      README.md
  2. 0 0
      celutz/__init__.py
  3. 2 2
      ztulec/celery.py
  4. 3 3
      ztulec/settings.py
  5. 1 1
      ztulec/urls.py
  6. 2 2
      ztulec/wsgi.py
  7. 1 1
      manage.py

+ 1 - 1
README.md

@@ -2,4 +2,4 @@
 
 
 Tile generation uses Celery, to launch a worker, run:
 Tile generation uses Celery, to launch a worker, run:
 
 
-    celery -A ztulec.celery worker --loglevel=info
+    celery -A celutz.celery worker --loglevel=info

ztulec/__init__.py → celutz/__init__.py


+ 2 - 2
ztulec/celery.py

@@ -5,11 +5,11 @@ import os
 from celery import Celery
 from celery import Celery
 
 
 # set the default Django settings module for the 'celery' program.
 # set the default Django settings module for the 'celery' program.
-os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'ztulec.settings')
+os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'celutz.settings')
 
 
 from django.conf import settings
 from django.conf import settings
 
 
-app = Celery('ztulec')
+app = Celery('celutz')
 
 
 # Using a string here means the worker will not have to
 # Using a string here means the worker will not have to
 # pickle the object when using Windows.
 # pickle the object when using Windows.

+ 3 - 3
ztulec/settings.py

@@ -1,5 +1,5 @@
 """
 """
-Django settings for ztulec project.
+Django settings for celutz project.
 
 
 For more information on this file, see
 For more information on this file, see
 https://docs.djangoproject.com/en/1.7/topics/settings/
 https://docs.djangoproject.com/en/1.7/topics/settings/
@@ -53,9 +53,9 @@ MIDDLEWARE_CLASSES = (
     'django.middleware.clickjacking.XFrameOptionsMiddleware',
     'django.middleware.clickjacking.XFrameOptionsMiddleware',
 )
 )
 
 
-ROOT_URLCONF = 'ztulec.urls'
+ROOT_URLCONF = 'celutz.urls'
 
 
-WSGI_APPLICATION = 'ztulec.wsgi.application'
+WSGI_APPLICATION = 'celutz.wsgi.application'
 
 
 
 
 # Database
 # Database

+ 1 - 1
ztulec/urls.py

@@ -5,7 +5,7 @@ from django.contrib import admin
 
 
 urlpatterns = patterns('',
 urlpatterns = patterns('',
     # Examples:
     # Examples:
-    # url(r'^$', 'ztulec.views.home', name='home'),
+    # url(r'^$', 'celutz.views.home', name='home'),
     url(r'^admin/', include(admin.site.urls)),
     url(r'^admin/', include(admin.site.urls)),
     url(r'^', include('panorama.urls', namespace="panorama")),
     url(r'^', include('panorama.urls', namespace="panorama")),
     url(r'^api/v1/', include('api.urls')),
     url(r'^api/v1/', include('api.urls')),

+ 2 - 2
ztulec/wsgi.py

@@ -1,5 +1,5 @@
 """
 """
-WSGI config for ztulec project.
+WSGI config for celutz project.
 
 
 It exposes the WSGI callable as a module-level variable named ``application``.
 It exposes the WSGI callable as a module-level variable named ``application``.
 
 
@@ -8,7 +8,7 @@ https://docs.djangoproject.com/en/1.7/howto/deployment/wsgi/
 """
 """
 
 
 import os
 import os
-os.environ.setdefault("DJANGO_SETTINGS_MODULE", "ztulec.settings")
+os.environ.setdefault("DJANGO_SETTINGS_MODULE", "celutz.settings")
 
 
 from django.core.wsgi import get_wsgi_application
 from django.core.wsgi import get_wsgi_application
 application = get_wsgi_application()
 application = get_wsgi_application()

+ 1 - 1
manage.py

@@ -3,7 +3,7 @@ import os
 import sys
 import sys
 
 
 if __name__ == "__main__":
 if __name__ == "__main__":
-    os.environ.setdefault("DJANGO_SETTINGS_MODULE", "ztulec.settings")
+    os.environ.setdefault("DJANGO_SETTINGS_MODULE", "celutz.settings")
 
 
     from django.core.management import execute_from_command_line
     from django.core.management import execute_from_command_line