Corrected name of project to ws_reg.
authorShantanu <shantanu@fossee.in>
Wed, 20 Jan 2010 14:35:55 +0530
changeset 2 2c1e89e4a5a2
parent 1 a370c5796d08
child 3 ff06ee4aa9d9
Corrected name of project to ws_reg.
settings.py
upload/admin.py
upload/forms.py
urls.py
--- a/settings.py	Wed Jan 20 14:19:50 2010 +0530
+++ b/settings.py	Wed Jan 20 14:35:55 2010 +0530
@@ -70,7 +70,7 @@
     'django.contrib.auth.middleware.AuthenticationMiddleware',
 )
 
-ROOT_URLCONF = 'workshop_registration.urls'
+ROOT_URLCONF = 'ws_reg.urls'
 
 TEMPLATE_DIRS = (
     os.path.join(ROOT_PATH, 'template'),
@@ -86,6 +86,6 @@
     'django.contrib.sites',
     'django.contrib.admin',
     'django.contrib.databrowse',
-    'workshop_registration.upload',
+    'ws_reg.upload',
     'captcha',
 )
--- a/upload/admin.py	Wed Jan 20 14:19:50 2010 +0530
+++ b/upload/admin.py	Wed Jan 20 14:35:55 2010 +0530
@@ -1,5 +1,5 @@
 from django.contrib import admin
-from workshop_registration.upload.models import Participant
+from ws_reg.upload.models import Participant
 
 admin.site.register(Participant)
 
--- a/upload/forms.py	Wed Jan 20 14:19:50 2010 +0530
+++ b/upload/forms.py	Wed Jan 20 14:35:55 2010 +0530
@@ -1,6 +1,6 @@
 from django import forms
 from captcha.fields import CaptchaField
-from workshop_registration.upload.models import Participant
+from ws_reg.upload.models import Participant
 
 class ParticipantForm(forms.ModelForm):
   captcha = CaptchaField()
--- a/urls.py	Wed Jan 20 14:19:50 2010 +0530
+++ b/urls.py	Wed Jan 20 14:35:55 2010 +0530
@@ -19,9 +19,9 @@
 
     # Uncomment the next line to enable the admin:
         (r'^admin/(.*)', admin.site.root),
-	(r'^$','workshop_registration.upload.views.upload_file'),
+	(r'^$','ws_reg.upload.views.upload_file'),
         (r'^captcha/', include('captcha.urls')),
- 	(r'^submission/$','workshop_registration.upload.views.submission'),
+ 	(r'^submission/$','ws_reg.upload.views.submission'),
         (r'^databrowse/(.*)',databrowse.site.root),        
 	(r'^(?P<path>.*)$', 'django.views.static.serve', {'document_root': settings.MEDIA_ROOT }),
 )