Thursday, January 30, 2014

Re: App_step.readme_id may not be NULL

Neither seem to work

    readme_form.user = request.user
    readme_object = readme_form.save()
    step_forms.readme_template = readme_object
    step_forms.save()

or

    readme_form.user = request.user
    readme_object = readme_form.save()
    step_forms.readme = readme_object
    step_forms.save()

It is still giving me the integrity error, and the readme model doesn't seem to have the user assigned to it.

--
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 post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/3fc72c97-a3fe-4ce0-a37b-1ef0442fd051%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment