HI daniel, thanks for the reply
After your comments, I have used ModelForm to simplify my code. I have also achieved redirecting the desired url by using the redirect() function. My issues are still basically the same however:
- I do not know how to tell Django to render a template at the redirected url.
I've tried passing redirect differnt views and params etc. to no avail.
I am trying to have the event_page view handle the redirect and render the template it returns. I know I am not relating the redirect and the view at all, this is because I do not know how. If I try to relate them in some way like this: return redirect('event_page', event)
I get the error: Reverse for 'event_page' with arguments '(<Event: pppzzz>,)' and keyword arguments '{}' not found.
I am sort of hazy on the use of the third parameter in my second url pattern. I know the first param is a regex, the second is the view that handles the url, and from what I understand by reading the docs, the third param is a type of distinguisher used if you are calling the same view for different urls.
Any thoughts on where I would begin to for rendering a template at the redirected url?
Thanks,
Matt