Skip to main content

Django (mvc) structure for your Flask project.

Project description

image

Flask-DJ

Since the flask has no strict architecture,
it's easy to get confused when creating a project.
This library was created to help everyone who wants to
create a project with mvc structure.

Quick start

Start project:

$ flask-dj startproject app

or

from Flask_DJ import ProjectConstructor
from os import getcwd

your_project_name = 'app'
ProjectConstructor(your_project_name, getcwd()).startproject()

New app:

python manage.py startapp {app_name}

Start server:

 python manage.py runserver

Useful links:

full docs: https://flask-dj.readthedocs.io/en/latest/

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

Flask-DJ-0.1.9.tar.gz (6.2 kB view hashes)

Uploaded Source

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