- changed status to resolved
Updated example (django > 1.6?) of customizing the Write form
Issue #115
resolved
the patterns
method no longer exists, can you provide an example of how to set a custom form using a current version of Django?
https://django-postman.readthedocs.io/en/latest/views.html#forms
Also, I can't tell where url the code is supposed to go. I'm including the postman urls as recommended, in my project level urls.py:
urlpatterns = [
...
url("r'messages/', include('postman.urls', namespace='postman'),
]
So, even if I figure out the proper urlpatterns line of code, I don't know where to put it so that it will overwrite the default write view.
Comments (1)
-
repo owner - Log in to comment
Fixed in repository.
See the new beginning of https://bitbucket.org/psam/django-postman/wiki/views for how to implement your own custom views.