Commit f9900533 authored by Isaias Santana's avatar Isaias Santana

Adicionando model para clientes

parent 13414c48
# Generated by Django 2.0.1 on 2018-01-16 11:34
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('core', '0001_initial'),
]
operations = [
migrations.AddField(
model_name='cliente',
name='email',
field=models.EmailField(default='isaiassantan301@gmail.com', max_length=70),
preserve_default=False,
),
migrations.AddField(
model_name='cliente',
name='password',
field=models.CharField(default='123456', max_length=20),
preserve_default=False,
),
]
......@@ -6,6 +6,8 @@ class Cliente(models.Model):
"""Model definition for Cliente."""
domain_name = models.CharField(max_length=50)
email = models.EmailField(max_length=70)
password = models.CharField(max_length=20)
class Meta:
"""Meta definition for Cliente."""
......
DEBUG=True
DATABASE_URL=postgres://postgres:pamonha123@localhost/diario_manager
DATABASE_URL=postgres://postgres:123456@localhost/diario_manager
SECRET_KEY='=b+8s@l*rnqjd*=1rrsp!op82-qcgubm6oysex+thbu1+myen-'
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment