fnp
/
django-migdal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
6f42e02
)
new style for urlpatterns
0.5.2
author
Jan Szejko
<janek37@gmail.com>
Tue, 28 Mar 2017 15:02:25 +0000
(17:02 +0200)
committer
Jan Szejko
<janek37@gmail.com>
Tue, 28 Mar 2017 15:02:25 +0000
(17:02 +0200)
migdal/urls.py
patch
|
blob
|
history
setup.py
patch
|
blob
|
history
diff --git
a/migdal/urls.py
b/migdal/urls.py
index
efe67c9
..
8428c9d
100644
(file)
--- a/
migdal/urls.py
+++ b/
migdal/urls.py
@@
-3,7
+3,7
@@
# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
#
from django.conf import settings
# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
#
from django.conf import settings
-from django.conf.urls import
patterns,
url
+from django.conf.urls import url
from django.utils.translation import ugettext_lazy as _
from django.utils.translation import string_concat
from migdal import feeds, app_settings
from django.utils.translation import ugettext_lazy as _
from django.utils.translation import string_concat
from migdal import feeds, app_settings
@@
-48,10
+48,10
@@
urlpatterns = i18n_patterns(
if 'django.contrib.sitemaps' in settings.INSTALLED_APPS:
if 'django.contrib.sitemaps' in settings.INSTALLED_APPS:
+ import django.contrib.sitemaps.views
from .sitemap import sitemaps
from .sitemap import sitemaps
- urlpatterns += patterns(
- '',
- url(r'^sitemap\.xml$', 'django.contrib.sitemaps.views.sitemap', {
+ urlpatterns += (
+ url(r'^sitemap\.xml$', django.contrib.sitemaps.views.sitemap, {
'sitemaps': sitemaps
}),
)
'sitemaps': sitemaps
}),
)
diff --git
a/setup.py
b/setup.py
index
317ca68
..
0d5a48f
100755
(executable)
--- a/
setup.py
+++ b/
setup.py
@@
-23,7
+23,7
@@
def whole_trees(package_dir, paths):
setup(
name='django-migdal',
setup(
name='django-migdal',
- version='0.5.
1
',
+ version='0.5.
2
',
author='Radek Czajka',
author_email='radoslaw.czajka@nowoczesnapolska.org.pl',
url='',
author='Radek Czajka',
author_email='radoslaw.czajka@nowoczesnapolska.org.pl',
url='',