Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
red_brick_board
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
1
Merge Requests
1
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
Ciella Francisco
red_brick_board
Commits
59fd555a
Commit
59fd555a
authored
Mar 09, 2024
by
gab
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
created eventcatalog, homepage
parent
8ee3262a
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
44 additions
and
0 deletions
+44
-0
__init__.py
redbrickboard/eventcatalog/__init__.py
+0
-0
admin.py
redbrickboard/eventcatalog/admin.py
+3
-0
apps.py
redbrickboard/eventcatalog/apps.py
+6
-0
models.py
redbrickboard/eventcatalog/models.py
+3
-0
index.html
redbrickboard/eventcatalog/templates/eventcatalog/index.html
+16
-0
tests.py
redbrickboard/eventcatalog/tests.py
+3
-0
urls.py
redbrickboard/eventcatalog/urls.py
+7
-0
views.py
redbrickboard/eventcatalog/views.py
+6
-0
No files found.
redbrickboard/eventcatalog/__init__.py
0 → 100644
View file @
59fd555a
redbrickboard/eventcatalog/admin.py
0 → 100644
View file @
59fd555a
from
django.contrib
import
admin
# Register your models here.
redbrickboard/eventcatalog/apps.py
0 → 100644
View file @
59fd555a
from
django.apps
import
AppConfig
class
EventcatalogConfig
(
AppConfig
):
default_auto_field
=
'django.db.models.BigAutoField'
name
=
'eventcatalog'
redbrickboard/eventcatalog/models.py
0 → 100644
View file @
59fd555a
from
django.db
import
models
# Create your models here.
redbrickboard/eventcatalog/templates/eventcatalog/index.html
0 → 100644
View file @
59fd555a
{% extends "base.html" %}
{% block content %}
{% if user.is_authenticated %}
Hi {{ user.first_name }} {{ user.last_name }}!
<form
action=
"{% url 'accounts:logout' %}"
method=
"post"
>
{% csrf_token %}
<button
type=
"submit"
>
Log Out
</button>
</form>
{% else %}
<p>
You are not logged in
</p>
<a
href=
"{% url 'accounts:login' %}"
>
Log In
</a>
{% endif %}
{% endblock %}
\ No newline at end of file
redbrickboard/eventcatalog/tests.py
0 → 100644
View file @
59fd555a
from
django.test
import
TestCase
# Create your tests here.
redbrickboard/eventcatalog/urls.py
0 → 100644
View file @
59fd555a
from
django.urls
import
path
from
.
import
views
urlpatterns
=
[
path
(
''
,
views
.
homepage
,
name
=
"index"
),
]
\ No newline at end of file
redbrickboard/eventcatalog/views.py
0 → 100644
View file @
59fd555a
from
django.shortcuts
import
render
from
django.http
import
HttpResponse
# Create your views here.
def
homepage
(
request
):
return
render
(
request
,
"eventcatalog/index.html"
)
\ No newline at end of file
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