from django.conf.urls import patterns, include, url
from sitemap import SitemapForum, SitemapTopic
from django.conf import settings
from django.conf.urls.static import static

# from forms import RegistrationFormUtfUsername
#from djangobb_forum import settings as forum_settings

# Uncomment the next two lines to enable the admin:
from django.contrib import admin
admin.autodiscover()

sitemaps = {
    'forum': SitemapForum,
    'topic': SitemapTopic,
}

urlpatterns = patterns('',
    # Examples:

    # Uncomment the admin/doc line below to enable admin documentation:
    url(r'^admin/doc/', include('django.contrib.admindocs.urls')),

    # Uncomment the next line to enable the admin:
    url(r'^admin/', include(admin.site.urls)),
    # Apps
    url(r'^', include('torpedo_main.urls')),
    url(r'^statistics', include('statistics.urls')),

    # Sitemap
    (r'^sitemap.xml$', 'django.contrib.sitemaps.views.sitemap', {'sitemaps': sitemaps}),

    # Apps
    (r'^forum/', include('djangobb_forum.urls', namespace='djangobb')),
    #(r'^messages/', include('django_messages.urls')),
    (r'^feeds/', include('feedjack.urls')),
    (r'^events/', include('events.urls')),
    # Zinnia blog
    url(r'^weblog/', include('zinnia.urls')),
    url(r'^comments/', include('django.contrib.comments.urls')),) 

if settings.SERVE_MEDIA:
    urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)

2740a67a0b14815eb373510cda467b9fc745578e
<mask token>

<mask token>
admin.autodiscover()
<mask token>
if settings.SERVE_MEDIA:
    urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT
        )

<mask token>
admin.autodiscover()
sitemaps = {'forum': SitemapForum, 'topic': SitemapTopic}
urlpatterns = patterns('', url('^admin/doc/', include(
    'django.contrib.admindocs.urls')), url('^admin/', include(admin.site.
    urls)), url('^', include('torpedo_main.urls')), url('^statistics',
    include('statistics.urls')), ('^sitemap.xml$',
    'django.contrib.sitemaps.views.sitemap', {'sitemaps': sitemaps}), (
    '^forum/', include('djangobb_forum.urls', namespace='djangobb')), (
    '^feeds/', include('feedjack.urls')), ('^events/', include(
    'events.urls')), url('^weblog/', include('zinnia.urls')), url(
    '^comments/', include('django.contrib.comments.urls')))
if settings.SERVE_MEDIA:
    urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT
        )

from django.conf.urls import patterns, include, url
from sitemap import SitemapForum, SitemapTopic
from django.conf import settings
from django.conf.urls.static import static
from django.contrib import admin
admin.autodiscover()
sitemaps = {'forum': SitemapForum, 'topic': SitemapTopic}
urlpatterns = patterns('', url('^admin/doc/', include(
    'django.contrib.admindocs.urls')), url('^admin/', include(admin.site.
    urls)), url('^', include('torpedo_main.urls')), url('^statistics',
    include('statistics.urls')), ('^sitemap.xml$',
    'django.contrib.sitemaps.views.sitemap', {'sitemaps': sitemaps}), (
    '^forum/', include('djangobb_forum.urls', namespace='djangobb')), (
    '^feeds/', include('feedjack.urls')), ('^events/', include(
    'events.urls')), url('^weblog/', include('zinnia.urls')), url(
    '^comments/', include('django.contrib.comments.urls')))
if settings.SERVE_MEDIA:
    urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT
        )

from django.conf.urls import patterns, include, url
from sitemap import SitemapForum, SitemapTopic
from django.conf import settings
from django.conf.urls.static import static

# from forms import RegistrationFormUtfUsername
#from djangobb_forum import settings as forum_settings

# Uncomment the next two lines to enable the admin:
from django.contrib import admin
admin.autodiscover()

sitemaps = {
    'forum': SitemapForum,
    'topic': SitemapTopic,
}

urlpatterns = patterns('',
    # Examples:

    # Uncomment the admin/doc line below to enable admin documentation:
    url(r'^admin/doc/', include('django.contrib.admindocs.urls')),

    # Uncomment the next line to enable the admin:
    url(r'^admin/', include(admin.site.urls)),
    # Apps
    url(r'^', include('torpedo_main.urls')),
    url(r'^statistics', include('statistics.urls')),

    # Sitemap
    (r'^sitemap.xml$', 'django.contrib.sitemaps.views.sitemap', {'sitemaps': sitemaps}),

    # Apps
    (r'^forum/', include('djangobb_forum.urls', namespace='djangobb')),
    #(r'^messages/', include('django_messages.urls')),
    (r'^feeds/', include('feedjack.urls')),
    (r'^events/', include('events.urls')),
    # Zinnia blog
    url(r'^weblog/', include('zinnia.urls')),
    url(r'^comments/', include('django.contrib.comments.urls')),) 

if settings.SERVE_MEDIA:
    urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
