wps_forward_bot
🚀 New issue to wemake-services/django-modern-rest by @sobolevn
📝 Ensure that you can include abstract controllers in `Router` (#1445)
Currently Router will say nothing if you try to include Controller with is_abstract == True into the url patterns.
I propose changing as_view logic here:
django-modern-rest/dmr/controller.py
Lines 209 to 223 in 87a02f5
.as_view() must be impossible to call on the abstract controller.
Raise EndpointMetadataError for this case.
#feature #good_first_issue #help_wanted #opensource_september #django_modern_rest
sent via relator
1 · 180 ·