Re: How to solve this problem: Custom User with ForeinKey to another model. (model does not exist)

2015-10-06 Thread Erol Merdanović
If the order is the problem, then you can define dependencies https://docs.djangoproject.com/en/1.8/howto/writing-migrations/#controlling-the-order-of-migrations On Tuesday, 6 October 2015 16:34:04 UTC+2, Fellipe Henrique wrote: > > Just to update... these error occurs when I use PostgreSQL,

Re: Integrating RabbitMQ with Django

2015-09-17 Thread Erol Merdanović
r > Curitiba - Paraná > www.felipetomaz.com > > On Thu, Sep 17, 2015 at 4:48 AM, Erol Merdanović <zase...@gmail.com > > wrote: > >> @Felipe >> >> Yes, I use very similar approach. Thank you for the example. >> >> I found a great project https://github

Re: Integrating RabbitMQ with Django

2015-09-17 Thread Erol Merdanović
Tomaz wrote: > > I create and use this class to manipulate the queues > > https://gist.github.com/Arenhardt/8ac7e7667134c28eceed > > -- > Felipe Arenhardt Tomaz > Systems Developer > Curitiba - Paraná > www.felipetomaz.com > > On Wed, Sep 16, 2015 at 2:01 PM

Re: Integrating RabbitMQ with Django

2015-09-16 Thread Erol Merdanović
, Felipe Tomaz wrote: > > For manual manipulation recommend Pika[1] > > [1] https://pypi.python.org/pypi/pika > > -- > Felipe Arenhardt Tomaz > Systems Developer > Curitiba - Paraná > www.felipetomaz.com > > On Wed, Sep 16, 2015 at 10:53 AM, Erol Merdanović <za

Re: Integrating RabbitMQ with Django

2015-09-16 Thread Erol Merdanović
nstration-using-image-processing-app-on-flask/ > > ). > On 16-Sep-2015 6:53 PM, "Erol Merdanović" <zase...@gmail.com > > wrote: > >> Hi all >> >> I'm using Django to develop a service. Service connects to RabbitMQ and >> receives events

Re: Integrating RabbitMQ with Django

2015-09-16 Thread Erol Merdanović
ar easier and more stable than trying to use a webserver as a queue worker. > > On Wed, Sep 16, 2015 at 10:22 AM, Erol Merdanović <zase...@gmail.com > > wrote: > >> Hi all >> >> I'm using Django to develop a service. Service connects to RabbitMQ and >&

Integrating RabbitMQ with Django

2015-09-16 Thread Erol Merdanović
Hi all I'm using Django to develop a service. Service connects to RabbitMQ and receives events that are translated to creating/updating/deleting of the database records. What is the best way to run RabbitMQ consumer with Django? I'm using Pika library and I run consumer as a management

Sending email using EmailMultiAlternatives where from_email contains comma

2014-04-21 Thread Erol Merdanović
Hi all I'm using EmailMultiAlternatives to send email. I defined from_email as Mike and it works great. But, if I try to send with Mike, CEO I get an error that Mike is not valid email. How to correctly send email which contains comma in sender? --