Skip to main content

Management command to start an app with class-based views.

Project description

Installation

Add django-startcbv==0.1 to requirements.txt, then just:

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

License

This code is licensed under the MIT License.

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.2.tar.gz (12.3 kB view details)

Uploaded Source

Built Distribution

django-startcbv-0.2.macosx-10.7-x86_64.exe (72.3 kB view details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for django-startcbv-0.2.tar.gz
Algorithm Hash digest
SHA256 3d44f43f094b23ea00037eb7f7b0aaa405ac15df3455b2a04e93bb95def6e017
MD5 06cf94b05c1f1f875473faba69c44114
BLAKE2b-256 0fb2ebafbef926cfe00441fc44346337bfa3e817076f89dc373befcbf6896344

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django-startcbv-0.2.macosx-10.7-x86_64.exe
Algorithm Hash digest
SHA256 b473a2f5a6902ceaa09b102acf88585b39dd23977ffae4afe616358880f190d4
MD5 a8b9bb46019323aff069f784041517fb
BLAKE2b-256 904b577dc363dbd1ef5e99713b3250cb411c39be8d22a12e3853d85600a2ac1d

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