diff --git a/blango/__pycache__/__init__.cpython-36.pyc b/blango/__pycache__/__init__.cpython-36.pyc index 642e1f5b77..49606ff1cf 100644 Binary files a/blango/__pycache__/__init__.cpython-36.pyc and b/blango/__pycache__/__init__.cpython-36.pyc differ diff --git a/blango/__pycache__/settings.cpython-36.pyc b/blango/__pycache__/settings.cpython-36.pyc index 702c89678b..2087313128 100644 Binary files a/blango/__pycache__/settings.cpython-36.pyc and b/blango/__pycache__/settings.cpython-36.pyc differ diff --git a/blango/__pycache__/urls.cpython-36.pyc b/blango/__pycache__/urls.cpython-36.pyc index 2a62242b4c..3bf8a6a57f 100644 Binary files a/blango/__pycache__/urls.cpython-36.pyc and b/blango/__pycache__/urls.cpython-36.pyc differ diff --git a/blango/__pycache__/wsgi.cpython-36.pyc b/blango/__pycache__/wsgi.cpython-36.pyc index 7af20efeb1..e838d56abb 100644 Binary files a/blango/__pycache__/wsgi.cpython-36.pyc and b/blango/__pycache__/wsgi.cpython-36.pyc differ diff --git a/blango_auth/__pycache__/__init__.cpython-36.pyc b/blango_auth/__pycache__/__init__.cpython-36.pyc index fadb238f4b..7ae43cb310 100644 Binary files a/blango_auth/__pycache__/__init__.cpython-36.pyc and b/blango_auth/__pycache__/__init__.cpython-36.pyc differ diff --git a/blango_auth/__pycache__/admin.cpython-36.pyc b/blango_auth/__pycache__/admin.cpython-36.pyc index f54397de04..5cb200fcfa 100644 Binary files a/blango_auth/__pycache__/admin.cpython-36.pyc and b/blango_auth/__pycache__/admin.cpython-36.pyc differ diff --git a/blango_auth/__pycache__/apps.cpython-36.pyc b/blango_auth/__pycache__/apps.cpython-36.pyc index 5b185dc6bd..81530418c1 100644 Binary files a/blango_auth/__pycache__/apps.cpython-36.pyc and b/blango_auth/__pycache__/apps.cpython-36.pyc differ diff --git a/blango_auth/__pycache__/models.cpython-36.pyc b/blango_auth/__pycache__/models.cpython-36.pyc index 5019855b13..4e20cf48e4 100644 Binary files a/blango_auth/__pycache__/models.cpython-36.pyc and b/blango_auth/__pycache__/models.cpython-36.pyc differ diff --git a/blango_auth/admin.py b/blango_auth/admin.py index 68a45f2caf..c579f2d50f 100644 --- a/blango_auth/admin.py +++ b/blango_auth/admin.py @@ -38,4 +38,10 @@ class BlangoUserAdmin(UserAdmin): -admin.site.register(User, BlangoUserAdmin) \ No newline at end of file +admin.site.register(User, BlangoUserAdmin) + + + + + + diff --git a/blango_auth/migrations/0001_initial.py b/blango_auth/migrations/0001_initial.py index c21fe57733..10a59d6a53 100644 --- a/blango_auth/migrations/0001_initial.py +++ b/blango_auth/migrations/0001_initial.py @@ -1,4 +1,4 @@ -# Generated by Django 3.2.6 on 2024-09-30 03:03 +# Generated by Django 3.2.6 on 2024-10-05 00:51 import django.contrib.auth.models import django.contrib.auth.validators diff --git a/blango_auth/migrations/0002_auto_20241004_0114.py b/blango_auth/migrations/0002_auto_20241005_0122.py similarity index 93% rename from blango_auth/migrations/0002_auto_20241004_0114.py rename to blango_auth/migrations/0002_auto_20241005_0122.py index 3519d16c85..5622812d14 100644 --- a/blango_auth/migrations/0002_auto_20241004_0114.py +++ b/blango_auth/migrations/0002_auto_20241005_0122.py @@ -1,4 +1,4 @@ -# Generated by Django 3.2.6 on 2024-10-04 01:14 +# Generated by Django 3.2.6 on 2024-10-05 01:22 import blango_auth.models from django.db import migrations, models diff --git a/blango_auth/migrations/__pycache__/0001_initial.cpython-36.pyc b/blango_auth/migrations/__pycache__/0001_initial.cpython-36.pyc index e82d900992..ee76e9c583 100644 Binary files a/blango_auth/migrations/__pycache__/0001_initial.cpython-36.pyc and b/blango_auth/migrations/__pycache__/0001_initial.cpython-36.pyc differ diff --git a/blango_auth/migrations/__pycache__/0002_auto_20241004_0114.cpython-36.pyc b/blango_auth/migrations/__pycache__/0002_auto_20241005_0122.cpython-36.pyc similarity index 84% rename from blango_auth/migrations/__pycache__/0002_auto_20241004_0114.cpython-36.pyc rename to blango_auth/migrations/__pycache__/0002_auto_20241005_0122.cpython-36.pyc index 1a2733e7c5..2d3eecbbd9 100644 Binary files a/blango_auth/migrations/__pycache__/0002_auto_20241004_0114.cpython-36.pyc and b/blango_auth/migrations/__pycache__/0002_auto_20241005_0122.cpython-36.pyc differ diff --git a/blango_auth/migrations/__pycache__/__init__.cpython-36.pyc b/blango_auth/migrations/__pycache__/__init__.cpython-36.pyc index 18b23fbda3..c99af90076 100644 Binary files a/blango_auth/migrations/__pycache__/__init__.cpython-36.pyc and b/blango_auth/migrations/__pycache__/__init__.cpython-36.pyc differ diff --git a/blango_auth/models.py b/blango_auth/models.py index 0cc86e5f52..6000c587c0 100644 --- a/blango_auth/models.py +++ b/blango_auth/models.py @@ -1,8 +1,6 @@ from django.db import models from django.contrib.auth.models import AbstractUser, UserManager from django.utils.translation import gettext_lazy as _ - - # Create your models here. class BlangoUserManager(UserManager): def _create_user(self, email, password, **extra_fields): @@ -31,7 +29,6 @@ def create_superuser(self, email, password, **extra_fields): return self._create_user(email, password, **extra_fields) - class User(AbstractUser): username = None email = models.EmailField( diff --git a/blog/__pycache__/__init__.cpython-36.pyc b/blog/__pycache__/__init__.cpython-36.pyc index 625bbaf99a..cc55c380a6 100644 Binary files a/blog/__pycache__/__init__.cpython-36.pyc and b/blog/__pycache__/__init__.cpython-36.pyc differ diff --git a/blog/__pycache__/admin.cpython-36.pyc b/blog/__pycache__/admin.cpython-36.pyc index 0abc4240a8..0745f9e9ee 100644 Binary files a/blog/__pycache__/admin.cpython-36.pyc and b/blog/__pycache__/admin.cpython-36.pyc differ diff --git a/blog/__pycache__/apps.cpython-36.pyc b/blog/__pycache__/apps.cpython-36.pyc index ee324884bf..33fd586b6d 100644 Binary files a/blog/__pycache__/apps.cpython-36.pyc and b/blog/__pycache__/apps.cpython-36.pyc differ diff --git a/blog/__pycache__/forms.cpython-36.pyc b/blog/__pycache__/forms.cpython-36.pyc index 7c6290ad3a..82cbdd16dd 100644 Binary files a/blog/__pycache__/forms.cpython-36.pyc and b/blog/__pycache__/forms.cpython-36.pyc differ diff --git a/blog/__pycache__/models.cpython-36.pyc b/blog/__pycache__/models.cpython-36.pyc index b7a3e1da4f..8a0ac1c040 100644 Binary files a/blog/__pycache__/models.cpython-36.pyc and b/blog/__pycache__/models.cpython-36.pyc differ diff --git a/blog/__pycache__/views.cpython-36.pyc b/blog/__pycache__/views.cpython-36.pyc index 0d0e04316d..59d124e1f5 100644 Binary files a/blog/__pycache__/views.cpython-36.pyc and b/blog/__pycache__/views.cpython-36.pyc differ diff --git a/blog/migrations/0006_authorprofile.py b/blog/migrations/0006_authorprofile.py index 97c6cd0f4c..6cd2716be3 100644 --- a/blog/migrations/0006_authorprofile.py +++ b/blog/migrations/0006_authorprofile.py @@ -1,4 +1,4 @@ -# Generated by Django 3.2.6 on 2024-09-30 03:15 +# Generated by Django 3.2.6 on 2024-10-05 00:40 from django.conf import settings from django.db import migrations, models diff --git a/blog/migrations/__pycache__/0001_initial.cpython-36.pyc b/blog/migrations/__pycache__/0001_initial.cpython-36.pyc index 41a1160b08..f387d8fd93 100644 Binary files a/blog/migrations/__pycache__/0001_initial.cpython-36.pyc and b/blog/migrations/__pycache__/0001_initial.cpython-36.pyc differ diff --git a/blog/migrations/__pycache__/0002_comment.cpython-36.pyc b/blog/migrations/__pycache__/0002_comment.cpython-36.pyc index 8bd93d9d4d..0e6c66fd1d 100644 Binary files a/blog/migrations/__pycache__/0002_comment.cpython-36.pyc and b/blog/migrations/__pycache__/0002_comment.cpython-36.pyc differ diff --git a/blog/migrations/__pycache__/0003_auto_20240907_1018.cpython-36.pyc b/blog/migrations/__pycache__/0003_auto_20240907_1018.cpython-36.pyc index 5edab09f0b..cc25841362 100644 Binary files a/blog/migrations/__pycache__/0003_auto_20240907_1018.cpython-36.pyc and b/blog/migrations/__pycache__/0003_auto_20240907_1018.cpython-36.pyc differ diff --git a/blog/migrations/__pycache__/0004_alter_post_published_at.cpython-36.pyc b/blog/migrations/__pycache__/0004_alter_post_published_at.cpython-36.pyc index 71f1a40697..b77bfd55ce 100644 Binary files a/blog/migrations/__pycache__/0004_alter_post_published_at.cpython-36.pyc and b/blog/migrations/__pycache__/0004_alter_post_published_at.cpython-36.pyc differ diff --git a/blog/migrations/__pycache__/0005_auto_20240924_1811.cpython-36.pyc b/blog/migrations/__pycache__/0005_auto_20240924_1811.cpython-36.pyc index 8ee75feb27..5d461150b8 100644 Binary files a/blog/migrations/__pycache__/0005_auto_20240924_1811.cpython-36.pyc and b/blog/migrations/__pycache__/0005_auto_20240924_1811.cpython-36.pyc differ diff --git a/blog/migrations/__pycache__/0006_authorprofile.cpython-36.pyc b/blog/migrations/__pycache__/0006_authorprofile.cpython-36.pyc index 52badc5066..9ad06e5dcd 100644 Binary files a/blog/migrations/__pycache__/0006_authorprofile.cpython-36.pyc and b/blog/migrations/__pycache__/0006_authorprofile.cpython-36.pyc differ diff --git a/blog/migrations/__pycache__/__init__.cpython-36.pyc b/blog/migrations/__pycache__/__init__.cpython-36.pyc index d6ff0eb352..aea4237b9c 100644 Binary files a/blog/migrations/__pycache__/__init__.cpython-36.pyc and b/blog/migrations/__pycache__/__init__.cpython-36.pyc differ diff --git a/blog/templatetags/__pycache__/__init__.cpython-36.pyc b/blog/templatetags/__pycache__/__init__.cpython-36.pyc index 09cb2032ff..8303b6bd26 100644 Binary files a/blog/templatetags/__pycache__/__init__.cpython-36.pyc and b/blog/templatetags/__pycache__/__init__.cpython-36.pyc differ diff --git a/blog/templatetags/__pycache__/blog_extras.cpython-36.pyc b/blog/templatetags/__pycache__/blog_extras.cpython-36.pyc index 211956e180..2802ec398a 100644 Binary files a/blog/templatetags/__pycache__/blog_extras.cpython-36.pyc and b/blog/templatetags/__pycache__/blog_extras.cpython-36.pyc differ diff --git a/data.json b/data.json index 6814a1be2c..30229f6d52 100644 --- a/data.json +++ b/data.json @@ -1 +1 @@ -[{"model": "blog.comment", "pk": 2, "fields": {"creator": 1, "content": "I like myself!", "content_type": 4, "object_id": 1, "created_at": "2024-09-07T13:35:22.696Z", "modified_at": "2024-09-07T13:35:22.713Z"}}, {"model": "blog.comment", "pk": 3, "fields": {"creator": 3, "content": "wonderfull!", "content_type": 8, "object_id": 1, "created_at": "2024-09-08T19:09:55.378Z", "modified_at": "2024-09-08T19:09:55.378Z"}}, {"model": "blog.comment", "pk": 4, "fields": {"creator": 3, "content": "great", "content_type": 8, "object_id": 2, "created_at": "2024-09-08T19:10:09.602Z", "modified_at": "2024-09-08T19:10:09.602Z"}}, {"model": "blog.comment", "pk": 5, "fields": {"creator": 3, "content": "Continue", "content_type": 8, "object_id": 1, "created_at": "2024-09-09T10:31:59.631Z", "modified_at": "2024-09-09T10:31:59.631Z"}}, {"model": "blog.tag", "pk": 1, "fields": {"value": "django"}}, {"model": "blog.post", "pk": 1, "fields": {"author": 2, "created_at": "2024-09-05T08:09:59.307Z", "modified_at": "2024-09-07T13:15:47.999Z", "published_at": "2024-09-05T08:08:42Z", "title": "An Example Post", "slug": "an-example-post", "summary": "A short example post", "content": "example", "tags": [1]}}, {"model": "blog.post", "pk": 2, "fields": {"author": 1, "created_at": "2024-09-07T11:41:00.421Z", "modified_at": "2024-09-07T11:41:00.421Z", "published_at": "2024-09-07T11:31:34Z", "title": "No Pain No Gain", "slug": "no-pain-no-gain", "summary": "just make your best and all will be fine", "content": "Tell me why\r\nShould I let you go, go, go, go\r\nYou know I love you so, so, so, so\r\nThat's why I am here tonight\r\nSo put your hands up\r\nWhy shouldn't I flow, flow, flow, flow?\r\nAnd pump it up on stereo, oh, oh, oh, oh\r\nIt's time to stomp on five\r\n\r\nLadies and gentlemen, the 89ers are back, come on, let's go!\r\n\r\n(Whoo-oo)\r\n(Whoo-oo)\r\n(Whoo-oo)\r\n(Whoo-oo)\r\n\r\nThis song's for you and that's no lie\r\nYou can't imagine, how hard I really try\r\nTo satisfy you everyday\r\nAnd all that you do is coming at me\r\nYou doing it like a killer-bee\r\nHey, hey, it's alright\r\nWe have to stop our feeling-fight\r\nOh, oh, you take my hand\r\n89ers is a punk tend band\r\n\r\nPlease tell me why should I let you go, go, go, go\r\nBecause I love you so, so, so, so\r\nThat's why I'm here tonight\r\nSo put your hands up\r\nWhy shouldn't I let it flow flow flow?\r\nAnd pump it up the stereo, oh, oh, oh, oh\r\nIt's time to stop the fight!\r\n\r\nCome with me, let's go for a ride\r\nFollow me to the brighter side\r\nPretty girl, just look around\r\nThat everybody is jumping around to the 89ers sound\r\nHey, hey, what's that noise?\r\nRushing into ears of the girls and the boys\r\nOh, oh, enjoy the show\r\nThat the 89ers never punchline flow\r\n\r\nPlease tell me why should I let you go, go, go, go\r\nBecause I love you so, so, so, so\r\nThat's why I'm here tonight\r\nSo put your hands up\r\nWhy shouldn't I let it flow flow flow?\r\nAnd pump it up the stereo, oh, oh, oh\r\nIt's time to stop the fight!\r\n\r\n(Whoo-oo)\r\n(Whoo-oo)\r\n(Whoo-oo)\r\n(Whoo-oo)\r\n\r\nPlease tell me why should I let you go, go, go, go\r\nBecause I love you so, so, so, so\r\nThat's why I'm here tonight\r\nSo put your hands up\r\nWhy shouldn't I let it flow flow flow?\r\nAnd pump it up the stereo, oh, oh, oh\r\nIt's time to stop the fight!\r\n\r\n\r\nAdd to favorites\r\n\r\nAdd to playlist\r\n\r\nFont size\r\nTab\r\nPrint\r\nCorrect\r\n\r\nAuto-scroll", "tags": [1]}}, {"model": "blango_auth.user", "pk": 1, "fields": {"password": "pbkdf2_sha256$260000$o7DTh9eqqv0EimHkzb9BOM$0MliSxvL/HwG67CapZpOYf76V+tcWO5Us5YhznhOFnU=", "last_login": "2024-09-07T11:31:15Z", "is_superuser": true, "username": "Zoldycks", "first_name": "Hunter", "last_name": "Silva", "email": "ahmediizekry@gmail.com", "is_staff": true, "is_active": true, "date_joined": "2024-09-05T08:06:01Z", "groups": [], "user_permissions": []}}, {"model": "blango_auth.user", "pk": 2, "fields": {"password": "pbkdf2_sha256$260000$SXwqKRlvz3IboAkJygYyld$aIRu0FUj6qNJ59iAUNiP6nmWrU9L8nrOJGZGoqA3jyM=", "last_login": null, "is_superuser": false, "username": "codio", "first_name": "Ahmed", "last_name": "ibrahim", "email": "ahmedzekry@gmail.com", "is_staff": false, "is_active": true, "date_joined": "2024-09-07T13:14:21Z", "groups": [], "user_permissions": []}}, {"model": "blango_auth.user", "pk": 3, "fields": {"password": "pbkdf2_sha256$260000$ETPMU7VEJhLYaYU5AbjP9Y$2BMh0e9+fssUx1uWvF+Y74b5bZn/jkehc7zBLJJQk5w=", "last_login": "2024-09-08T19:09:22.333Z", "is_superuser": true, "username": "ahmed", "first_name": "", "last_name": "", "email": "example@gmail.com", "is_staff": true, "is_active": true, "date_joined": "2024-09-08T19:08:33.694Z", "groups": [], "user_permissions": []}}, {"model": "blango_auth.user", "pk": 4, "fields": {"password": "argon2$argon2id$v=19$m=102400,t=2,p=8$cTFXSzlYY014STRZQ01iY0RqSWxpNg$TtwXCIdBCNiwXF1UQ22yvA", "last_login": "2024-09-24T16:33:07.475Z", "is_superuser": true, "username": "Zoldyck", "first_name": "", "last_name": "", "email": "example@gmail.com", "is_staff": true, "is_active": true, "date_joined": "2024-09-17T15:42:15.364Z", "groups": [], "user_permissions": []}}] \ No newline at end of file +[{"model": "auth.user", "pk": 1, "fields": {"password": "argon2$argon2id$v=19$m=102400,t=2,p=8$SzUyWk1nV0hNblVFSm9Sc29wcmhKUg$yqkcmH4ZOFp4xCOLrG4KBA", "last_login": null, "is_superuser": true, "username": "codio", "first_name": "", "last_name": "", "email": "example@gmail.com", "is_staff": true, "is_active": true, "date_joined": "2024-10-05T00:23:29.550Z", "groups": [], "user_permissions": []}}] \ No newline at end of file diff --git a/db.sqlite3 b/db.sqlite3 index 09d95131aa..f699856345 100644 Binary files a/db.sqlite3 and b/db.sqlite3 differ