Need Guidance

7 views
Skip to first unread message

yammu...@gmail.com

unread,
Jun 28, 2020, 1:13:56 AM6/28/20
to Django users
Hello Everyone,

if any one please give me an guidance how to add secondary fields in models in backend. for example if i add a secondary location to the google company then i will have one more card details with location of india and another card of the same company detail should be same but location willl be the secondary location.

looking for the guidance 

Thank you in advance.


Ogunsanya Opeyemi

unread,
Jun 28, 2020, 1:39:25 AM6/28/20
to django...@googlegroups.com
Hi, Name the first location as location1 and the second location as location2.

--
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 django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/0a32f741-6334-4db4-a824-af75de2645f9n%40googlegroups.com.

yammu...@gmail.com

unread,
Jun 28, 2020, 1:43:30 AM6/28/20
to django...@googlegroups.com

Yes  naming the location is ok. But If I sort one location other location should be hide and details should be visible

Ogunsanya Opeyemi

unread,
Jun 28, 2020, 3:05:06 AM6/28/20
to django...@googlegroups.com
Can you share your template, url, and views, lets check it to see how to solve the problem


On Sunday, June 28, 2020, yammu...@gmail.com <yammu...@gmail.com> wrote:

Yes  naming the location is ok. But If I sort one location other location should be hide and details should be visible

 

From: Ogunsanya Opeyemi
Sent: Sunday, 28 June 2020 1:38 PM
To: django...@googlegroups.com
Subject: Re: Need Guidance

 

Hi, Name the first location as location1 and the second location as location2.

 

On Sun, Jun 28, 2020, 6:14 AM yammu...@gmail.com <yammu...@gmail.com> wrote:

Hello Everyone,

 

if any one please give me an guidance how to add secondary fields in models in backend. for example if i add a secondary location to the google company then i will have one more card details with location of india and another card of the same company detail should be same but location willl be the secondary location.

 

looking for the guidance 

 

Thank you in advance.

 

 

--
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 django-users+unsubscribe@googlegroups.com.

--
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 django-users+unsubscribe@googlegroups.com.

 

--
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 django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/970A851E-B852-4131-9A08-DFA483E8A6D0%40hxcore.ol.


--
OGUNSANYA OPEYEMI

Reply all
Reply to author
Forward
0 new messages