1
by Holger Rapp
Initial commit of new widelands homepage |
1 |
from django.conf.urls.defaults import * |
2 |
||
3 |
# Uncomment the next two lines to enable the admin:
|
|
4 |
from django.contrib import admin |
|
5 |
admin.autodiscover() |
|
6 |
||
13
by Holger Rapp
Start page is now / and no longer /main, fixed link in main menu |
7 |
from widelands.mainpage.views import mainpage |
8 |
||
30
by Holger Rapp
Fixed a small layout issue, added RSS feeds |
9 |
from widelands.news.feeds import NewsPostsFeed |
10 |
from widelands.wiki.feeds import RssHistoryFeed |
|
11 |
||
12 |
feeds = { |
|
13 |
'news': NewsPostsFeed, |
|
173.2.3
by Holger Rapp
Made the site compatible to django 1.1 and all the various packages |
14 |
|
30
by Holger Rapp
Fixed a small layout issue, added RSS feeds |
15 |
# Wiki has it's own set of feeds
|
16 |
}
|
|
17 |
||
1
by Holger Rapp
Initial commit of new widelands homepage |
18 |
urlpatterns = patterns('', |
19 |
# Uncomment the next line to enable the admin:
|
|
20 |
(r'^admin/', include(admin.site.urls)), |
|
5
by Holger Rapp
added registration, hacked on login |
21 |
|
11
by Holger Rapp
Imported wikiapp into our repository, because we did some local changes (users must be logged in to edit wiki pages) |
22 |
# Django builtin / Registration
|
5
by Holger Rapp
added registration, hacked on login |
23 |
(r'^accounts/logout/(next=(?P<next_page>.*))?$', 'django.contrib.auth.views.logout'), |
48.1.17
by Holger Rapp
Added recaptcha on registration site |
24 |
url (r'^accounts/register/$', 'mainpage.views.register', name='registration_register'), |
209.1.31
by Timo Wingender
Implement password change |
25 |
url(r'^accounts/changepw/$', 'django.contrib.auth.views.password_change', name="auth_change_password"), |
190
by Holger Rapp
Fixing registering... maybe |
26 |
(r'^accounts/', include('registration.backends.default.urls')), |
30
by Holger Rapp
Fixed a small layout issue, added RSS feeds |
27 |
(r'^feeds/(?P<url>.*)/$', 'django.contrib.syndication.views.feed', {'feed_dict': feeds}), |
28 |
||
17
by Holger Rapp
Main Page contains now the same informations as before |
29 |
# 3rd party, unmodified
|
30 |
(r'^notification/', include('notification.urls')), |
|
28
by Holger Rapp
Added django-messages |
31 |
# (r'^stats/', include('simplestats.urls')),
|
206
by Holger Rapp
Fixed the site. There was a number of things broken |
32 |
(r'^messages/', include('django_messages.urls')), |
182
by Holger Rapp
Reverted back to threadedcomments 0.5.2 because 0.6 is not backwards compatible and more trouble than it's worth |
33 |
(r'^threadedcomments/', include('threadedcomments.urls')), |
201
by Holger Rapp
Added support for sphinxdoc, a sphinx to django bridge |
34 |
(r'^docs/', include('sphinxdoc.urls')), |
173.2.3
by Holger Rapp
Made the site compatible to django 1.1 and all the various packages |
35 |
|
17
by Holger Rapp
Main Page contains now the same informations as before |
36 |
# 3rd party, modified for widelands
|
14
by Holger Rapp
Added notification support for wiki |
37 |
(r'^wiki/', include('wiki.urls')), |
17
by Holger Rapp
Main Page contains now the same informations as before |
38 |
(r'^news/', include('news.urls')), |
18
by Holger Rapp
Halfway added the forum. Refactored css & basic layout to get rid of this table madness |
39 |
(r'^forum/', include('pybb.urls')), |
173.2.3
by Holger Rapp
Made the site compatible to django 1.1 and all the various packages |
40 |
|
5
by Holger Rapp
added registration, hacked on login |
41 |
# WL specific:
|
13
by Holger Rapp
Start page is now / and no longer /main, fixed link in main menu |
42 |
url(r'^$', mainpage, name="mainpage"), |
117
by Holger Rapp
Bug fix with redirects. I forgot to add the '/' |
43 |
url(r'^changelog/$', "mainpage.views.changelog", name="changelog"), |
199
by Holger Rapp
Added automatic synchronization between SVN developers file and the homepage |
44 |
url(r'^developers/$', "mainpage.views.developers", name="developers"), |
32
by Holger Rapp
First version of widelands online help |
45 |
url(r'^help/', include("online_help.urls")), |
48.4.1
by Holger Rapp
Put dead ugly webchat back on page |
46 |
url(r'^webchat/', include("wlwebchat.urls")), |
50
by Holger Rapp
First (working) commit of wlimages app, the app that will handle image uploading and managing. Uploading works now; images can only be uploaded once (with the same filename). Much stil missing. |
47 |
url(r'^images/', include("wlimages.urls")), |
62.1.7
by Holger Rapp
Added support for profiles. No gravatar yet |
48 |
url(r'^profile/', include("wlprofile.urls")), |
87
by Holger Rapp
First draft version of search using the sphinx search engine |
49 |
url(r'^search/', include("wlsearch.urls")), |
99
by Holger Rapp
First draft version of wlpoll, a poll application |
50 |
url(r'^poll/', include("wlpoll.urls")), |
120
by Holger Rapp
Initital (unusable) version of wlmaps application |
51 |
url(r'^maps/', include("wlmaps.urls")), |
147
by Holger Rapp
Added a first version of a screenshot application |
52 |
url(r'^screenshots/', include("wlscreens.urls")), |
209.1.2
by timo
Add wlggz to urls and installed apps |
53 |
url(r'^ggz/', include("wlggz.urls")), |
1
by Holger Rapp
Initial commit of new widelands homepage |
54 |
)
|
2
by Holger Rapp
Slowly getting something to work |
55 |
|
56 |
try: |
|
57 |
from local_urls import * |
|
58 |
urlpatterns += local_urlpatterns |
|
59 |
except ImportError: |
|
60 |
pass
|
|
61 |