AlexandrovRoman / Flask-DJ

Django (mvc) structure for your flask project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 startproject
from os import getcwd

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

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/
habr: https://habr.com/ru/post/491852/

About

Django (mvc) structure for your flask project

License:MIT License


Languages

Language:Python 100.0%