Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- albert@tugushev:~$ tree project
- project
- ├── apps
- │ ├── __init__.py
- │ └── myapp
- │ ├── admin.py
- │ ├── __init__.py
- │ ├── models.py
- │ ├── tests.py
- │ ├── urls.py
- │ └── views.py
- ├── manage.py
- └── projectname
- ├── __init__.py
- ├── settings.py
- ├── urls.py
- └── wsgi.py
- 3 directories, 12 files
- albert@tugushev:~$ cat project/projectname/urls.py
- from django.conf.urls import patterns, include, url
- from django.contrib import admin
- admin.autodiscover()
- urlpatterns = patterns('',
- # Examples:
- # url(r'^$', 'projectname.views.home', name='home'),
- # url(r'^blog/', include('blog.urls')),
- url(r'^admin/', include(admin.site.urls)),
- url(r'', include('apps.myapp.urls')),
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement