#35682: Clarify Base<FOO>View usage in docstrings.
-------------------------------------+-------------------------------------
     Reporter:  Jesús Leganés-       |                    Owner:
  Combarro                           |  YashRaj1506
         Type:                       |                   Status:  assigned
  Cleanup/optimization               |
    Component:  Generic views        |                  Version:  5.1
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  1                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Comment (by Clifford Gama):

 Replying to [comment:11 Jesús Leganés-Combarro]:
 > In addition of the DocString, what about adding an implementation of
 `render_to_response()` that `raise NotImplementedError()` to make the
 error explicit in runtime?

 Sounds like a good idea, but I wasn't sure about it since no
 `NotImplementedError()` are raised in any of the other `BaseFOOView`s and
 most other Mixins. I think we will have to ask about this in the Django
 Internals Forum.
-- 
Ticket URL: <https://code.djangoproject.com/ticket/35682#comment:12>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/010701916747b357-c66f9237-fd88-474a-a720-10e919195cfc-000000%40eu-central-1.amazonses.com.

Reply via email to