Management command to start an app with class-based views.
Project description
Installation
TODO: package this up. At some point it will be:
Add django-startcbv==0.1 to requirements.txt pip install -r requirements.txt
Usage
For all of the following steps, replace “things” with the name of the app that you wish to create:
python manage.py startcbv things
Add your “things” app to INSTALLED_APPS in settings.py:
INSTALLED_APPS = ( ... 'things', )
Add your “things” app URL pattern to urls.py:
url(r'^things/', include('things.urls')),
Then:
python manage.py syncdb python manage.py runserver
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
django-startcbv-0.1.0.tar.gz
(12.2 kB
view details)
Built Distribution
File details
Details for the file django-startcbv-0.1.0.tar.gz
.
File metadata
- Download URL: django-startcbv-0.1.0.tar.gz
- Upload date:
- Size: 12.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff809192d1b0806f1a672131a519fb6544b62a1d74c7928149094c721ee5dc91 |
|
MD5 | 6f86b3a6e58db42fd2d99d81ac72b962 |
|
BLAKE2b-256 | 84f658f68814ac0c20c5845f8c635270c22f2fc6903b3570e48489c7d6531b97 |
File details
Details for the file django-startcbv-0.1.0.macosx-10.7-x86_64.exe
.
File metadata
- Download URL: django-startcbv-0.1.0.macosx-10.7-x86_64.exe
- Upload date:
- Size: 72.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d9d1fb345256c3df2070ff534cc2b2cd40c43d6b39cb07ed1bf281a6c5d2c2b |
|
MD5 | b6207d587cea2ccb6d32c7e313d70214 |
|
BLAKE2b-256 | 0e054fa111d216169e53bef0e8fce7c3f10baccd0156219e62b6ebdafbcdbb43 |