The conclusion is that i have 8 html pages 4 for developer and 4 for manager which have slight changes in the table headers i.e Opened,accepted.completed,closed, aftter using listview all of them come into one html file because of one model i need them to display accordingly with respect to each user logged in . How do i acheive this
On Monday, 15 November 2021 at 21:17:50 UTC+5:30 Trippy Samurai wrote: > Hi elgato, > Thanks for your reply brother > > I need to change the function based views into class based and generic > views, previously i have implemented different html pages for all the views > like completed,opened,accepted and closed tickets, with class based views i > need to have everything in one single html file ri8 if i am not wrong it > follows some convention like modelname_list.html on top of that i have > multi user signin developer and manager.i am stuck with this how to > implement and u can see the html file below which displays the open tickets > for developer and there are 8 different html pages for developer and > manager for 4 status of ticket as i mentioned at the starting of this > message they all should be in one html page if i use class based generic > view(list view) i am stuck plz help.... > > > [image: Screenshot 2021-11-15 at 9.09.41 PM.png] > > > [image: Screenshot 2021-11-15 at 8.57.33 PM.png] > On Monday, 15 November 2021 at 19:19:42 UTC+5:30 [email protected] > wrote: > >> Hi Trippy. >> >> Be more specific about what part is causing you troubles >> >> El jue, 4 de nov. de 2021 a la(s) 10:59, Trippy Samurai ( >> [email protected]) escribió: >> >>> Hi there, >>> I am new to django and have a problem statement am not quite sure how to >>> approach this,Please help me, >>> >>> >>> Phase 1 Objectives: >>> >>> 1. Use the existing project setup you have already created You may >>> completely reset Django models/database/codebase if needed but make sure >>> you keep celery/redist/celery flower docker setup >>> 2. Extend default Django user model (very imp. you should >>> research/read on this if not sure) >>> a. user with same email address can only signup as either manager or >>> as developer >>> b. Add more models as needed (i.e. Ticket etc) >>> 3. Create different Profile models for PM and Developer (hint: one >>> to one relation to User) >>> 4. Create Two signup page where user can create account as project >>> manager and as developer >>> 5. Create two different login pages for PMs and Developers >>> 6. Each user type is greeted with basic welcome message i.e. >>> dashboard >>> >>> >>> PM Features : >>> >>> 1. Can create new ticket with title and info/description field >>> 2. Can mark ticket as closed once it is marked completed by developer >>> >>> >>> Developer Features: >>> >>> 1. Can accept one or more Ticket if it is open >>> 2. After accepting a ticket it can not be accepted by another >>> developer. Only one user can accept one ticket at a time >>> 3. Developer can then mark accepted ticket as completed >>> >>> >>> Phase 2 Objectives: >>> >>> 1. PM Dashboard : >>> 1. See existing Open tickets >>> 2. See Accepted tickets >>> 3. See Completed tickets >>> 4. See Closed tickets >>> 2. Developer Dashboard >>> 1. See Open tickets >>> 2. See Accepted tickets >>> 3. See Completed tickets >>> 4. See Closed tickets >>> >>> >>> Thank you, >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Django users" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> >> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/django-users/eb344d25-1f60-4cae-8f2f-0e6abb2417abn%40googlegroups.com >>> >>> <https://groups.google.com/d/msgid/django-users/eb344d25-1f60-4cae-8f2f-0e6abb2417abn%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> >> -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/da911740-17ea-4e4c-bd73-94b7bc3e8b50n%40googlegroups.com.

