Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
settings cleanup & media skeleton
- Loading branch information
1 parent
bab049c
commit daf2aef
Showing
7 changed files
with
36 additions
and
100 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
*.pyc | ||
*~ | ||
*.orig | ||
local_settings.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,13 @@ | ||
# -*- coding: utf-8 -*- | ||
from django.conf.urls.defaults import patterns, include, url | ||
|
||
# Uncomment the next two lines to enable the admin: | ||
# from django.contrib import admin | ||
# admin.autodiscover() | ||
from django.conf import settings | ||
|
||
urlpatterns = patterns('', | ||
# Examples: | ||
# url(r'^$', 'linky.views.home', name='home'), | ||
# url(r'^linky/', include('linky.foo.urls')), | ||
|
||
# Uncomment the admin/doc line below to enable admin documentation: | ||
# url(r'^admin/doc/', include('django.contrib.admindocs.urls')), | ||
|
||
# Uncomment the next line to enable the admin: | ||
# url(r'^admin/', include(admin.site.urls)), | ||
) | ||
|
||
# old school MEDIA | ||
if settings.DEBUG: | ||
urlpatterns += patterns('', | ||
(r'^(static)/(?P<path>.*)$', 'django.views.static.serve', | ||
{'document_root': settings.MEDIA_ROOT}), | ||
) |