1
0
mirror of https://github.com/r4sas/py-i2phosts synced 2025-01-09 06:18:05 +00:00
Commit Graph

7 Commits

Author SHA1 Message Date
Hidden Z
154eb7f7c2 Replace deprecated imports with actual
django.conf.urls.defaults is deprecated since django 1.5

old: from django.conf.urls.defaults import *
new: from django.conf.urls import *
2013-09-27 18:19:49 +00:00
Hidden Z
43bcfec7ed Fix settings import
According to django 1.5 documentation, settings should be imported as
>>> from django.conf import settings
2013-09-27 18:19:49 +00:00
Hidden Z
76ee7dbd0e Migrate all function-based generic views to a class-based views 2011-12-23 18:56:47 +00:00
Hidden Z
12f33be276 Add names for rss urls 2011-02-17 17:29:52 +00:00
Hidden Z
ba5ae8decc pyi2phosts/latest/urls.py: enable rss feed for latest hosts 2011-02-16 19:01:02 +00:00
Hidden Z
96a3e480dc pyi2phosts/latest/views.py: move queryset to separate function
I'll use it later from another place.
2011-02-16 18:58:05 +00:00
Hidden Z
d7d032d940 Move latest generic view to separate view
This should fix problem with datetime.datetime.utcnow() evaluation
caching in queryset.
2010-11-26 19:24:02 +00:00