Skip to main content

Django (mvc) structure for your Flask project.

Project description

Flask-DJ

Since the flask has no strict project architecture,
it is easy for beginners to get confused when creating an application.
This library was created to help everyone who wants to create a small application.

Quick start

Install:

pip install Flask-DJ

Start app:

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:

pypi: https://pypi.org/project/Flask-DJ/
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.3.tar.gz (5.9 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