Skip to main content

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)

Uploaded Source

Built Distribution

django-startcbv-0.1.0.macosx-10.7-x86_64.exe (72.2 kB view details)

Uploaded Source

File details

Details for the file django-startcbv-0.1.0.tar.gz.

File metadata

File hashes

Hashes for django-startcbv-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ff809192d1b0806f1a672131a519fb6544b62a1d74c7928149094c721ee5dc91
MD5 6f86b3a6e58db42fd2d99d81ac72b962
BLAKE2b-256 84f658f68814ac0c20c5845f8c635270c22f2fc6903b3570e48489c7d6531b97

See more details on using hashes here.

File details

Details for the file django-startcbv-0.1.0.macosx-10.7-x86_64.exe.

File metadata

File hashes

Hashes for django-startcbv-0.1.0.macosx-10.7-x86_64.exe
Algorithm Hash digest
SHA256 5d9d1fb345256c3df2070ff534cc2b2cd40c43d6b39cb07ed1bf281a6c5d2c2b
MD5 b6207d587cea2ccb6d32c7e313d70214
BLAKE2b-256 0e054fa111d216169e53bef0e8fce7c3f10baccd0156219e62b6ebdafbcdbb43

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page