GeriLife/caregiving

View on GitHub
activities/urls.py

Summary

Maintainability
A
1 hr
Test Coverage
A
100%
Similar blocks of code found in 2 locations. Consider refactoring.
from django.urls import path
Similar blocks of code found in 2 locations. Consider refactoring.
 
Similar blocks of code found in 2 locations. Consider refactoring.
from .views import ResidentActivityFormView, ResidentActivityListView
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.
urlpatterns = [
Similar blocks of code found in 2 locations. Consider refactoring.
path(
Similar blocks of code found in 2 locations. Consider refactoring.
"submit/",
Similar blocks of code found in 2 locations. Consider refactoring.
ResidentActivityFormView.as_view(),
Similar blocks of code found in 2 locations. Consider refactoring.
name="resident-activity-form-view",
Similar blocks of code found in 2 locations. Consider refactoring.
),
Similar blocks of code found in 2 locations. Consider refactoring.
path(
Similar blocks of code found in 2 locations. Consider refactoring.
"list/",
Similar blocks of code found in 2 locations. Consider refactoring.
ResidentActivityListView.as_view(),
Similar blocks of code found in 2 locations. Consider refactoring.
name="activity-list-view",
Similar blocks of code found in 2 locations. Consider refactoring.
),
Similar blocks of code found in 2 locations. Consider refactoring.
]