-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/events_models' into events_models
- Loading branch information
Showing
13 changed files
with
61 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,17 @@ | ||
from __future__ import annotations | ||
from django.utils.translation import gettext_lazy as _ | ||
|
||
from apps.plugins.plugin import BasePluginAppConfig | ||
|
||
|
||
class EventsConfig(BasePluginAppConfig): | ||
default_auto_field = 'django.db.models.BigAutoField' | ||
name = 'apps.events' | ||
verbose_name = _('Events') | ||
default_auto_field = "django.db.models.BigAutoField" | ||
name = "apps.events" | ||
verbose_name = _("Events") | ||
emoji = "" | ||
description = _('Fiesta plugin to handle events management and registrations.') | ||
description = _("Fiesta plugin to handle events management and registrations.") | ||
|
||
configuration_model = 'events.EventsConfiguration' | ||
configuration_model = "events.EventsConfiguration" | ||
|
||
|
||
__all__ = ['EventsConfig'] | ||
__all__ = ["EventsConfig"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
{% extends "fiesta/base.html" %} | ||
|
||
{% block main %} | ||
<!-- <h1>Upcoming Events of {{ request.in_space_of_section }}</h1>--> | ||
<!-- {{ request.in_space_of_section.events }}--> | ||
<!-- <h1>Upcoming Events of {{ request.in_space_of_section }}</h1>--> | ||
<!-- {{ request.in_space_of_section.events }}--> | ||
|
||
|
||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
from django.urls import path, include | ||
from __future__ import annotations | ||
from django.urls import path | ||
|
||
from .views import EventsIndexView | ||
|
||
# Define your urls here | ||
urlpatterns = [ | ||
path('', EventsIndexView.as_view()) | ||
] | ||
urlpatterns = [path("", EventsIndexView.as_view())] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
from __future__ import annotations | ||
from .index import EventsIndexView | ||
|
||
__all__ = [ | ||
"EventsIndexView" | ||
] | ||
__all__ = ["EventsIndexView"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
from __future__ import annotations | ||
from django.views.generic import TemplateView | ||
|
||
|
||
class EventsIndexView(TemplateView): | ||
template_name = 'events/index.html' | ||
template_name = "events/index.html" |