Re: App_step.readme_id may not be NULL

2014-01-30 Thread Wnt2bsleepin
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.

Re: App_step.readme_id may not be NULL

2014-01-30 Thread Wnt2bsleepin
> > Didn't seem to work. The step_forms is a modelformset_factory, so I don't > know if that makes a difference. I would also like to assign a user to > the readme_form, but > readme_form.user_id = request.user.id readme_object = readme_form.save() step_forms.readm

App_step.readme_id may not be NULL

2014-01-30 Thread Wnt2bsleepin
I am new to Django and am trying to save two objects from the same form. Models: class ReadmeTemplate(models.Model): """ Represents a bugfix README Contains step models, which contain multiple steps. """ def __unicode__(self): return self.title title =

Modify FileField in Admin

2014-01-16 Thread Wnt2bsleepin
Hello, I am new to Django and have run into a small problem with my application's admin page. It displays the full url to the uploaded file, but when I click on it the link is warped. I have a method to retrieve the file as a download, and would like to put that there instead of the plain url.

Re: Django Internal Server Error

2012-10-09 Thread Wnt2bsleepin
On Tuesday, 9 October 2012 13:46:02 UTC-4, Wnt2bsleepin wrote: > > Can you explain why it's bad to use uppercase names in Nix systems? I will > remake the account if I need to. > Here is the output of python > > > > Python 2.4 (#2, Oct 7 2012, 20:19:23) > [G

Re: Django Internal Server Error

2012-10-09 Thread Wnt2bsleepin
Can you explain why it's bad to use uppercase names in Nix systems? I will remake the account if I need to. Here is the output of python Python 2.4 (#2, Oct 7 2012, 20:19:23) [GCC 4.1.2 20080704 (Red Hat 4.1.2-52)] on linux2 Type "help", "copyright", "credits" or "license" for more informati

Django Internal Server Error

2012-10-07 Thread Wnt2bsleepin
I looked in the log files for apache and it came up with the following. File "/home/Yourdogsdead/uglstats/uglstats/wsgi.py", line 26, in ? from django.core.wsgi import get_wsgi_application ImportError: No module named django.core.wsgi I am not sure why it's not importing properly. -- You r