Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
imwilsonxu committed Jul 24, 2017
1 parent adbb004 commit e7d5d3e
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 38 deletions.
8 changes: 8 additions & 0 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,14 @@ Pre-required Setup:
      ├── mails Mail templates
      └── user

## TODO

- Upgrade to [Python3k](https://www.python.org/download/releases/3.0/).
- User [Celery](http://celeryprojet.org), distributed task queue.
- User [Elastic Search](https://github.com/elastic/elasticsearch), Open Source, Distributed, RESTful Search Engine.
- Use [PostgreSQL](https://www.postgresql.org).
- Use [GeeTest](http://www.geetest.com), a popular CAPTCHA service in China.

## LICENSE

[MIT LICENSE](http://www.tldrlegal.com/license/mit-license)
Expand Down
4 changes: 2 additions & 2 deletions fbone/user/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ def profile():
form = ProfileForm(obj=current_user)

if form.validate_on_submit():
form.populate_obj(user)
user.update_at = get_current_time()
form.populate_obj(current_user)
current_user.update_at = get_current_time()

db.session.commit()

Expand Down
72 changes: 36 additions & 36 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,36 +1,36 @@
Fabric==1.11.1
Flask==0.11
Flask-Login==0.3.2
Flask-RESTful==0.3.5
Flask-SQLAlchemy==2.1
Flask-Testing==0.5.0
Flask-WTF==0.12
Jinja2==2.8
MarkupSafe==0.23
MySQL-python==1.2.5
SQLAlchemy==1.0.12
WTForms==2.1
Werkzeug==0.11.9
aniso8601==1.1.0
astroid==1.4.5
bcrypt==2.0.0
blinker==1.4
cffi==1.6.0
click==6.6
colorama==0.3.7
ecdsa==0.13
gunicorn==19.4.5
itsdangerous==0.24
lazy-object-proxy==1.2.2
paramiko==1.16.0
passlib==1.6.5
pycparser==2.14
pycrypto==2.6.1
pylint==1.5.5
python-dateutil==2.5.3
pytz==2016.4
requests==2.10.0
six==1.10.0
speaklater==1.3
wrapt==1.10.8
wsgiref==0.1.2
Fabric
Flask
Flask-Login
Flask-RESTful
Flask-SQLAlchemy
Flask-Testing
Flask-WTF
Jinja2
MarkupSafe
MySQL-python
SQLAlchemy
WTForms
Werkzeug
aniso8601
astroid
bcrypt
blinker
cffi
click
colorama
ecdsa
gunicorn
itsdangerous
lazy-object-proxy
paramiko
passlib
pycparser
pycrypto
pylint
python-dateutil
pytz
requests
six
speaklater
wrapt
wsgiref

0 comments on commit e7d5d3e

Please sign in to comment.