saving new users file

This commit is contained in:
2022-03-14 14:52:14 -05:00
parent e25e773906
commit 444b82cdcc
6 changed files with 49 additions and 3 deletions
+1 -3
View File
@@ -4,9 +4,7 @@ from django.contrib.auth.models import User
class Smug_Users(models.Model):
user = models.OneToOneField(User, on_delete=models.CASCADE)
first_name = models.CharField(max_length=256)
last_name = models.CharField(max_length=256)
business_name = models.CharField(max_length=256)
business_owner = models.BooleanField()
business_owner = models.BooleanField(default=False)
+20
View File
@@ -0,0 +1,20 @@
[
{
"image_tag_name": "landscape"
},
{
"image_tag_name": "portrait"
},
{
"image_tag_name": "night"
},
{
"image_tag_name": "high key"
},
{
"image_tag_name": "family"
},
{
"image_tag_name": "wedding"
}
]
@@ -0,0 +1,3 @@
[
]
+5
View File
@@ -0,0 +1,5 @@
[
{
"file_name":""
}
]
+20
View File
@@ -0,0 +1,20 @@
[
{
"first name":"Nate",
"last name":"Lubbe",
"business name":"Going-to-the-Sun Photography",
"business owner": false
},
{
"first name":"Ansel",
"last name":"Adams",
"business name":"Going-to-the-Sun Photography",
"business owner": true
},
{
"first name":"Chris",
"last name":"Cotuna",
"business name":"Going-to-the-Sun Photography",
"business owner": false
}
]