<filename>gocms/urls.py<gh_stars>0

from django.conf.urls import patterns, include, url
from views import *
# Uncomment the next two lines to enable the admin:
# from django.contrib import admin
# admin.autodiscover()
urlpatterns = patterns('',
    # Examples:
    # url(r'^$', 'xxx.views.home', name='home'),
    # url(r'^xxx/', include('xxx.foo.urls')),
    # 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)),
    ('^$', index),
    ('^index/$', index),

    ('^added/$', added),
    
    ('^customers/$', customers),
    ('^customer_add/$', customer_add),
    ('^customer_del/$', customer_del),
    ('^customer_update/$', customer_update),

    ('^customer_infos/$', customer_infos),
    ('^info_add/$', info_add),
    ('^info_del/$', info_del),
    ('^info_update/$', info_update),


    ('^loginpage/$', loginpage),
    ('^registerpage/$', registerpage),
    ('^login/$', login),
    ('^logout/$', logout),
    ('^register/$', register),

    
)
# This will work if DEBUG is True
from django.contrib.staticfiles.urls import staticfiles_urlpatterns
urlpatterns += staticfiles_urlpatterns()

<filename>gocms/urls.py<gh_stars>0

from django.conf.urls import patterns, include, url
from views import *
# Uncomment the next two lines to enable the admin:
# from django.contrib import admin
# admin.autodiscover()
urlpatterns = patterns('',
    # Examples:
    # url(r'^$', 'xxx.views.home', name='home'),
    # url(r'^xxx/', include('xxx.foo.urls')),
    # 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)),
    ('^$', index),
    ('^index/$', index),

    ('^added/$', added),
    
    ('^customers/$', customers),
    ('^customer_add/$', customer_add),
    ('^customer_del/$', customer_del),
    ('^customer_update/$', customer_update),

    ('^customer_infos/$', customer_infos),
    ('^info_add/$', info_add),
    ('^info_del/$', info_del),
    ('^info_update/$', info_update),


    ('^loginpage/$', loginpage),
    ('^registerpage/$', registerpage),
    ('^login/$', login),
    ('^logout/$', logout),
    ('^register/$', register),

    
)
# This will work if DEBUG is True
from django.contrib.staticfiles.urls import staticfiles_urlpatterns
urlpatterns += staticfiles_urlpatterns()

# Uncomment the next two lines to enable the admin: # from django.contrib import admin # admin.autodiscover() # Examples: # url(r'^$', 'xxx.views.home', name='home'), # url(r'^xxx/', include('xxx.foo.urls')), # 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)), # This will work if DEBUG is True