summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorprathamesh2014-12-04 12:49:22 +0530
committerprathamesh2014-12-04 12:49:22 +0530
commit921ec4fdd575d41e065308603c907e8628c0bc18 (patch)
treea40854b8bd78d418cb0ed6bb7296073c69d5bbf4
parent6a3be4c7aa1416f47269d0f6494c4551905004a2 (diff)
downloadcertificate-generator-921ec4fdd575d41e065308603c907e8628c0bc18.tar.gz
certificate-generator-921ec4fdd575d41e065308603c907e8628c0bc18.tar.bz2
certificate-generator-921ec4fdd575d41e065308603c907e8628c0bc18.zip
Removed certificate from url and redirect to download
-rw-r--r--certificate/urls.py5
-rw-r--r--fossee_project/urls.py2
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')),
)