matthewblain
089c3c265a
Switch CSRF token rendering mechanism.
...
Switch Register CSRF protect from form.hidden_tag to input hidden
value=csrf_token.
I don't understand why this is necessary, as form.hidden_tag works
elsewhere--this may be a symptom of an aliasing issue. However, it was
the solution applied to fix login in a previous commit as described in
https://github.com/sloria/cookiecutter-flask/issues/34 .
9 years ago
Christian Stade-Schuldt
045800f366
update Bootstrap to 3.3.6
9 years ago
Christian Stade-Schuldt
7a2780a534
update font awesome to 4.5.0
9 years ago
Steven Loria
aa85bcee59
Update invoke version; run lint command for app's travis builds
9 years ago
Steven Loria
796d955cda
Run lint command when testing the cookiecutter
9 years ago
Steven Loria
77c0b4e657
Update stale Python requirements
9 years ago
Guilherme M. Trein
8577dc7fd6
Enable CSRF protection
...
- CSRF is enabled by default for login form
- This commit resolves issue #34
9 years ago
Ian Dees
d64b458042
Update README.rst
...
Fixes https://github.com/sloria/cookiecutter-flask/issues/62
9 years ago
lord63
e1f1af2cb0
Init the flask-migrate extension first
9 years ago
allexeye
1bd13c7e5b
fix db fixture for model tests
9 years ago
Nur Faizin
713cdc5aa0
Add psycopg2 to production requirements
9 years ago
Wagner Augusto Andreoli
d6f1f5c2cc
Travis: Migrating from legacy to container-based infrastructure
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
720ead02d3
Add flake8, isort and ipython to the dev requirements file
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
Wagner Augusto Andreoli
5c565ec214
Remove editor-generated files from .gitignore
9 years ago
Wagner Augusto Andreoli
34b1750122
Fix for ValueError: Invalid rounds
9 years ago
Wagner Augusto Andreoli
88d8ee69b7
Update requirements, pin modules to the latest version, plus two small fixes
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
Vividh S Viswanatha
649a694f8a
Update extension imports to flask_*
...
See mitsuhiko/flask#1135
9 years ago
Chris Reade
59720b1ff0
only ignoring the env directory to avoid conflicts with alembic's env.py
10 years ago
Chris Reade
39499e42ec
Fix typo in generated README.rst
10 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
Patman64
88ae10f611
Fix ScopeMismatch error when testing
...
The `testapp` fixture depends on the `app` fixture, but the `app` fixture's
scope was redefined as 'function' in commit 35c32e, which is narrower than
the scope of `testapp` ('session').
Since `testapp` only depends only on `app`, it is safe to make it's scope match
`app`.
10 years ago
Anton Burnashev
e465337856
Update LICENSE
10 years ago
Steven Loria
1e7763796d
Upgrade bootstrap and jquery
10 years ago
Steven Loria
85943e05a6
Update stale requirements
...
Werkzeug, Flask-WTF, WTForms, Flask-Bcrypt, Flask-DebugToolbar
10 years ago
Steven Loria
9f769fa43a
Update extension imports to flask_*
...
See mitsuhiko/flask#1135
10 years ago
Ben Smithgall
682f4629e6
Fix breaking change from Flask-Migrate
...
Flask-Migrate was recently patched to version 1.3.1 because [alembic versions can now include parts that are not integers](https://github.com/miguelgrinberg/Flask-Migrate/pull/51 ).
Requiring Flask-Migrate 1.3.0 installs a version of alembic that results in the following error message on startup:
`ValueError: invalid literal for int() with base 10: 'post2'`
Changing the requirements to install Flask-Migrate 1.3.1 fixes this problem.
10 years ago
Steven Loria
009f4641cf
Further clarification in README
10 years ago
Matt--
0da297ef16
Update README.rst
...
Fix formatting errors.
10 years ago
Matt--
63263ead84
Update README.rst
...
New User. No database installed yet and the Welcome page does not require a database to demonstrate the server is working and links work etc. I anticipate setting up SQLAlchemy is the next step.
10 years ago
Matt--
06044d1675
Update README.rst
...
New user, had to experiment/google to figure out no-white-space in blah='stuff'.
10 years ago
Kevan Ahlquist
302efd0162
Moved DebugToolbar to prod requirements to prevent import error.
10 years ago
Steven Loria
f636880638
Update stale requirements
10 years ago
Steven Loria
d634ee6eab
Replace Makefile with invoke tasks.py file
10 years ago
Christian Stade-Schuldt
23bbed7e41
updated requirements to latest version
10 years ago
sloria
91b4865140
Update bower requirements
10 years ago
sloria
e4fd7b0553
Update stale requirements
10 years ago
sloria
ccf58472c8
Fix travis.yml; use py.test and install dev-requirements
...
Fixes #25
10 years ago
sloria
e589ec1d92
Add abstract base factory
11 years ago
sloria
8412376285
Add compat.py and fix Python 3 error
11 years ago
sloria
a8c1c5754f
Use pytest.main instead of shelling out
11 years ago
sloria
e14468e8fa
Update dependencies
11 years ago
sloria
b0ef2aedb8
Remove unused base factory class
11 years ago
sloria
4179245939
Update tests for factory-boy>=2.4.0
...
[fixes #23 ]
11 years ago