[django-users] How to dynamically set crop processor parameters in django-imagekit ?

2013-04-04 Thread Leonardo S
Hi, I am using django-imagekit to crop images. I have this model: *from imagekit.models import ImageSpecField* *from imagekit.processors import Crop* *class Image(models.Model):* *x1 = models.IntegerField(blank=True, default=0)* *y1 = models.IntegerField(blank=True, default=0)* *heig

[django-users] Limit uploaded image properties

2013-03-25 Thread Leonardo S
Hi, Is there a recommended way to limit an uploaded image, either at resolution or size in bytes ? And how to do it in Django ? Regards, Leonardo -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receivi

Re: [django-users] Error when registering a new user - Django 1.5

2013-03-22 Thread Leonardo S
name', 'last_name', 'bio', 'username')* * * From: https://groups.google.com/forum/?fromgroups=#!topic/django-users/kOVEy9zYn5c Should not it be the UserCreationForm standard? 2013/3/23 Leonardo S > Hi, > > I am getting an error when registering a new user in a

[django-users] Error when registering a new user - Django 1.5

2013-03-22 Thread Leonardo S
Hi, I am getting an error when registering a new user in a Django 1.5 app. It is the postgres' log: *BRT ERROR: relation "auth_user" does not exist at character 280* *BRT COMMAND: SELECT "auth_user"."id", "auth_user"."password", "auth_user"."last_login", "auth_user"."is_superuser", "auth_user".

Re: Django hosting companies

2013-01-29 Thread Leonardo S
heroku, dotCloud, Gondor.io, webfaction ... 2013/1/29 Frankline > Have you tried webfaction? Very easy to setup. > > On Tue, Jan 29, 2013 at 4:30 PM, Gustavo Andres Angulo > wrote: > >> There is a similar solution to Heroku, called nuagehq.com >> >> >> >> regards >> >> On Tue, Jan 29, 2013 at

Re: ImageField upload_to issue

2013-01-25 Thread Leonardo S
There is no t_upload_path 2013/1/25 Sammael > Hello, folks! > > Here is the relevant part of my model: > > def i_upload_to(instance, filename): > return '/'.join([strftime('i/%y%m/%d'), filename]) > > def t_upload_to(instance, filename): > return '/'.join([strftime('t/%y

Re: Which django-cart fork should I use?

2013-01-25 Thread Leonardo S
Hi, I used this fork once http://code.google.com/u/101353298620714815735/ But i didn't install. I created my own version based on its code. Em sexta-feira, 25 de janeiro de 2013, frocco escreveu: > Hello, > I installed pip install django-cart, but am having issues when trying to update a cart wi

Re: define form in yaml file

2013-01-24 Thread Leonardo S
Hi, I'm new to Django and here. yaml file is commonly used in Rails framework. Django uses simple python file (settings.py). What security risk? Have you got any example ? 2013/1/24 Adrian Andreias > Hello, > > I need a way to define a django form through a yaml file (or another text > forma