LiveServerTestCase loggin

2016-04-06 Thread Matwey V. Kornilov
Hello, I am using LiveServerTestCase (Django 1.9) for unit-test and I see that some of the tests get 500 from the server. How could I read the live server logs to understand the origin of 500? There is DEBUG=True in my settings, but not any output from the server. -- You received this message b

UPLOADING MULTIPLE FILES

2016-04-06 Thread Karthik Reddy
Hi Experts, I am trying to upload multiple files.(Just like in Gmail It says Attach File). I am able to upload single file. Here is my view http://pastebin.com/GmawadFm And My template http://pastebin.com/i7J9ffE1 Can anyone help me in doing this Please Thanks, karthik -- You received t

Re: Problems with dumpdata/loaddata

2016-04-06 Thread ludovic coues
Both error look like encoding error. In the JS file, it look like there is a byte order mark at the start of the file. The first line of both file might help to understand the error. 2016-04-06 1:45 GMT+02:00 : > I want to dump and load data for two apps that I have. Using dumpdata works > fine:

Re: how shall I built online address book using Django

2016-04-06 Thread thumbi migwe
Hi, Did you manage to this? i'm also new in django and would like to do this. which tutorial did you use? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django

Re: Problems with dumpdata/loaddata

2016-04-06 Thread Vijay Khemlani
Your apps are called members and posts, or those are the names of the models? On Wed, Apr 6, 2016 at 9:20 AM, ludovic coues wrote: > Both error look like encoding error. > In the JS file, it look like there is a byte order mark at the start > of the file. > The first line of both file might help

Re: Problems with dumpdata/loaddata

2016-04-06 Thread jorrit787
Thank you for the replies. *members* and *posts* are the names of my apps. The first line of the XML file when I open it in Notepad says: The JSON file has no distinguishable first line, it just starts right away with the data. On Wednesday, April 6, 2016 at 1:45:44 AM UTC+2, jorr...@gmail.c

Re: Looking for ways to improve my skills

2016-04-06 Thread Devrhoid Davis
Thank you guys. I really appreciate it. I have started on my own website. I'll be sure to share with the community as soon as it reaches a stage I am comfortable with. Sincerely; Devrhoid O. Davis, devrhoid.da...@gmail.com / devrhoid.da...@outlook.com (876)491-6186 | (876) 783-0452 BSc. Medica

Re: Looking for ways to improve my skills

2016-04-06 Thread Devrhoid Davis
Thank you Mario. Appreciate the information. Sincerely; Devrhoid O. Davis, devrhoid.da...@gmail.com / devrhoid.da...@outlook.com (876)491-6186 | (876) 783-0452 BSc. Medical Physics /w Electronics, Research Assistant, Department of Physics, University of the West Indies Mona, Kingston 7, Jamaica.

Re: Looking for ways to improve my skills

2016-04-06 Thread Devrhoid Davis
Thanks Chris Sincerely; Devrhoid O. Davis, devrhoid.da...@gmail.com / devrhoid.da...@outlook.com (876)491-6186 | (876) 783-0452 BSc. Medical Physics /w Electronics, Research Assistant, Department of Physics, University of the West Indies Mona, Kingston 7, Jamaica. "For in all things, excellence i

Re: Looking for Django people to attend/staff booth at PgConf.US 2016

2016-04-06 Thread Joshua D. Drake
Hello, I just wanted to thank the Django community for stepping up and volunteering for a booth. We with PgConf.US are happy to have you there! Sincerely, JD -- Command Prompt, Inc. http://the.postgres.company/ +1-503-667-4564 PostgreSQL Centered full

Re: Looking for ways to improve my skills

2016-04-06 Thread Asif Saifuddin
Hi, I have been working with django for 3years. 1 thing I wanna add with others, that is I tried django based popular cms project like mezzanine, django-cms, wagtail etc. and other popular django packages docs and source code. This helped me a lot to understand different parts of django's use c

Re: Filter_horizontal, applying filter on the right box - chosen items

2016-04-06 Thread Dustin Dobernig
I know this is question is old but I was looking for the solution myself and couldn't find an quick answer so I ended up just doing it myself. My solution is here https://djangosnippets.org/snippets/10560/ -- You received this message because you are subscribed to the Google Groups "Django use

Re: how shall I built online address book using Django

2016-04-06 Thread Luis Zárate
Maybe if you help us web could help you. How do you design your problem? What are your coding plans? What problems do you identify? What do you need to know ? ( models, views, urls, admin site) Django and the other frameworks are only utilities, are in you the responsability to solve the problem.

Django Multiple User Profiles Best Practices

2016-04-06 Thread Sudhanshu Shekhar
Hi, I am creating a tutor-student forum using Django. For which I need to have two different user profiles, one for students and one for teachers. However, I am unsure about the best way to do this. I am currently following the below approach: class UserProfile: user = models.OneToOneField(Us

Re: Django tutorial part 3 - question_id vs question.id

2016-04-06 Thread Acetone
This is awesome, and I appreciate the time you spent writing it. Besides just answering the question I had, this also helped me make some new connections around OOO topics. Also, I do not intend to use the question id as a numbering system - I was just trying to access the id for its own sake