Compare commits
11 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
7d172c2f07 | ||
|
d341a81b77 | ||
|
ec140575ee | ||
|
187827d42f | ||
|
179b2b7724 | ||
|
b5aa021f8a | ||
|
3822c9b0eb | ||
|
a47c21e75e | ||
|
69956e4536 | ||
|
87e3b174d9 | ||
|
d14ec3bf26 |
1
CONTRIBUTING.md
Normal file
1
CONTRIBUTING.md
Normal file
@ -0,0 +1 @@
|
|||||||
|
The main objective of this repository is to provide an example of CRUD with Flask, maximum simplicity. If you want to add new features, please create a Fork of it and notify me of its existence so I can add it in the README as support material.
|
@ -1,7 +1,5 @@
|
|||||||
# Flask contacts
|
# Flask contacts
|
||||||
|
|
||||||
[DEMO](http://flask-contacts.programadorwebvalencia.com)
|
|
||||||
|
|
||||||
![alls](https://github.com/tanrax/flask-contacts/raw/master/screenshots/alls.jpg)
|
![alls](https://github.com/tanrax/flask-contacts/raw/master/screenshots/alls.jpg)
|
||||||
|
|
||||||
## Use
|
## Use
|
||||||
@ -30,3 +28,7 @@ python3 app.py
|
|||||||
![message](https://github.com/tanrax/flask-contacts/raw/master/screenshots/message.jpg)
|
![message](https://github.com/tanrax/flask-contacts/raw/master/screenshots/message.jpg)
|
||||||
![new](https://github.com/tanrax/flask-contacts/raw/master/screenshots/new.jpg)
|
![new](https://github.com/tanrax/flask-contacts/raw/master/screenshots/new.jpg)
|
||||||
![search](https://github.com/tanrax/flask-contacts/raw/master/screenshots/search.jpg)
|
![search](https://github.com/tanrax/flask-contacts/raw/master/screenshots/search.jpg)
|
||||||
|
|
||||||
|
## Forks with extensions
|
||||||
|
|
||||||
|
- ![Ability to attach a CSV file](https://github.com/areeburrub/flask-contacts)
|
||||||
|
@ -17,4 +17,5 @@ for num in range(100):
|
|||||||
# Save in database
|
# Save in database
|
||||||
mi_contacto = Contact(name=name, surname=surname, email=email, phone=phone)
|
mi_contacto = Contact(name=name, surname=surname, email=email, phone=phone)
|
||||||
db.session.add(mi_contacto)
|
db.session.add(mi_contacto)
|
||||||
db.session.commit()
|
|
||||||
|
db.session.commit()
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
Faker==0.7.11
|
Faker==0.7.11
|
||||||
Flask==0.12.1
|
Flask==2.0.3
|
||||||
Flask-SQLAlchemy==2.2
|
Flask-SQLAlchemy==2.5.1
|
||||||
Flask-WTF==0.14.2
|
Flask-WTF==0.14.3
|
||||||
gunicorn
|
gunicorn
|
||||||
|
Werkzeug==2.0.3
|
||||||
|
Jinja2==3.0.0
|
||||||
|
email_validator
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
<span class="icon-bar"></span>
|
<span class="icon-bar"></span>
|
||||||
<span class="icon-bar"></span>
|
<span class="icon-bar"></span>
|
||||||
</button>
|
</button>
|
||||||
<a class="navbar-brand" href="#">Contact Manager</a>
|
<a class="navbar-brand" href="/">Contact Manager</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
|
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
|
||||||
<form action="{{ url_for('search') }}" method="get" class="navbar-form navbar-left">
|
<form action="{{ url_for('search') }}" method="get" class="navbar-form navbar-left">
|
||||||
|
Loading…
Reference in New Issue
Block a user