Hi Andreas,
The reason that you are seeing this likely is because of a bug in the way
django handled Postgres autocommit. This has been documented
here:
https://docs.djangoproject.com/en/dev/releases/1.5/#behavior-of-autocommit-database-option-on-postgresql-changed
Regards,
Ryan
On Friday,
Are you using a PUT request to make this change?
If you are making a PUT request, as far as I know, Tastypie will attempt to
replace the resource with what you are sending.
If you only want to update 1 field on the resource, look at making a PATCH
request.
On Thursday, May 30, 2013 6:10:33 AM
I actually just wrote a blog post about why I think extending
contrib.auth.models.User is a better solution to using a OneToOneField
(or a ForeignKey), you can find it here:
http://ryanwest.info/blog/2011/django-tip-5-extending-contrib-auth-models-user/
Please let me know what you think.
if you have a view let's say views.activate that corresponds to the
URL at let's say /account/activate/2, you can use the template tag {%
url views.activate params_for_url_capturing %}
Cheers
On Nov 24, 8:01 am, robos85 wrote:
> Hi,
> I'm writing an email sending module based
Just a django noob, but are you sure that the path for media is set
correctly in your settings.py file?
For instance, my media settings look like:
MEDIA_ROOT = '/home/ryanisnan/ryanwest.info/public/media'
MEDIA_URL = '/media/'
ADMIN_MEDIA_PREFIX = '/media/'
It could be that your MEDIA_ROOT are
Hey Tom,
Any idea why ./activate would be failing "Permission Denied"?
Ryan
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to
Thanks Tom,
I'll have a look at that.
Ryan
>
> Google for virtualenv.
>
> Cheers
>
> Tom
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-us...@googlegroups.com.
> To unsubscribe from this
Disclaimer: This may be more of a python/shared hosting issue, but
alas I'm posting here.
Hey all,
I'm currently just trying to install some 3rd party django apps so I
can use them in my project. I already have django up and running, I'm
hosting on Dreamhost using passenger. I don't have my
Hey Scott, thanks for the reply!
I just figured that out the hard way actually, but I appreciate your
response.
My new directory structure now looks like:
/home/website/djangoprojects/mydjangoproject/
--- /
manage.py
So, I apologize for another topic focused on Django project and app
structure, but every resource I've found is either outdated or
incomplete.
What I am trying to accomplish is the creation & incorporation of
pluggable django applications that are NOT dependent in ANY way on the
project that uses
I found the solution to my own problem. When the page was reloading,
I am guessing that the actual entity had not been deleted yet, and the
method __unicode__(self) was being called, requesting access of
self.image (which did not exist, because that HAD been deleted).
A simple modification to
I'm having a silly issue with the admin interface and an ImageField in
one of my models. A simple model I have contains an ImageField, and
many objects of this model are related to some other model (Project,
not shown). I can add/view images just fine, but when I try to delete
an image, I get a
12 matches
Mail list logo