Skip to content

Commit

Permalink
Final updates
Browse files Browse the repository at this point in the history
  • Loading branch information
NwabuezeFranklin committed Apr 10, 2023
1 parent b26793e commit b893d95
Show file tree
Hide file tree
Showing 40 changed files with 144 additions and 0 deletions.
Empty file added .gitignore
Empty file.
Binary file modified App/__pycache__/forms.cpython-311.pyc
Binary file not shown.
Binary file modified App/__pycache__/models.cpython-311.pyc
Binary file not shown.
Binary file modified App/__pycache__/urls.cpython-311.pyc
Binary file not shown.
Binary file modified App/__pycache__/views.cpython-311.pyc
Binary file not shown.
22 changes: 22 additions & 0 deletions App/migrations/0009_alter_comment_options_comment_updated.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Generated by Django 4.1.7 on 2023-04-05 03:01

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('App', '0008_remove_comment_profile'),
]

operations = [
migrations.AlterModelOptions(
name='comment',
options={'ordering': ['-updated', '-created']},
),
migrations.AddField(
model_name='comment',
name='updated',
field=models.DateTimeField(auto_now=True, null=True),
),
]
18 changes: 18 additions & 0 deletions App/migrations/0010_rename_descriptions_profile_about.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Generated by Django 4.1.7 on 2023-04-06 18:59

from django.db import migrations


class Migration(migrations.Migration):

dependencies = [
('App', '0009_alter_comment_options_comment_updated'),
]

operations = [
migrations.RenameField(
model_name='profile',
old_name='descriptions',
new_name='about',
),
]
18 changes: 18 additions & 0 deletions App/migrations/0011_alter_profile_age.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Generated by Django 4.1.7 on 2023-04-07 03:27

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('App', '0010_rename_descriptions_profile_about'),
]

operations = [
migrations.AlterField(
model_name='profile',
name='age',
field=models.IntegerField(blank=True, null=True),
),
]
24 changes: 24 additions & 0 deletions App/migrations/0012_userpreference.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Generated by Django 4.1.7 on 2023-04-09 05:09

from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
('App', '0011_alter_profile_age'),
]

operations = [
migrations.CreateModel(
name='UserPreference',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('mode', models.CharField(choices=[('light', 'Light'), ('dark', 'Dark')], default='light', max_length=10)),
('user', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
],
),
]
27 changes: 27 additions & 0 deletions App/migrations/0013_userprofile_delete_userpreference.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Generated by Django 4.1.7 on 2023-04-09 10:00

from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
('App', '0012_userpreference'),
]

operations = [
migrations.CreateModel(
name='UserProfile',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('preferred_mode', models.CharField(default='light', max_length=10)),
('user', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
],
),
migrations.DeleteModel(
name='UserPreference',
),
]
16 changes: 16 additions & 0 deletions App/migrations/0014_delete_userprofile.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Generated by Django 4.1.7 on 2023-04-09 10:07

from django.db import migrations


class Migration(migrations.Migration):

dependencies = [
('App', '0013_userprofile_delete_userpreference'),
]

operations = [
migrations.DeleteModel(
name='UserProfile',
),
]
19 changes: 19 additions & 0 deletions App/migrations/0015_alter_image_article.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Generated by Django 4.1.7 on 2023-04-10 06:26

import ckeditor.fields
from django.db import migrations


class Migration(migrations.Migration):

dependencies = [
('App', '0014_delete_userprofile'),
]

operations = [
migrations.AlterField(
model_name='image',
name='article',
field=ckeditor.fields.RichTextField(blank=True, null=True),
),
]
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified Base/__pycache__/settings.cpython-311.pyc
Binary file not shown.
Binary file modified Base/__pycache__/urls.cpython-311.pyc
Binary file not shown.
Binary file modified db.sqlite3
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file added static/images/download_6.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/download_6_MO6vf61.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/download_6_alzKHaJ.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/download_7.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/femi.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/femii.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/iStock_87294393_LARGE.160928.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/icef5_1.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/icef5_1_jWzmvE0.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/images_1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/images_6.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/nwabueze.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/nwabuezee.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/shutterstock_758935021.webp
Binary file not shown.
Binary file not shown.

0 comments on commit b893d95

Please sign in to comment.