-
Notifications
You must be signed in to change notification settings - Fork 112
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #121 from remik/django-1.9
Django 1.9 and few others
- Loading branch information
Showing
34 changed files
with
316 additions
and
351 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 |
---|---|---|
|
@@ -13,3 +13,5 @@ local_settings.py | |
pages/testproj/media/ | ||
screenshot_* | ||
*~ | ||
.tox | ||
ghostdriver.log |
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
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 |
---|---|---|
|
@@ -23,3 +23,4 @@ Evgeniy Gulitsyn | |
Cans https://github.com/cans | ||
Francesco Facconi | ||
Markus "mjtorn" Törnqvist | ||
Remigiusz Dymecki |
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
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
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
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,32 +1,32 @@ | ||
|
||
from django.conf import settings | ||
from django.conf.urls import url, include, patterns | ||
from django.conf.urls import url, include | ||
from django.conf.urls import handler404, handler500 | ||
from django.conf.urls.static import static | ||
from django.contrib import admin | ||
from pages.views import details | ||
|
||
admin.autodiscover() | ||
|
||
from django.contrib.staticfiles.urls import staticfiles_urlpatterns | ||
from django.conf.urls.static import static | ||
|
||
|
||
urlpatterns = patterns('', | ||
(r'^i18n/', include('django.conf.urls.i18n')), | ||
(r'^admin/', include(admin.site.urls)), | ||
urlpatterns = [ | ||
url(r'^i18n/', include('django.conf.urls.i18n')), | ||
url(r'^admin/', include(admin.site.urls)), | ||
#url(r'^search/', include('haystack.urls'), name='haystack_search'), | ||
) | ||
] | ||
|
||
if settings.DEBUG: | ||
urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT, show_indexes=True) | ||
#urlpatterns += static(settings.STATIC_URL, document_root=settings.STATIC_ROOT, show_indexes=True) | ||
|
||
#if settings.DEBUG: | ||
urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT, show_indexes=True) | ||
urlpatterns += static(settings.STATIC_URL, document_root=settings.STATIC_ROOT, show_indexes=True) | ||
|
||
if 'ckeditor' in settings.INSTALLED_APPS: | ||
urlpatterns += patterns('', | ||
(r'^ckeditor/', include('ckeditor.urls')), | ||
) | ||
urlpatterns += [ | ||
url(r'^ckeditor/', include('ckeditor.urls')), | ||
] | ||
|
||
urlpatterns += patterns('', | ||
urlpatterns += [ | ||
# this gonna match /admin if someone forget the traling slash | ||
(r'^', include('pages.urls')), | ||
) | ||
url(r'^', include('pages.urls')), | ||
] |
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
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
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
Oops, something went wrong.