E-Commerce / Credit Card Processing

2005-11-30 Thread Brant Harris
Has anyone dealt with online credit-card processing using Python or Django? Currently my php application uses Verisign's PayFlowPro which supports php quite nicely, a few calls and the payment is sent. I'm looking for a similar solution for Django.

Re: Anonymous Sessions

2005-11-18 Thread Brant Harris
Unfortunately the whole thing seemed to cause the "User tampered with cookie" error. I'm not sure why, or how, but storing the results seemed to create the erorr. O well. On 11/18/05, Adrian Holovaty <[EMAIL PROTECTED]> wrote: > > On 11/16/05, Brant Harris <[E

Anonymous Sessions

2005-11-16 Thread Brant Harris
Is it wise to store a large amount of data in an anonymous session? For instance, and most applicable to my design, if I store results of a search in a session like so: request.session['search_results'] = objects.get_list(name__icontains=query) And then I can more easily give paged results back

Custom Manipulator Save

2005-10-27 Thread Brant Harris
I can't seem to figure out how to rig my custom manipulator to save on an object. It keeps telling me: AttributeError: 'Document' object has no attribute 'id' when it saves. I'm confusored.

Re: FileUploadField in an AddManipulator

2005-09-13 Thread Brant Harris
D'oh! Thanks

FileUploadField in an AddManipulator

2005-09-12 Thread Brant Harris
How in the world do you get the file content? I have a manipulator that looks like this: class AddManipulator(formfields.Manipulator): def __init__(self): self.fields = ( formfields.TextField(field_name="title", length=30,

Re: Help me checking this model.. (tb included)

2005-08-22 Thread Brant Harris
ality only if there is a solid use-case for it. So if you can conjure up a model that is a. usefull, and b. cannot be implemented using the current Django ORM, then please post here, because I would be very interested in seeing it. On 8/22/05, xtian <[EMAIL PROTECTED]> wrote: > >

Re: Help me checking this model.. (tb included)

2005-08-22 Thread Brant Harris
> How would this model be implemented in Django? The API provides a > special case where a recursive relationship back to the current entity > is denoted by ForeignKey('self'), but for the more general case of a > circular relationship I can't see a way to avoid the NameError. > > I know in SqlOb

Re: Help me checking this model.. (tb included)

2005-08-22 Thread Brant Harris
> My question is.. if order matters, is there the possibility, expecially > in complex models, to reach a "deadlock" condition? > "Deadlock" really only occurs between processes or threads (http://en.wikipedia.org/wiki/Deadlock). So that is impossible here because your django model is being pro

Re: Help me checking this model.. (tb included)

2005-08-20 Thread Brant Harris
Well I'm not exactly sure what's causing your problem, I have a hunch it has something to do with that to_field option. But regardless, look at your model: Since your Recipie contains the ForeignKey to Intermediary, each of your Recipies can only have one Intermediary, and therefore one Ingredie

Re: On referencing ForeignKey fields in meta.Admin

2005-08-19 Thread Brant Harris
It seems to me that you could simply use the rel_name, and if that's not specified than what it defaults to: the class name. But in my case ,"supervisor_id" didn't work. I had to use "user_id", and I still don't know how to get the ManyToManyField shown there.