Page 1 of 1

Q9) You are now tasked with saving news data for your Django news application. You have the form called AddArtice which

Posted: Fri Jul 08, 2022 6:16 am
by answerhappygod
Q9 You Are Now Tasked With Saving News Data For Your Django News Application You Have The Form Called Addartice Which 1
Q9 You Are Now Tasked With Saving News Data For Your Django News Application You Have The Form Called Addartice Which 1 (43.64 KiB) Viewed 37 times
Q9) You are now tasked with saving news data for your Django news application. You have the form called AddArtice which is linked to a model called Article. Write the necessary view logic in a function called addArticle to achieve this. Assume that the data must be posted and the entry must be added to the database once the form is validated. You may assume that you have a template called article.html, and the template requires two parameters a form, and a message. A message should be sent back if the article was added successfully or not.