Add YouTube
This commit is contained in:
parent
ea242955d9
commit
5bdee66207
12 changed files with 214 additions and 1 deletions
|
|
@ -141,6 +141,7 @@ INSTALLED_APPS: list[str] = [
|
|||
"django.contrib.postgres",
|
||||
"twitch.apps.TwitchConfig",
|
||||
"kick.apps.KickConfig",
|
||||
"youtube.apps.YoutubeConfig",
|
||||
"core.apps.CoreConfig",
|
||||
]
|
||||
|
||||
|
|
|
|||
|
|
@ -39,6 +39,9 @@ def test_top_level_named_routes_available() -> None:
|
|||
msg: str = f"Expected 'twitch:dashboard' to reverse to '/twitch/', got {reverse('twitch:dashboard')}"
|
||||
assert reverse("twitch:dashboard") == "/twitch/", msg
|
||||
|
||||
youtube_msg: str = f"Expected 'youtube:index' to reverse to '/youtube/', got {reverse('youtube:index')}"
|
||||
assert reverse("youtube:index") == "/youtube/", youtube_msg
|
||||
|
||||
|
||||
def test_debug_tools_not_present_while_testing() -> None:
|
||||
"""`silk` and Django Debug Toolbar URL patterns are not present while running tests."""
|
||||
|
|
|
|||
|
|
@ -19,6 +19,8 @@ urlpatterns: list[URLPattern | URLResolver] = [
|
|||
path(route="twitch/", view=include("twitch.urls", namespace="twitch")),
|
||||
# Kick app
|
||||
path(route="kick/", view=include("kick.urls", namespace="kick")),
|
||||
# YouTube app
|
||||
path(route="youtube/", view=include("youtube.urls", namespace="youtube")),
|
||||
]
|
||||
|
||||
# Serve media in development
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue