Mandrill API response 500 Failed to send a message

2014-09-25 Thread Damián Pérez
Hello, I'm using Django 1.7 and Mandrill to send emails and work fine in my project, but i get the next error with django-allauth: Mandrill API response 500 Failed to send a message to [{'type': 'to', 'email': u'myem...@gmail.com', 'name': ''}], from webmaster@localhost Request Method: POST

Static files in templates with VARIABLES

2014-05-05 Thread Damián Pérez
Hello everyone: I'm using for the templates {% static 'images/logo.png' %}, but what can i do if I have the logo url on the variable ?, something like static LOGO thanks. best regards, -- You received this message because you are subscribed to the Google Groups "Django users" group. To

Re: Interesting Django project folder structure.

2014-04-25 Thread Damián Pérez
Hello, I read that the folder *apps* itsn't recomended. You can see this structure: https://github.com/damianpv/skeleton_django Best regards, On Thursday, April 24, 2014 11:41:54 AM UTC-5, Perry Arellano-Jones wrote: > > It's mostly preference, use what suits you. I prefer having all of my

Re: new to Django and Python

2013-12-27 Thread Damián Pérez
this is because you are use special characters. you can include in you python files: # -*- coding: utf-8 -*- regards, On Thursday, December 26, 2013 2:44:24 PM UTC-6, Brent Register wrote: > > I get an error message when I run the > "$ python manage.py syncdb" > Command. > > > 70 >

Re: Get a cookie value

2013-05-13 Thread Damián Pérez
You can use: request.COOKIES["id"] El lunes, 13 de mayo de 2013 07:19:27 UTC-5, Hélio Miranda escribió: > > Hi > > I need to get a cookie value, how can I do? > > I do just so: id = Request.Cookies (date) > > Someone can help me? > -- You received this message because you are subscribed to the

Re: NEED HELP ON RUNNING DJANGO ON XAMPP 1.7 UNDER WIN 8

2013-01-13 Thread Damián Pérez
Try something like this. (work so good with me, i have win 7, virtualhost in wamp and wsgi. *apache - httpd:* *modules:* LoadModule wsgi_module modules/mod_wsgi.so *virtual host* ServerAdmin root@localhost DocumentRoot "D:/htdocs" ServerName localhost #RewriteEngine on

Re: How to install django on Windows xp

2012-06-13 Thread Damián Pérez
Si, a mi me pasó algo similar y era por la versión de python, actualmente Django solo es compatible con python 2.7. Saludos, El miércoles, 13 de junio de 2012 06:34:19 UTC-5, Renne Rocha escribió: > > Hello, > > It appears that you are trying to use Python 3. Django doesn't works > with