Changeset - be65906af86b
[Not reviewed]
0 2 1
Branko Majic (branko) - 10 years ago 2013-12-27 23:59:32
branko@majic.rs
DJPYD-1: Configured the sample project to include Django Pydenticon.
3 files changed with 10 insertions and 1 deletions:
0 comments (0 inline, 0 general)
testproject/django_pydenticon
Show inline comments
 
new file 120000
 
../django_pydenticon/
 
\ No newline at end of file
testproject/testproject/settings.py
Show inline comments
 
@@ -36,6 +36,7 @@ INSTALLED_APPS = (
 
    'django.contrib.sessions',
 
    'django.contrib.messages',
 
    'django.contrib.staticfiles',
 
    'django_pydenticon',
 
)
 

	
 
MIDDLEWARE_CLASSES = (
testproject/testproject/urls.py
Show inline comments
 
@@ -3,10 +3,17 @@ from django.conf.urls import patterns, include, url
 
from django.contrib import admin
 
admin.autodiscover()
 

	
 
urlpatterns = patterns('',
 
# Django Pydenticon.
 
import django_pydenticon.urls
 

	
 
urlpatterns = patterns(
 
    '',
 
    # Examples:
 
    # url(r'^$', 'testproject.views.home', name='home'),
 
    # url(r'^blog/', include('blog.urls')),
 

	
 
    url(r'^admin/', include(admin.site.urls)),
 

	
 
    # URLs for Django Pydenticon.
 
    url(r'^identicon/', include(django_pydenticon.urls)),
 
)
0 comments (0 inline, 0 general)