Tom,
Thanks for the quick reply! However, when I tried that I got an error
saying that inventoryitem "is an invalid keyword argument for this
function". I fixed this by manually specifying the OneToOneField
relationship with the parent class as inventoryItem and setting
parent_link=True. With that
In my attempts to lower database hits, I found that on most of my
pages, auth_user is hit every time. I had an idea about caching this
object in the current session. Is this a good idea, or will it cause
more problems than it helps? If so, what type of problems will I be
looking at?
My app rare
Okay, so the last one there had a hickup, users could not longer
login, once they have logged out. It kept the AnonymousUser cached...
Here is an update which works with logging back in:
class UserPickleMiddleware(object):
def process_request(self, request):
if 'cached_user' not in request
Your version isn't as bad you think, here is the SQL it generates:
SELECT "relations_person"."id",
"relations_person"."name"
FROM "relations_person"
INNER JOIN "relations_person_friends" ON ("relations_person"."id" =
"relations_person_friends"."to_person_id")
WHERE "relations_person_friends
hi have a template with a form and many inputs that pass some data
trough a POST request to a view, that process them and send the result
to another template. in the final template, if i use the browser back
button to jump to the first view, i can see again old data. i refresh
the page and i insert
Hi all,
i am using the backport of django's new formwizard (https://github.com/
stephrdev/django-formwizard).
and i am looking for the recommended way to pass data between the
different forms/steps.
Basically i am using the formwizard to process a series of forms that
let the user (further) speci
Hello,
I'm having troubles when deleting related objects.
class Article has:
related_articles = models.ManyToManyField
tags = models.ManyToManyField
class Attachments has:
models.ForeignKey(Article
1. I would like to customize delete confirmation page to show(list)
related
Hi Django-users!
I'm using Satchmo (a Django project) and I'm having what I believe to
be a generic Django problem.
What's going on is that I'm trying to get a custom shipping module to
show up in this list:
https://skitch.com/nymbot/grp34/site-settings-cups-and-cakes-bakery-site-administrati
Hey,
I started doing some heavier reading on MongoDB and realized that is
awesome! I took a look around at using it as a back-end for Django and
it seems like you have to use the Django-norel fork.
My question to those who have used it -- is it a fairly extensive
change to go from a standard rela
Hi, I'm working on a site use mongodb.
We didn't use Django-norel since it require to change django itself.
Instead we use mongoengine to replace the model, works good so far.
But use mongoengine you have to change those third party applications
yourself.
On Sun, Oct 30, 2011 at 11:57 AM, Kurtis
10 matches
Mail list logo