From 6a3be4c7aa1416f47269d0f6494c4551905004a2 Mon Sep 17 00:00:00 2001 From: prathamesh Date: Thu, 4 Dec 2014 12:27:30 +0530 Subject: Settings changed for django1.5 --- fossee_project/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fossee_project/settings.py b/fossee_project/settings.py index 15dd9ad..0d0018a 100644 --- a/fossee_project/settings.py +++ b/fossee_project/settings.py @@ -46,7 +46,7 @@ INSTALLED_APPS = ( 'django.contrib.staticfiles', #'south', 'certificate', - 'csvimport.app.CSVImportConf', + #'csvimport.app.CSVImportConf', ) MIDDLEWARE_CLASSES = ( -- cgit From 921ec4fdd575d41e065308603c907e8628c0bc18 Mon Sep 17 00:00:00 2001 From: prathamesh Date: Thu, 4 Dec 2014 12:49:22 +0530 Subject: Removed certificate from url and redirect to download --- certificate/urls.py | 5 +++-- fossee_project/urls.py | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/certificate/urls.py b/certificate/urls.py index 04f2f8a..5e4827f 100644 --- a/certificate/urls.py +++ b/certificate/urls.py @@ -8,6 +8,7 @@ urlpatterns = patterns('', # url(r'^$', 'fossee_project.views.home', name='home'), # url(r'^blog/', include('blog.urls')), - url(r'^download/', 'certificate.views.download', name='download'), - url(r'^verify/', 'certificate.views.verify', name='verify'), + url(r'^$', 'certificate.views.download', name='download'), + url(r'^download/$', 'certificate.views.download', name='download'), + url(r'^verify/$', 'certificate.views.verify', name='verify'), ) diff --git a/fossee_project/urls.py b/fossee_project/urls.py index 8ab701f..533e42c 100644 --- a/fossee_project/urls.py +++ b/fossee_project/urls.py @@ -9,5 +9,5 @@ urlpatterns = patterns('', # url(r'^blog/', include('blog.urls')), url(r'^admin/', include(admin.site.urls)), - url(r'^certificate/', include('certificate.urls', namespace='certificate')), + url(r'^', include('certificate.urls', namespace='certificate')), ) -- cgit