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
34d3243fcc Use RequestContext in all render_to_response()
We have {% csrf_token %} in a templates, but the context in
render_to_response() does not provide the value.

https://docs.djangoproject.com/en/1.5/ref/contrib/csrf/
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
f53aa53a6b jumper: add stub index 2011-02-06 14:15:03 +00:00
Hidden Z
83928b6dad jump/views.py: change behavior when trying to access an inactive hostname
Instead of displaying "host unknown" page, we're displaying a search
results page when hostname known to us bot not activated and don't
published in exported addressbook.
2010-12-07 20:32:46 +00:00
Hidden Z
7ce4500b9c Fix "settings" import 2010-11-04 12:43:53 +00:00
Hidden Z
6fb4d60ce6 Rename web -> pyi2phosts 2010-11-04 12:41:42 +00:00