Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
midterm_princessgabi
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ysabella Panghulan
midterm_princessgabi
Commits
c81e41b9
Commit
c81e41b9
authored
Mar 03, 2023
by
Trisha Angel Millena
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
made new branch and set up forum app
parent
3fc2463d
Changes
12
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
29 additions
and
1 deletion
+29
-1
__init__.py
widget_princessgabi/forum/__init__.py
+0
-0
admin.py
widget_princessgabi/forum/admin.py
+3
-0
apps.py
widget_princessgabi/forum/apps.py
+6
-0
__init__.py
widget_princessgabi/forum/migrations/__init__.py
+0
-0
models.py
widget_princessgabi/forum/models.py
+3
-0
tests.py
widget_princessgabi/forum/tests.py
+3
-0
urls.py
widget_princessgabi/forum/urls.py
+8
-0
views.py
widget_princessgabi/forum/views.py
+3
-0
__init__.cpython-39.pyc
...i/widget_princessgabi/__pycache__/__init__.cpython-39.pyc
+0
-0
settings.cpython-39.pyc
...i/widget_princessgabi/__pycache__/settings.cpython-39.pyc
+0
-0
settings.py
widget_princessgabi/widget_princessgabi/settings.py
+1
-0
urls.py
widget_princessgabi/widget_princessgabi/urls.py
+2
-1
No files found.
widget_princessgabi/forum/__init__.py
0 → 100644
View file @
c81e41b9
widget_princessgabi/forum/admin.py
0 → 100644
View file @
c81e41b9
from
django.contrib
import
admin
# Register your models here.
widget_princessgabi/forum/apps.py
0 → 100644
View file @
c81e41b9
from
django.apps
import
AppConfig
class
ForumConfig
(
AppConfig
):
default_auto_field
=
'django.db.models.BigAutoField'
name
=
'forum'
widget_princessgabi/forum/migrations/__init__.py
0 → 100644
View file @
c81e41b9
widget_princessgabi/forum/models.py
0 → 100644
View file @
c81e41b9
from
django.db
import
models
# Create your models here.
widget_princessgabi/forum/tests.py
0 → 100644
View file @
c81e41b9
from
django.test
import
TestCase
# Create your tests here.
widget_princessgabi/forum/urls.py
0 → 100644
View file @
c81e41b9
from
django.urls
import
path
from
.views
import
index
urlpatterns
=
[
path
(
''
,
index
,
name
=
"index"
)
]
app_name
=
"forum"
\ No newline at end of file
widget_princessgabi/forum/views.py
0 → 100644
View file @
c81e41b9
from
django.shortcuts
import
render
# Create your views here.
widget_princessgabi/widget_princessgabi/__pycache__/__init__.cpython-39.pyc
0 → 100644
View file @
c81e41b9
File added
widget_princessgabi/widget_princessgabi/__pycache__/settings.cpython-39.pyc
0 → 100644
View file @
c81e41b9
File added
widget_princessgabi/widget_princessgabi/settings.py
View file @
c81e41b9
...
@@ -35,6 +35,7 @@ ALLOWED_HOSTS = []
...
@@ -35,6 +35,7 @@ ALLOWED_HOSTS = []
# Application definition
# Application definition
INSTALLED_APPS
=
[
INSTALLED_APPS
=
[
'forum'
'django.contrib.admin'
,
'django.contrib.admin'
,
'django.contrib.auth'
,
'django.contrib.auth'
,
'django.contrib.contenttypes'
,
'django.contrib.contenttypes'
,
...
...
widget_princessgabi/widget_princessgabi/urls.py
View file @
c81e41b9
...
@@ -14,8 +14,9 @@ Including another URLconf
...
@@ -14,8 +14,9 @@ Including another URLconf
2. Add a URL to urlpatterns: path('blog/', include('blog.urls'))
2. Add a URL to urlpatterns: path('blog/', include('blog.urls'))
"""
"""
from
django.contrib
import
admin
from
django.contrib
import
admin
from
django.urls
import
path
from
django.urls
import
include
,
path
urlpatterns
=
[
urlpatterns
=
[
path
(
'forum/'
,
include
(
"forum.urls"
,
namespace
=
"forum"
)),
path
(
'admin/'
,
admin
.
site
.
urls
),
path
(
'admin/'
,
admin
.
site
.
urls
),
]
]
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment