Updated example (django > 1.6?) of customizing the Write form

Issue #115 resolved
Former user created an issue

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)

  1. Log in to comment