2024-01-04 11:54:56 +11:00
|
|
|
"""
|
|
|
|
URL configuration for ausglamr project.
|
|
|
|
"""
|
2024-06-24 12:23:01 +10:00
|
|
|
|
2024-01-04 11:54:56 +11:00
|
|
|
from django.contrib import admin
|
|
|
|
from django.urls import path, re_path
|
2024-01-26 15:48:34 +11:00
|
|
|
from django.views.generic import TemplateView
|
2024-01-04 11:54:56 +11:00
|
|
|
|
|
|
|
from blogs import views
|
|
|
|
|
|
|
|
urlpatterns = [
|
|
|
|
path("admin/", admin.site.urls),
|
|
|
|
path("", views.HomeFeed.as_view(), name="home"),
|
|
|
|
re_path(r"^browse/?$", views.Browse.as_view(), name="browse"),
|
|
|
|
re_path(r"^search/?$", views.Search.as_view(), name="search"),
|
|
|
|
re_path(r"^help/?$", views.Help.as_view(), name="help"),
|
2024-01-26 11:00:26 +11:00
|
|
|
path("feed", views.CombinedFeed(), name="feed"),
|
|
|
|
path("blog-articles/feed", views.ArticleFeed(), name="article-feed"),
|
|
|
|
path("events/feed", views.EventFeed(), name="event-feed"),
|
|
|
|
path("newsletter-editions/feed", views.EditionFeed(), name="edition-feed"),
|
2024-01-04 11:54:56 +11:00
|
|
|
path("contribute", views.Contribute.as_view(), name="contribute"),
|
|
|
|
path("contact", views.Contact.as_view(), name="contact"),
|
|
|
|
path("blogs", views.Blogs.as_view(), name="blogs"),
|
2024-01-09 18:11:22 +11:00
|
|
|
path("blogs/<category>", views.Blogs.as_view(), name="blog-category "),
|
2024-01-21 15:39:19 +11:00
|
|
|
path("blog-articles", views.Articles.as_view(), name="blog-articles"),
|
2024-01-26 11:00:26 +11:00
|
|
|
path("events", views.Events.as_view(), name="events"),
|
|
|
|
path("events/<category>", views.Events.as_view(), name="events-category"),
|
2024-01-09 18:11:22 +11:00
|
|
|
re_path(r"^cfps/?$", views.CallsForPapers.as_view(), name="cfps"),
|
2024-01-04 11:54:56 +11:00
|
|
|
path("groups", views.Groups.as_view(), name="groups"),
|
2024-01-09 18:11:22 +11:00
|
|
|
path("groups/<category>", views.Groups.as_view(), name="group-category"),
|
2024-01-04 11:54:56 +11:00
|
|
|
path("newsletters", views.Newsletters.as_view(), name="newsletters"),
|
2024-01-21 15:39:19 +11:00
|
|
|
path(
|
|
|
|
"newsletters/<category>",
|
|
|
|
views.Newsletters.as_view(),
|
|
|
|
name="newsletters-category",
|
|
|
|
),
|
|
|
|
path("newsletter-editions", views.Editions.as_view(), name="newsletter-editions"),
|
2024-01-04 11:54:56 +11:00
|
|
|
path("register-blog", views.RegisterBlog.as_view(), name="register-blog"),
|
|
|
|
path(
|
|
|
|
"submit-blog-registration",
|
|
|
|
views.ConfirmBlogRegistration.as_view(),
|
|
|
|
name="submit-blog-registration",
|
|
|
|
),
|
|
|
|
path(
|
|
|
|
"register-event",
|
|
|
|
views.RegisterConference.as_view(),
|
|
|
|
name="register-event",
|
|
|
|
),
|
|
|
|
path("register-cfp", views.RegisterCallForPapers.as_view(), name="register-cfp"),
|
|
|
|
path("register-group", views.RegisterGroup.as_view(), name="register-group"),
|
|
|
|
path(
|
|
|
|
"register-newsletter",
|
|
|
|
views.RegisterNewsletter.as_view(),
|
|
|
|
name="register-newsletter",
|
|
|
|
),
|
|
|
|
path("thankyou/<register_type>", views.Thankyou.as_view(), name="thankyou"),
|
|
|
|
path("subscribe", views.Subscribe.as_view(), name="subscribe"),
|
|
|
|
path("subscribe-email", views.SubscribeEmail.as_view(), name="subscribe-email"),
|
|
|
|
path(
|
2024-01-07 16:58:56 +11:00
|
|
|
"confirm-subscribe-email/<token>/<user_id>",
|
2024-01-04 11:54:56 +11:00
|
|
|
views.ConfirmEmail.as_view(),
|
|
|
|
name="confirm-subscribe-email",
|
|
|
|
),
|
|
|
|
path(
|
|
|
|
"unsubscribe-email/<token>/<id>",
|
|
|
|
views.UnsubscribeEmail.as_view(),
|
|
|
|
name="unsubscribe-email",
|
|
|
|
),
|
2024-06-24 12:23:01 +10:00
|
|
|
path(
|
|
|
|
"robots.txt",
|
|
|
|
TemplateView.as_view(template_name="robots.txt", content_type="text/plain"),
|
|
|
|
),
|
2024-01-04 11:54:56 +11:00
|
|
|
]
|