- Standardized string quotes across multiple files to use double quotes for consistency. - Improved formatting of JSON dumps in mock data for better readability. - Enhanced the structure of various functions and data definitions for clarity. - Updated test cases to reflect changes in data structure and ensure accuracy.
This commit is contained in:
@@ -14,13 +14,17 @@ Including another URLconf
|
||||
1. Import the include() function: from django.urls import include, path
|
||||
2. Add a URL to urlpatterns: path('blog/', include('blog.urls'))
|
||||
"""
|
||||
|
||||
from django.conf import settings
|
||||
from django.contrib import admin
|
||||
from django.urls import path, include
|
||||
from django.urls import include, path
|
||||
from django.views.generic import RedirectView
|
||||
|
||||
urlpatterns = [
|
||||
path('admin/', admin.site.urls),
|
||||
path('favicon.ico', RedirectView.as_view(url=settings.STATIC_URL + 'favicon.ico', permanent=False)),
|
||||
path('', include('dashboard.urls')),
|
||||
path("admin/", admin.site.urls),
|
||||
path(
|
||||
"favicon.ico",
|
||||
RedirectView.as_view(url=settings.STATIC_URL + "favicon.ico", permanent=False),
|
||||
),
|
||||
path("", include("dashboard.urls")),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user