Skip to content

pdm-project/template-django

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django Project Template

This is a basic template Django project using the latest template feature introduced in PDM 2.8.0.

pdm-managed Django Badge

Use this template

$ pdm init django

Or create a new project at the given path:

$ pdm init -p django_project django

Visit https://localhost:8000 to see the welcome page.

Development

Create a new app:

$ pdm run manage.py startapp <app_name>

Migrate DB:

$ pdm migrate

Start development server:

$ pdm start

Call other manage.py commands:

$ pdm run manage.py <command> [options]

License

This project is licensed under the terms of the MIT license.