~widelands-dev/widelands-website/pyformat_util

« back to all changes in this revision

Viewing changes to urls.py

  • Committer: franku
  • Date: 2016-11-22 21:59:30 UTC
  • mfrom: (429.3.13 sitemap)
  • Revision ID: somal@arcor.de-20161122215930-gqvgxktsezcbo6ea
Added a sitemap.xml file

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
admin.autodiscover()
6
6
 
7
7
from mainpage.views import mainpage
8
 
 
9
8
from news.feeds import NewsPostsFeed
10
9
from django.views.generic.base import RedirectView
11
10
from django.contrib.syndication.views import Feed
12
11
from registration.backends.hmac.views import RegistrationView
13
12
from mainpage.forms import RegistrationWithCaptchaForm
14
13
 
 
14
 
15
15
urlpatterns = [
 
16
    # Creating a sitemap.xml
 
17
    url(r'^sitemap\.xml/', include('sitemap_urls')),
 
18
 
16
19
    # Uncomment the next line to enable the admin:
17
20
    url(r'^admin/', admin.site.urls),
18
 
 
 
21
    
19
22
    # Django builtin / Registration
20
23
    # overwrite registration with own implementation
21
24
    url (r'^accounts/register/$', RegistrationView.as_view(form_class=RegistrationWithCaptchaForm), name='registration_register'),