- Implemented models for DropCampaign, Game, Organization, DropBenefit, TimeBasedDrop, and DropBenefitEdge. - Created views for listing and detailing drop campaigns. - Added templates for dashboard, campaign list, and campaign detail. - Developed management command to import drop campaigns from JSON files. - Configured admin interface for managing campaigns and related models. - Updated URL routing for the application. - Enhanced README with installation instructions and project structure.
13 lines
361 B
Python
13 lines
361 B
Python
from __future__ import annotations
|
|
|
|
from django.urls import path
|
|
|
|
from twitch import views
|
|
|
|
app_name = "twitch"
|
|
|
|
urlpatterns = [
|
|
path("", views.dashboard, name="dashboard"),
|
|
path("campaigns/", views.DropCampaignListView.as_view(), name="campaign_list"),
|
|
path("campaigns/<str:pk>/", views.DropCampaignDetailView.as_view(), name="campaign_detail"),
|
|
]
|