registration page and such

This commit is contained in:
Elijah Lucian
2021-07-15 16:08:21 -06:00
parent 83fdd5b79a
commit 3f9b05b1dd
5 changed files with 55 additions and 38 deletions

View File

@@ -19,8 +19,15 @@ class Command(BaseCommand):
email="tanner@westwinds.io",
password="toffee15").save()
self.stdout.write(User.objects.all())
self.stdout.write('Users Created!')
Account.objects.all().delete()
home = Account()
home = Account(name="home", details="home stacks",
income=4000, expenses=2000)
self.stdout.write(Account.objects.all().count())
self.stdout.write('Accounts Created!')
# create seed accounts
# Home Account
# $3000

View File

@@ -1,5 +1,5 @@
python manage.py migrate
python manage.py createsuperuser --email admin@example.com --username admin
python manage.py makemigrations
python manage.py migrate
python manage.py seed
python manage.py seed
python manage.py createsuperuser --email admin@example.com --username admin