MCPcopy Create free account
hub / github.com/Dispatcharr/Dispatcharr / get

Method get

apps/m3u/views.py:14–20  ·  view source on GitHub ↗

Handles GET requests for the M3U dashboard. Renders the m3u.html template with M3U account data.

(self, request, *args, **kwargs)

Source from the content-addressed store, hash-verified

12@method_decorator(login_required, name='dispatch')
13class M3UDashboardView(View):
14 def get(self, request, *args, **kwargs):
15 """
16 Handles GET requests for the M3U dashboard.
17 Renders the m3u.html template with M3U account data.
18 """
19 m3u_accounts = M3UAccount.objects.all()
20 return render(request, 'm3u/m3u.html', {'m3u_accounts': m3u_accounts})
21
22 def post(self, request, *args, **kwargs):
23 """

Callers 15

__init__Method · 0.45
saveMethod · 0.45
clean_uploaded_fileMethod · 0.45
cleanMethod · 0.45
createMethod · 0.45
validateMethod · 0.45
to_representationMethod · 0.45
updateMethod · 0.45
createMethod · 0.45
increment_stream_countFunction · 0.45
decrement_stream_countFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected