djbrown/hbscorez

View on GitHub
src/teams/urls.py

Summary

Maintainability
B
5 hrs
Test Coverage
A
100%
Similar blocks of code found in 2 locations. Consider refactoring.
from django.urls import include, path
Similar blocks of code found in 2 locations. Consider refactoring.
 
Similar blocks of code found in 2 locations. Consider refactoring.
from teams.views import calendar, detail, games, offenders, players, scorers
Similar blocks of code found in 2 locations. Consider refactoring.
 
Similar blocks of code found in 2 locations. Consider refactoring.
app_name = "teams"
Similar blocks of code found in 2 locations. Consider refactoring.
urlpatterns = [
Similar blocks of code found in 2 locations. Consider refactoring.
path(
Similar blocks of code found in 2 locations. Consider refactoring.
"<int:bhv_id>/",
Similar blocks of code found in 2 locations. Consider refactoring.
include(
Similar blocks of code found in 2 locations. Consider refactoring.
[
Similar blocks of code found in 2 locations. Consider refactoring.
path("", detail, name="detail"),
Similar blocks of code found in 2 locations. Consider refactoring.
path("spieler/", players, name="players"),
Similar blocks of code found in 2 locations. Consider refactoring.
path("spiele/", games, name="games"),
Similar blocks of code found in 2 locations. Consider refactoring.
path("schuetzen/", scorers, name="scorers"),
Similar blocks of code found in 2 locations. Consider refactoring.
path("straffaellige/", offenders, name="offenders"),
Similar blocks of code found in 2 locations. Consider refactoring.
path("kalender/", calendar, name="calendar"),
Similar blocks of code found in 2 locations. Consider refactoring.
]
Similar blocks of code found in 2 locations. Consider refactoring.
),
Similar blocks of code found in 2 locations. Consider refactoring.
),
Similar blocks of code found in 2 locations. Consider refactoring.
]