Foreign key attribute in django

39 views
Skip to first unread message

Harjot Mann

unread,
Mar 19, 2014, 11:57:20 PM3/19/14
to django...@googlegroups.com
I have a field in my form that is related with foreign key to another
form and when I am filling a form that is required field but sometimes
I need to leave it blaink, how can I do this?

--
Harjot Kaur Mann
Blog: http://harjotmann.wordpress.com/
Daily Dairy: http://harjotmann.wordpress.com/daily-diary/

Satinderpal Singh

unread,
Mar 22, 2014, 10:49:26 AM3/22/14
to django...@googlegroups.com


On Mar 20, 2014 9:28 AM, "Harjot Mann" <harjotm...@gmail.com> wrote:
>
> I have a field in my form that is related with foreign key to another
> form and when I am filling a form that is required field but sometimes
> I need to leave it blaink, how can I do this?
>

And the same problem is still there:)
Please show me the code.

--
Satinderpal Singh

Harjot Mann

unread,
Mar 22, 2014, 10:57:21 AM3/22/14
to django...@googlegroups.com
On Sat, Mar 22, 2014 at 8:19 PM, Satinderpal Singh
<satinder...@gmail.com> wrote:
> And the same problem is still there:)
> Please show me the code.

Sorry didn't get you.
Are you facing the same problem or do you want to say something else?

Satinderpal Singh

unread,
Mar 22, 2014, 11:08:01 AM3/22/14
to django...@googlegroups.com


On Mar 22, 2014 8:27 PM, "Harjot Mann" <harjotm...@gmail.com> wrote:
>
> On Sat, Mar 22, 2014 at 8:19 PM, Satinderpal Singh
> <satinder...@gmail.com> wrote:
> > And the same problem is still there:)
> > Please show me the code.
>
> Sorry didn't get you.
> Are you facing the same problem or do you want to say something else?
>

I wonder you didn't remember the problem related to automation software.:)

--
Satinderpal Singh



Harjot Mann

unread,
Mar 22, 2014, 11:17:52 AM3/22/14
to django...@googlegroups.com
On Sat, Mar 22, 2014 at 8:38 PM, Satinderpal Singh
<satinder...@gmail.com> wrote:
> I wonder you didn't remember the problem related to automation software.:)


No it's not the automation problem. I caught you right :P
BTW, the problem is solved as I posted the mail, it was simple as we
do in other fields to get rid of validations that is blank=True and
null=True.
Reply all
Reply to author
Forward
0 new messages