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

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

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

Post 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 36 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.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply