django-dummyimage
django-dummyimage copied to clipboard
Request for minor update of README of Installation
Hello, May I suggest an addition to the README file which suggests that to install dummyimage, adding the urlpatterns to the development servers urlconf is needed for the reverse operation to work.
In app urls.py:
from dummyimage.urls import urlpatterns as dummy_urls
After declaration of urlpatterns:
urlpatterns += dummy_urls
I landed spending an hour figuring out why does the reverse keep failing before I sorted this out. Figured I would suggest it.
Thoughts?
Update: Updated the line based on the following comment
That suggestion saved me a lot of debugging time, thanks.
Btw.: it should be instead of: import dummyimage.urls import urlpatterns as dummy_urls
this: from dummyimage.urls import urlpatterns as dummy_urls