Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

Templer extension for creating Django applications within projects.

Project description

Introduction

This package extends the functionality of the templer code generation system. It builds upon the functionality of templer.core, and depends on that package.

Templer.django-project-app provides basic support for creating Django applications within an existing project like the startproject command but in a more useful way.

Getting the code

For the latest stable version of the package use easy_install or pip:

$ easy_install templer.django-project-app
$ pip install templer.django-project-app

You could also retrieve the development version of the module like this:

$ pip install -e git://github.com/Fantomas42/templer.django-project-app.git#egg=templer.django-project-app

Creating applications

As with the parent package, templer.core, creating packages using templer.django-project-app template is accomplished by using the templer script. The script is invoked thus:

$ templer django_project_app

This will create a basic application skeleton related to your project, containing the models.py, urls.py and views.py which may be edited to taste.

If your application is not located within a project, you can also use the script but with a different template name, like this:

$ templer django_app

Changelog

1.2

  • Add django_app template for application created outside projects.

1.1

  • Pep8 on the code.
  • Fix model’s meta verbose names.

1.0

  • Using class-based views.
  • Adding structure for management commands.
  • Completing the default model and admin classes.

0.1.1

  • Creation of a tests.py file.
  • The model name is now configurable.
  • Rename project var to project_root.
  • Add a post run message with instructions for installing the new created applications.

0.1

  • Porting the code of the unreleased paster.django_project_application to templer.django-project-app.

Project details


Release history Release notifications

This version
History Node

1.2

History Node

1.1

History Node

1.0

History Node

0.1.1

History Node

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
templer.django-project-app-1.2.tar.gz (7.1 kB) Copy SHA256 hash SHA256 Source None Nov 14, 2013

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page