from django.conf.urls import patterns, url, include
from rango import views
from django.conf import settings 
from django.conf.urls.static import static 
from django.contrib.staticfiles.urls import staticfiles_urlpatterns


urlpatterns = patterns('',
    url(r'^$', views.index, name='index'),
)

if settings.DEBUG:
    urlpatterns += patterns(
        'django.views.static',
        (r'^media/(?P<path>.*)',
        'serve',
        {'document_root': settings.MEDIA_ROOT}), 
    )

if not settings.DEBUG:
    urlpatterns += static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)
urlpatterns += staticfiles_urlpatterns()
4680edbd883ec5a73ca133dc6a52964117d86045
<mask token>

<mask token>
if settings.DEBUG:
    urlpatterns += patterns('django.views.static', ('^media/(?P<path>.*)',
        'serve', {'document_root': settings.MEDIA_ROOT}))
if not settings.DEBUG:
    urlpatterns += static(settings.STATIC_URL, document_root=settings.
        STATIC_ROOT)
urlpatterns += staticfiles_urlpatterns()

<mask token>
urlpatterns = patterns('', url('^$', views.index, name='index'))
if settings.DEBUG:
    urlpatterns += patterns('django.views.static', ('^media/(?P<path>.*)',
        'serve', {'document_root': settings.MEDIA_ROOT}))
if not settings.DEBUG:
    urlpatterns += static(settings.STATIC_URL, document_root=settings.
        STATIC_ROOT)
urlpatterns += staticfiles_urlpatterns()

from django.conf.urls import patterns, url, include
from rango import views
from django.conf import settings
from django.conf.urls.static import static
from django.contrib.staticfiles.urls import staticfiles_urlpatterns
urlpatterns = patterns('', url('^$', views.index, name='index'))
if settings.DEBUG:
    urlpatterns += patterns('django.views.static', ('^media/(?P<path>.*)',
        'serve', {'document_root': settings.MEDIA_ROOT}))
if not settings.DEBUG:
    urlpatterns += static(settings.STATIC_URL, document_root=settings.
        STATIC_ROOT)
urlpatterns += staticfiles_urlpatterns()

from django.conf.urls import patterns, url, include
from rango import views
from django.conf import settings 
from django.conf.urls.static import static 
from django.contrib.staticfiles.urls import staticfiles_urlpatterns


urlpatterns = patterns('',
    url(r'^$', views.index, name='index'),
)

if settings.DEBUG:
    urlpatterns += patterns(
        'django.views.static',
        (r'^media/(?P<path>.*)',
        'serve',
        {'document_root': settings.MEDIA_ROOT}), 
    )

if not settings.DEBUG:
    urlpatterns += static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)
urlpatterns += staticfiles_urlpatterns()