#23376: Inconsistent documentation about required Storage methods
-------------------------------+------------------------------------------
     Reporter:  jaap3          |      Owner:  nobody
         Type:  Bug            |     Status:  new
    Component:  Documentation  |    Version:  master
     Severity:  Normal         |   Keywords:  custom storage documentation
 Triage Stage:  Unreviewed     |  Has patch:  0
Easy pickings:  0              |      UI/UX:  0
-------------------------------+------------------------------------------
 https://docs.djangoproject.com/en/dev/howto/custom-file-storage/ mentions
 the following:


 > [...] but you **must** implement the following methods:
 > * Storage.delete()
 > * Storage.exists()
 > * Storage.listdir()
 > * Storage.size()
 > * Storage.url()


 Yet https://docs.djangoproject.com/en/dev/ref/files/storage/#the-storage-
 class says that `delete`, `listdir`, `size` and `url` may raise
 `NotImplementedError`. Which is it?

--
Ticket URL: <https://code.djangoproject.com/ticket/23376>
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/048.e0e69296173ba4ee02d279fe64f75873%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to