Re: Duplicate window for upload image

2015-10-14 Thread Rosangela Oliveira
Thanks, i will try in another group. -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-developers+unsubscr...@googleg

DUTH sprint

2015-10-14 Thread Ola Sendecka
Hi all, during Django Under the Hood there will be a Django sprint and we plan to make it awesome. We plan to prepare list of tickets, features or topics that might be tackled during the sprint and create groups around it (nobody is forced to join any group, though). It will: * help attendees

Re: Duplicate window for upload image

2015-10-14 Thread Tim Graham
Please write to django-users, this mailing list is for the development of Django itself. On Wednesday, October 14, 2015 at 10:32:55 AM UTC-7, Rosangela Oliveira wrote: > > Hi,I need some help > > I have a problem when I try to upload the image in a django project, it's > open the windows t

Duplicate window for upload image

2015-10-14 Thread Rosangela Oliveira
Hi,I need some help I have a problem when I try to upload the image in a django project, it's open the windows to upload the image twice. in HTML I did: http://shackmanlab.org/wp-content/uploads/2013/07/person-placeholder.jpg"; width='125px' height='125px' style="float:left; margi

Re: Django pass User instance to Forms when form is created

2015-10-14 Thread Tim Graham
Please write to django-users, this mailing list is for the development of Django itself. On Wednesday, October 14, 2015 at 2:50:56 AM UTC-7, Ernest Appiah wrote: > > > > > I have a Django form and l would like to pass a user instance when the > form is created > > *First Approach* > > This is wh

Django pass User instance to Forms when form is created

2015-10-14 Thread Ernest Appiah
I have a Django form and l would like to pass a user instance when the form is created *First Approach* This is where l create the form and pass the instance of the user: form = QuestionForm(request.user, request.POST) And inside the QuestionForm def __init__(self, user, *args, **kwargs):