hachyderm.io is one of the many independent Mastodon servers you can use to participate in the fediverse.
Hachyderm is a safe space, LGBTQIA+ and BLM, primarily comprised of tech industry professionals world wide. Note that many non-user account types have restrictions - please see our About page.

Administered by:

Server stats:

8.9K
active users

Matthias K

@carlton That mostly happens (or happened) when applying decorators in views.py (not urls.py) in the past.

Separating by HTTP method is fine but where do you put the common parts for all methods which you want to run before entering the method-specific parts? Without something like ccbv.co.uk/ or the source I'd be lost, but I can also go the route of 'if request.method == ...' which still works.

ccbv.co.ukDjango Class-Based-View Inspector -- Classy CBVThe best way to understand Django's class-based views is to see it in Classy CBV, so pick your version and jump in at the deep end.