Thursday, July 8, 2010

Re: models.py import from other models.py

This problem is resolved.

What I did is
1.comment out "models.ManyToManyField" line and execute "manage.py
syncDB".
2.Back to code "models.ManyToManyField" line and execute "manage.py
evolve --hint --execute"
Then appli_master table was auto-generated.

I don't know why this way goes right.

But, now I have another problem.

I use ModelForm to deal the table, I try to submit and form.save()
then the data column is added Appli table successfully, but
appli_master table has no updated data.

orz..

On Jul 9, 2:15 am, Nuno Maltez <nuno.li...@gmail.com> wrote:
> What error do you get when you execute  'manage.py syncDB'? Could you
> paste it here?
>
> Nuno
>
> On Thu, Jul 8, 2010 at 2:28 AM, yugori <yuya.gor...@gmail.com> wrote:
> > Hi, I'm beginner.
>
> > I tried to execute 'manage.py syncDB' command,
> > but it's not work.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate