Skip to main content

templer.django-project-app

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.

Metadata

Release files for templer.django-project-app 1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for templer.django-project-app 1.2
File Size Uploaded Provenance Actions
templer.django-project-app-1.2.tar.gz 7.1 kB Without provenance Details for templer.django-project-app-1.2.tar.gz

Release files / templer.django-project-app-1.2.tar.gz

Download URL templer.django-project-app-1.2.tar.gz
Size 7.1 kB
Tags Source
SHA-256 checksum
How to use checksums
b0f8478f474315880d3b53a713c9a1bce27f053acbce78c80ae0512df444c413
BLAKE2b-256 checksum
How to use checksums
1eee3e49ed362d62b6d6fe0adb0792ca0bf71fc68366c8d2c90cf5373c5fbb48
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for templer.django-project-app 1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page