skip to navigation
skip to content

django-startcbv 0.2.3

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


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

pip install -r requirements.txt


Create a base.html template in templates/base.html. It should contain a title and a content block, like this:

{% block title %}{% endblock %}

{% block content %}{% endblock %}

Add the “startcbv” app to INSTALLED_APPS in


For all of the following steps, replace “things” with the name of the app that you wish to create:

python startcbv things

If you’re done using startcbv, you can remove it from INSTALLED_APPS now; otherwise, leave it in to create more class-based view apps. Add your “things” app to INSTALLED_APPS in


Add your “things” app URL pattern to

url(r'^things/', include('things.urls')),


python syncdb
python runserver


This code is licensed under the MIT License.

File Type Py Version Uploaded on Size
django-startcbv-0.2.3.macosx-10.7-x86_64.exe (md5) MS Windows installer any 2011-10-22 71KB
django-startcbv-0.2.3.tar.gz (md5) Source 2011-10-22 12KB
  • Downloads (All Versions):
  • 12 downloads in the last day
  • 138 downloads in the last week
  • 737 downloads in the last month