add delete blog

This commit is contained in:
DELL 2022-10-07 10:11:46 +07:00
parent aeab9e8d0e
commit 87e8f3d966
12 changed files with 252 additions and 68 deletions

View file

@ -405,6 +405,10 @@ DATABASES = {
"default": {
"ENGINE": "django.db.backends.sqlite3",
"NAME": os.path.join(BASE_DIR, "db.sqlite3"),
'USER': 'dmoj',
'PASSWORD': 'YES',
'HOST': 'localhost',
'PORT': '',
},
}

View file

@ -665,6 +665,11 @@ urlpatterns = [
organization.EditOrganizationBlog.as_view(),
name="edit_organization_blog",
),
# url(
# r"^/blog/deleting$",
# organization.PendingBlogs.as_view(),
# name="organization_pending_blogs",
# ),
url(
r"^/blog/pending$",
organization.PendingBlogs.as_view(),