>
> https://docs.djangoproject.com/en/1.7/ref/signals/#m2m-changed
> On Sat, Mar 7, 2015 at 7:57 AM, Fabien Schwob <xphut...@gmail.com> wrote:
>
>> Hello,
>>
>> I would like to detect changes in a ManyToMany field, to update data
>> in the linked Model. I've two objects :
&
=self.id).categories.all()
Any solutions to handle this case ? With a custom signal, or anything else ?
Thanks
--
Fabien Schwob
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving e
Hello,
I'm setting up a new server to host my Django projects and they don't
each use the same version of Django (0.95, 0.96 and svn). Is their a
way to configure each virtualhost to use their own version of Django ?
Thanks
--
Fabien SCHWOB
can't access the avatar field in a good way (with
select_related()). What is the good solution to solve this problem ?
Thanks
--
Fabien SCHWOB
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users&q
> I'm happy to start up django-mailer list at Google Groups if people
> prefer.
How is it possible to help ? I'm about to write somethink like
django-mailer for a website I maintain, so I think it's better to
contribute to django-mailer.
Does you already have an idea of the architecture of
%}
I've the problem on :
* Django : trunk (I've make an svn up today) / Python : 2.5 / DB: Sqlite
* Django : trunk (from ~1 week) / Python : 2.4.4 / DB: Sqlite
Does someone know how to solve this issue ?
Thanks
--
Fabien SCHWOB
--~--~-~--~~~---~--~~
You received
Hello,
> Does Django have this
> http://api.rubyonrails.com/classes/ActionController/Flash.html
Django provides something similar in the authentification app, but it
works only the the authentificated users :
http://www.djangoproject.com/documentation/authentication/#messages
--
ttp://www.djangoproject.com/documentation/templates_python/#writing-your-own-context-processors
--
Fabien SCHWOB
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send e
or 7.04). So, with
this link I don't know how are Textdrive server configured.
My goal is for example to provide a tutorial on how to build something
like Gypsyhosting from a clean Ubuntu install.
Thanks
--
Fabien SCHWOB
--~--~-~--~~~---~--~~
You received this message
to *touch* the fcgi script.
My goal is to build my shared hosting and to create a document on how
to do that. So, any help are welcome.
Thanks.
--
Fabien Schwob
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Djan
> # Create the decorator
> def decorador(function):
> def new_function(*args, **kwargs):
> # Do what need do
> return function(*args, **kwargs)
> new_function.__doc__ = function.__doc__
> new_function.__name__ = function.__name__
> return new_function
>
>
Hello,
I've some code which is duplicated between all my views and it violate
the DRY principle. So, I would like to use the decorators to eliminate
the duplicated code. Does someone has a simple example on how to do
that.
The code I would like to factorise is the following one :
if
Hello,
I would like to know if someone here has already tried to send mail
using an ESMTP compatible server. When I'm trying to do that, I get
the following error :
smtplib.SMTPAuthenticationError: (535, 'authorization failed (#5.7.0)')
And I can't see if the problem come from Django or from
> To do the filter you want, you can use the 'range' field lookup:
> import datetime
> start_date = datetime.date.today()
> end_date = some_other_date
> events =
> Event.objects.filter(eventdate__beginning_date__range=(start_date,
> end_date))
>
> If you've already picked an event, you can get
> It'd be a great help if you pasted the errors from Apache's error log.
> Also, what kind of 403 errors do you get -- could you include a link
> to a screenshot?
In the error log I get :
[Thu Aug 17 18:31:01 2006] [error] [client 86.73.128.192]
(13)Permission denied: cannot read directory for
Nobody have an idea on how to solve this problem ?
On 8/10/06, Fabien Schwob <[EMAIL PROTECTED]> wrote:
> Hello,
>
> The development of my Django site is on the way. And in order to try
> it online, I've decided to install it under Apache + mod_python. But
> when I'm tryin
Hello,
The development of my Django site is on the way. And in order to try
it online, I've decided to install it under Apache + mod_python. But
when I'm trying to access it, I get a 403 errors on all pages except
the index page.
I've installed it at http://www.cocoa.fr and the virtual host
Hello,
I'm currently developing a Django application and I've a problem in
how to use the filter() function. I've two models that can me resumed
as :
Class Event:
location = models.ForeignKey(Place)
name = models.CharField(maxlength=200)
public_price =
(User.user)
Is-it possible to do that ?
Thanks
--
Fabien SCHWOB
_
Derrière chaque bogue, il y a un développeur, un homme qui s'est trompé.
(Bon, OK, parfois ils s'y mettent à plusieurs
19 matches
Mail list logo