lord63
|
e1f1af2cb0
|
Init the flask-migrate extension first
|
9 years ago |
Wagner Augusto Andreoli
|
8230fa17d5
|
Remove pylint from project, remove ipdb and ipython from requirements
|
9 years ago |
Wagner Augusto Andreoli
|
8f39add44a
|
Change string interpolation from % to .format()
|
9 years ago |
Wagner Augusto Andreoli
|
e27fa10e15
|
Add an option to use pylint after flake8, change code to conform to pylint rules
|
9 years ago |
Wagner Augusto Andreoli
|
819fd8d700
|
Fix environment variables
|
9 years ago |
Wagner Augusto Andreoli
|
2986743a8c
|
Add an option to fix imports before linting, make all code conform to the linting rules
|
9 years ago |
Wagner Augusto Andreoli
|
34c6faf630
|
Add a lint command with flake8 and isort
|
9 years ago |
Josh
|
e19ddd9976
|
Add urls and clean commands to manage.py
Two new useful commands for manage.py. `m urls` lists all URLs (like `rake routes` in Rails). `m clean` gets rid of .pyc files.
|
9 years ago |
Patman64
|
2a45b9f4ba
|
Python code clean-up (PEP-8 related and other)
- Add the UTF-8 marker to files without it.
- Fix some hanging indents.
- Change ''' into """ in docstrings.
- Enforce two blank line rule.
|
10 years ago |
Steven Loria
|
9f769fa43a
|
Update extension imports to flask_*
See mitsuhiko/flask#1135
|
10 years ago |
Steven Loria
|
d634ee6eab
|
Replace Makefile with invoke tasks.py file
|
10 years ago |
sloria
|
a8c1c5754f
|
Use pytest.main instead of shelling out
|
11 years ago |
Steven Loria
|
923b1f55e2
|
Revert User#set_password and User#check_password for Migrate compatibility
|
11 years ago |
Steven Loria
|
9851fa2974
|
Follow one test class per model convention
|
11 years ago |
Steven Loria
|
ba68f616c8
|
Port model tests to pytest
|
11 years ago |
Steven Loria
|
24fffbb7b3
|
createdb no longer necessary
|
11 years ago |
Steven Loria
|
32ae81ec35
|
Shell access to User
|
11 years ago |
Steven Loria
|
7ede47885f
|
Rename repo_name -> app_name
|
11 years ago |
Steven Loria
|
64e28cfdaa
|
Add migrations with Flask-Migrate
|
11 years ago |
Steven Loria
|
65527129f9
|
Use correct config in production
|
11 years ago |
Steven Loria
|
abda53a2f3
|
Fix Procfile
|
11 years ago |
Steven Loria
|
4aea7377a1
|
Remove env parameter from app factory function
|
11 years ago |
Steven Loria
|
3a411b4abe
|
Modular structure with blueprints
Views are all in located in the modules package, which contains blueprints
Also, use alert-warning instead of alert-error for Bootstrap3
|
11 years ago |
Steven Loria
|
24a6ea59dd
|
Fix TestCase name
Also add a test command to manage.py
|
11 years ago |
Steven Loria
|
48a6bd0c99
|
Add simple manage.py script
|
11 years ago |