Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
midterm_nicsbabes
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
Nics De Vega
midterm_nicsbabes
Commits
598967ea
Commit
598967ea
authored
Mar 06, 2023
by
Gabriel Geraldo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
created app widget_calendar
parent
7957ee9d
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
43 additions
and
1 deletion
+43
-1
__init__.py
widget_nicsbabes/widget_calendar/__init__.py
+0
-0
admin.py
widget_nicsbabes/widget_calendar/admin.py
+3
-0
apps.py
widget_nicsbabes/widget_calendar/apps.py
+6
-0
__init__.py
widget_nicsbabes/widget_calendar/migrations/__init__.py
+0
-0
models.py
widget_nicsbabes/widget_calendar/models.py
+3
-0
tests.py
widget_nicsbabes/widget_calendar/tests.py
+3
-0
urls.py
widget_nicsbabes/widget_calendar/urls.py
+9
-0
views.py
widget_nicsbabes/widget_calendar/views.py
+16
-0
settings.py
widget_nicsbabes/widget_nicsbabes/settings.py
+2
-1
urls.py
widget_nicsbabes/widget_nicsbabes/urls.py
+1
-0
No files found.
widget_nicsbabes/widget_calendar/__init__.py
0 → 100644
View file @
598967ea
widget_nicsbabes/widget_calendar/admin.py
0 → 100644
View file @
598967ea
from
django.contrib
import
admin
# Register your models here.
widget_nicsbabes/widget_calendar/apps.py
0 → 100644
View file @
598967ea
from
django.apps
import
AppConfig
class
WidgetCalendarConfig
(
AppConfig
):
default_auto_field
=
'django.db.models.BigAutoField'
name
=
'widget_calendar'
widget_nicsbabes/widget_calendar/migrations/__init__.py
0 → 100644
View file @
598967ea
widget_nicsbabes/widget_calendar/models.py
0 → 100644
View file @
598967ea
from
django.db
import
models
# Create your models here.
widget_nicsbabes/widget_calendar/tests.py
0 → 100644
View file @
598967ea
from
django.test
import
TestCase
# Create your tests here.
widget_nicsbabes/widget_calendar/urls.py
0 → 100644
View file @
598967ea
from
django.urls
import
path
from
.views
import
index
urlpatterns
=
[
path
(
''
,
index
,
name
=
'index'
)
]
app_name
=
"widget_calendar"
\ No newline at end of file
widget_nicsbabes/widget_calendar/views.py
0 → 100644
View file @
598967ea
from
django.shortcuts
import
render
from
django.http
import
HttpResponse
def
index
(
HttpRequest
):
return
HttpResponse
(
'''
<html>
<head>
<title>Calendar</title>
</head>
<body>
<h1>Widget's Calendar of Activities</h1>
<p>to be created</p>
</body>
</html>
'''
)
\ No newline at end of file
widget_nicsbabes/widget_nicsbabes/settings.py
View file @
598967ea
...
...
@@ -44,7 +44,8 @@ INSTALLED_APPS = [
'announcement_board'
,
'dashboard'
,
'forum'
,
'assignments'
'assignments'
,
'widget_calendar'
,
]
MIDDLEWARE
=
[
...
...
widget_nicsbabes/widget_nicsbabes/urls.py
View file @
598967ea
...
...
@@ -22,4 +22,5 @@ urlpatterns = [
path
(
'forum/'
,
include
(
'forum.urls'
,
namespace
=
"forum"
)),
path
(
'announcements/'
,
include
(
'announcement_board.urls'
,
namespace
=
"announcement_board"
)),
path
(
'assignments/'
,
include
(
'assignments.urls'
,
namespace
=
"assignments"
)),
path
(
'calendar/'
,
include
(
'widget_calendar.urls'
,
namespace
=
"widget_calendar"
)),
]
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