Trying to debug an issue with django-oscar where it doesn't show images, looking at its template, I found the relevant code. http://pastebin.com/64rHdLRz 1 and 2 are both printed, but 3 isn't. Indicating that the thumbnail failed, but how on earth can a call to thumbnail fail?
a_jones has quit
knite joined the channel
silverfix has quit
zenoamaro joined the channel
looks like it's using thumbnail-sorl for thumbnailing.
ustunozgur joined the channel
twikz joined the channel
quetzakubica has quit
ustunozgur has quit
xll11
if I live in Israel, which TIME_ZONE should I use?
felixsamora has quit
futuredale[UF] is now known as futuredale
Azelphur
fixed, it was silent failing because pillow wasn't built with jpeg support, handy \o/
Ariel_Calzada joined the channel
nlh joined the channel
scruz joined the channel
Sample has quit
xll11
Any command to change projectname for a project
tbaxter
just change the directory name?
gazumps has quit
garrypolley joined the channel
jproffitt joined the channel
djangonoob
I want to use a simple tag like {% my_tag arg as variable %} but why I get "my_tag received too many positional arguments"?
tbaxter
djangonoob: Sounds to me like you want an assignment tag
A bit confused - I can do: `from myapp.models import model` in /myapp/views.py but the same import throws an error when called from /myapp/templatetags/mytags.py - I ihave __init__.py and the tags load fine if I remove the problematic import statement.... :/
cjwelborn joined the channel
guhcampos has quit
flenter has quit
felixsamora has quit
thedodd has quit
guhcampos joined the channel
josuebrunel has quit
mauricioantunes joined the channel
eMyller has quit
patrick91 joined the channel
thedodd joined the channel
arkore has quit
Erica_Northman joined the channel
PRISMBITCH has quit
Erica_Northman
Im using a class I made for validating apikeys. This works well. But I want to use the same class for running scheduled validation, This doesnt work well. The loop of all api keys stops if one of the keys fails, get raised validationerror.
Well, continue seems appropriate... Not sure exactly what you're trying to do? I guess the risk is that there may be consequences for silencing errors.... if they have an impact on subsequent actions in your code...
Erica_Northman
ok ty :)
kenbolton has quit
sudobangbang has quit
mauricioantunes has quit
quake_guy has quit
chachan joined the channel
HowardwLo
What do you guys think is the best way to do a countdown timer?
munichlinux has quit
mauricioantunes joined the channel
freinhard
i've got a forms.ModelForm which computes one field of the Model and extends cleaned_data to have it saved in the model instance. unfortunately that's not the way one should do this (doesn't work)
munichlinux joined the channel
gumbah has quit
epopt37 has quit
i found construct_instance in django.forms.models just won't pass any additional information that i add to cleaned_data when there is no formfield
patrick91 has quit
dlam joined the channel
mattmcc
You can override the form's save method to add data to the model. Of course without a model field to put it in, it still wouldn't be saved to the DB.