registration page and such
This commit is contained in:
@@ -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
|
||||
|
@@ -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
|
Reference in New Issue
Block a user