Re: Installing Django

2011-10-09 Thread Kejun He
Reinstall Django On Mon, Oct 10, 2011 at 11:45 AM, Bob Peene wrote: > Django and Python newby > Following Django 1.0 by Hourieh > 'setup.py install' seemed to go ok > error running django-admin.py (it is in my Win7 path) > > 'django.core import management' > 'no module named core' > > Any insigh

Installing Django

2011-10-09 Thread Bob Peene
Django and Python newby Following Django 1.0 by Hourieh 'setup.py install' seemed to go ok error running django-admin.py (it is in my Win7 path) 'django.core import management' 'no module named core' Any insight as to why? -- You received this message because you are subscribed to the Google Gr

Re: Signals and listeners defined in a separate modules unusable in other apps

2011-10-09 Thread Andy McKay
On 2011-10-08, at 6:59 AM, Guruprasad L wrote: > When the signals.py and listeners.py are in the same app in which the view > function triggers the signal, things are working fine. What could be the > issue here and how to work around it? Most likely your signals and listeners aren't being impo

Re: Question about Signals and Bootstrap

2011-10-09 Thread Andy McKay
On 2011-10-08, at 7:36 AM, Santiago Basulto wrote: > Where can i find some doc that explains how Django is bootstraped and > loaded. I'm looking for this becouse while i was reading the "Signals" > chapter at django docs, i read that "In some circumstances, the module > in which you are connecting

Re: PayPal Adaptive Payments

2011-10-09 Thread Andy McKay
On 2011-10-08, at 12:50 PM, Ian wrote: > This is easy to do with PayPal's Adaptive Payments, and I've done it > with PHP, but I'm trying to get it working on Django. Any advice? That's more a PayPal question than a Django one. But at Mozilla we use adapative payments with Django. Our codebase i

Re: question : Add HTTP-GET accessabilty to 'Poll', Based on samuraisam's django-json-rpc

2011-10-09 Thread bino oetomo
Dear All. C/q Tom Evans, Thankyou for your enlightment On 10/07/2011 05:25 PM, Tom Evans wrote: On Fri, Oct 7, 2011 at 6:31 AM, bino oetomo wrote: The URL you are trying to go to does not match up with the URL you configured in urls.py (nor does it match up with the docs you linked to). Your

Re: PayPal Adaptive Payments

2011-10-09 Thread Ian
So I got the basic merchant functionality working, but I can't figure out the best way to automatically split the payment 3 ways... advice? On Oct 9, 3:02 pm, Ian wrote: > Thanks, Markus! That looks perfect! > > Shawn, I was more curious if this is even possible to do with django. > I was just do

Re: Constant name error undefined in custom template tags

2011-10-09 Thread Daniel Roseman
On Sunday, 9 October 2011 20:26:26 UTC+1, Kayode Odeyemi wrote: > > Hello, > > I'm creating a template tag that will will allow session variables stored > as strings or > dict in a view to be available in its template. The syntax is: > > {% session_value [view_name] [session_variable] [arg] %} >

Re: Javabean-like get & set on ModelForm

2011-10-09 Thread Daniel Roseman
Aargh. Just aaargh. There are so many things wrong with this code I hardly know where to start. Please, try reading some of the documentation, especially the bit about the uses of `get` vs `filter`. On Sunday, 9 October 2011 20:00:36 UTC+1, Kayode Odeyemi wrote: > > Hello, > > I'm using Django M

Constant name error undefined in custom template tags

2011-10-09 Thread Kayode Odeyemi
Hello, I'm creating a template tag that will will allow session variables stored as strings or dict in a view to be available in its template. The syntax is: {% session_value [view_name] [session_variable] [arg] %} But at the moment I don't know how I can get Django to stop throwing name errors

Re: PayPal Adaptive Payments

2011-10-09 Thread Ian
Thanks, Markus! That looks perfect! Shawn, I was more curious if this is even possible to do with django. I was just doing research and wanted to know if there was a better payment system tailored for django (the 'merchant' project looks perfect) thanks guys! On Oct 8, 4:26 pm, Markus Gattol wr

Javabean-like get & set on ModelForm

2011-10-09 Thread Kayode Odeyemi
Hello, I'm using Django ModelForm on add/edit URLs which are both sharing a single template file. The code I'm working with is like this: class WebappAuthorize(models.Model): institution_name = models.CharField(max_length=32, help_text="Enter your institution name") email = models.CharFie

Re: Class Views Questions

2011-10-09 Thread CrabbyPete
Thanks, That helped me understand generic views much better. I'm using mongoengine and also found this set of tools which uses class views https://github.com/wpjunior/django-mongotools On Oct 8, 11:08 am, Flavia Missi wrote: > Hi, > > There's a mixin that does exactly what you're doing in your