Hidden Z
76ee7dbd0e
Migrate all function-based generic views to a class-based views
13 years ago
Hidden Z
a15bfb9cfa
Replace direct_to_template generic view with class-based TemplateView
...
This is done as a part of migration to django 1.3. See
https://docs.djangoproject.com/en/1.3/topics/generic-views-migration/
for additional info.
13 years ago
Hidden Z
918570cf9e
Enable i18n
14 years ago
Hidden Z
12f33be276
Add names for rss urls
14 years ago
Hidden Z
2582283863
pyi2phosts/urls.py: fix including of /latest/
14 years ago
Hidden Z
dc919135cc
Implement RSS export for all active hosts
...
KwukDuck asked me for RSS for using it with LiveBookmarks firefox
plugin in his portable I2P package.
14 years ago
Hidden Z
d7d032d940
Move `latest` generic view to separate view
...
This should fix problem with datetime.datetime.utcnow() evaluation
caching in queryset.
14 years ago
Hidden Z
efa9397a9c
Revert "pyi2phosts/urls.py: use separate functions to get dates"
...
This reverts commit 3c193bcdc3
.
This patch doesn't solves the problem. We need django 1.3 or workaround
like described here:
http://pascut.com/2008/08/16/django-generic-views-cache-behavior/
14 years ago
Hidden Z
3c193bcdc3
pyi2phosts/urls.py: use separate functions to get dates
...
We need to get current date and start date every time when /latest/
requested. Before this dates were evaluated only at webserver startup so
newly added and activated hosts weren't can be appeared in /latest/.
14 years ago
Hidden Z
48ce4ba473
Move {days,hosts}_count from urls to settings
14 years ago
Hidden Z
0117ec7014
Add initial search app
14 years ago
Hidden Z
e4f7bdd104
pyi2phosts/urls.py: add FIXME note
14 years ago
Hidden Z
e346df0481
pyi2phosts/urls.py: add generic view for browsing latest hosts
14 years ago
Hidden Z
0806c2ffb0
pyi2phosts/urls.py: pass title to "browse" page
14 years ago
Hidden Z
92098bf0c7
Enable pagination in hosts browsing
14 years ago
Hidden Z
ad77aebe4f
pyi2phosts/urls.py: add ordering for hosts browsing
14 years ago
Hidden Z
e3025b02e9
webinterface: add hosts browsing page
14 years ago
Hidden Z
30a856fdf9
pyi2phosts/urls.py: use list_detail.object_list for /faq/ url
...
It is more suitable for this case.
14 years ago
Hidden Z
82b77b8b51
pyi2phosts/urls.py: use callable to get external sources
...
Needed for prevent queryset caching.
http://docs.djangoproject.com/en/1.2/topics/generic-views/#adding-extra-context
14 years ago
Hidden Z
bd7417f900
Implement index view throught django generic views
14 years ago
Hidden Z
12bedec93e
pyi2phosts/urls.py: add faq pattern using django generic views
14 years ago
Hidden Z
2e5ba8d88d
pyi2phosts/urls.py: allow django to serve static files when debug enabled
14 years ago
Hidden Z
6fb4d60ce6
Rename web -> pyi2phosts
14 years ago
Hidden Z
f63768095d
Revert "web: avoid importing or accessing modules using "web.*""
...
This reverts commit d50bb7a66f
.
Conflicts:
web/settings.py
Do imports from pyi2phosts.*
14 years ago
Hidden Z
d50bb7a66f
web: avoid importing or accessing modules using "web.*"
14 years ago
Hidden Z
a2901385d9
web/urls.py: add urlpattern for site-index
14 years ago
Hidden Z
d7dce40818
Add jumpservice implementation
14 years ago
Hidden Z
99e607fd1b
Import initial django project files
14 years ago