diff --git a/photoapp/migrations/0017_auto_20210130_1810.py b/photoapp/migrations/0017_auto_20210130_1810.py new file mode 100644 index 0000000..63a3d31 --- /dev/null +++ b/photoapp/migrations/0017_auto_20210130_1810.py @@ -0,0 +1,20 @@ +# Generated by Django 2.0.2 on 2021-01-30 12:40 + +import datetime +from django.db import migrations, models +from django.utils.timezone import utc + + +class Migration(migrations.Migration): + + dependencies = [ + ('photoapp', '0016_auto_20210125_1053'), + ] + + operations = [ + migrations.AlterField( + model_name='comment', + name='date', + field=models.DateTimeField(default=datetime.datetime(2021, 1, 30, 12, 40, 28, 822719, tzinfo=utc)), + ), + ] diff --git a/photoapp/migrations/0018_auto_20210130_1821.py b/photoapp/migrations/0018_auto_20210130_1821.py new file mode 100644 index 0000000..9963df9 --- /dev/null +++ b/photoapp/migrations/0018_auto_20210130_1821.py @@ -0,0 +1,20 @@ +# Generated by Django 2.0.2 on 2021-01-30 12:51 + +import datetime +from django.db import migrations, models +from django.utils.timezone import utc + + +class Migration(migrations.Migration): + + dependencies = [ + ('photoapp', '0017_auto_20210130_1810'), + ] + + operations = [ + migrations.AlterField( + model_name='comment', + name='date', + field=models.DateTimeField(default=datetime.datetime(2021, 1, 30, 12, 51, 35, 57111, tzinfo=utc)), + ), + ] diff --git a/photoapp/templates/photoapp/home.html b/photoapp/templates/photoapp/home.html index 5a9228f..1d5eaff 100644 --- a/photoapp/templates/photoapp/home.html +++ b/photoapp/templates/photoapp/home.html @@ -9,6 +9,7 @@ + Insta @@ -126,15 +160,24 @@ +
+
- +
- Sign In with Google +
+
- Don't have an account?Sign Up + Don't have an account? +
diff --git a/photoapp/templates/photoapp/login.html b/photoapp/templates/photoapp/login.html index e2645ff..78a3122 100644 --- a/photoapp/templates/photoapp/login.html +++ b/photoapp/templates/photoapp/login.html @@ -114,6 +114,28 @@ color: blue; font-weight: bold; } +.button { + display: inline-block; + padding: 10px 18px; + font-size: 16px; + cursor: pointer; + text-align: center; + text-decoration: none; + outline: none; + color: #fff; + background-color: #4CAF50; + border: none; + border-radius: 9px; + box-shadow: 0 5px #999; +} + +.button:hover {background-color: #3e8e41} + +.button:active { + background-color: #3e8e41; + box-shadow: 0 4px #666; + transform: translateY(4px); +} @@ -131,12 +153,16 @@

LOGIN

- + +
Or
- Don't have an account?Sign Up + Don't have an account? +
diff --git a/photoapp/templates/photoapp/postlist.html b/photoapp/templates/photoapp/postlist.html index 5d36fbd..c870d67 100644 --- a/photoapp/templates/photoapp/postlist.html +++ b/photoapp/templates/photoapp/postlist.html @@ -6,15 +6,20 @@
-

THE - LIST OF POSTS

+

THE LIST OF POSTS

+ -

UpdateProfile


+ +
lists + {% for i in posts %}
diff --git a/photoapp/templates/photoapp/signup.html b/photoapp/templates/photoapp/signup.html index a1a5101..ef52329 100644 --- a/photoapp/templates/photoapp/signup.html +++ b/photoapp/templates/photoapp/signup.html @@ -9,18 +9,49 @@ SIGNUP +
-
-

Signup!!

+
+

Signup!!!

{% csrf_token %} {{ form|crispy }} - + +
{% if request.path == "/signup/" %} - Have an Account Login Here + Have an Account + {% endif %} +
diff --git a/requirements.txt b/requirements.txt index 9765903..290cb1d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,7 @@ Django==2.0.2 django-crispy-forms==1.8.1 djangorestframework==3.11.0 -Pillow==7.0.0 +Pillow==8.0.0 pytz==2019.3