add delete blog
This commit is contained in:
parent
aeab9e8d0e
commit
87e8f3d966
12 changed files with 252 additions and 68 deletions
|
@ -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': '',
|
||||
},
|
||||
}
|
||||
|
||||
|
|
|
@ -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(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue