oups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>
--
Rodrigue Villetard
--
You received this message because you are su
me my
paid job. I wanted a full friendly community developped framework and
the little i've seen from django is far more attractive than Zend
Framework...
Have a nice end of week end.
Rodrigue V.
--
You received this message because you are subscribed to the Google Groups
"Django users&q
nd
Framework...
I've a nice end of week end.
Rodrigue Villetard
--
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
d
there should be an a_ptr and an a_ptr_id
attributes (check with a dir(b) for example). The first one is the
instance of A associated with b, and the second the id of that
instance of A. So, I imagine that:
b = B()
b.a_ptr = a
b.save()
or
b = B()
b.a_ptr_id = a_id
b.save()
should do what you wan
.
Rodrigue
On Jul 17, 3:57 am, Russell Keith-Magee
wrote:
> On Fri, Jul 17, 2009 at 9:56 AM, Joshua Partogi
> wrote:
> > Hi Russ,
>
> > To expand this question. Do we use unittest for testing forms? Because from
> > what I see in the code, doctest only tests your model.
ere a better way of achieving that?
Rodrigue
On Jul 13, 12:26 pm, Rodrigue wrote:
> Hi all,
>
> I have been
> usingdjango-logging(http://code.google.com/p/django-logging/wiki/Overview)
> and found it very useful. However, I configured
> python logging for my project anddjango-
the
correct term is regarding the logging module).
I have tried setting propagate=1 in my logging.conf, hoping that my
log messages would be propagated to the root logger but no...
Quite perplexed as to what the config is supposed to be.
Any idea anyone?
Rodrigue
--~--~-~--~~~
of your db connections and won't
close them.
Rodrigue
On Jul 9, 9:59 pm, Javier Guerra wrote:
> On Thu, Jul 9, 2009 at 3:30 PM, Javier Guerra wrote:
> > maybe is it possible to use signals like this? i haven't checked the
> > source, but it seems plausible to have them dispatched
Are there other urls defined in your file? If so, do the views they
reference exist already? Django tries to load all the views it finds
in all url files defined.
It seems to me that you may have a url mapped to a 'select' view but
that view does not exist.
On Jul 6, 12:32 pm, Phil wrote:
> Hi,
If you're creating your objects through forms, the clean() method on
your form may even be a better place for that:
http://docs.djangoproject.com/en/dev/ref/forms/validation/#cleaning-and-validating-fields-that-depend-on-each-other
Rodrigue
On Jul 1, 10:58 am, Kenneth Gonsalves wrote:
Hi Russell,
I bumped into the same issue today and was glad I found this post.
However, I found that I had to use unicode() rather than str(),
which turns your example into:
content = dict((key, [unicode(v) for v in values]) \
for key, values in
form.error
Hi all,
I am writing some unit tests using the django.test.client.Client to
send requests to my views. I'm using django 1.0 final
I am having problems when sending a post request though. Here is my
code:
post_content_type = "application/x-www-form-urlencoded"
data = {}
data['username'] = 'test
ny help or clue about what goes on inside django that could create
this behaviour would be really appreciated.
Thank you in advance.
Regards,
Rodrigue
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django u
13 matches
Mail list logo