Re: Django Newb Help

2016-03-18 Thread parker smith
I resolved this problem. On Wednesday, 16 March 2016 18:07:08 UTC-7, parker smith wrote: > > I can modify position and look of the {{ form.to }} with style="position: absolute;">{{ form.to }} tags and css but I don't > think that's the intention... > > On Wednesday, 16 March 2016 16:45:31 UTC-7,

How to save multiple image to its associated foreign key object?

2016-03-18 Thread Tushant Khatiwada
I have posted a question in SO but hasnt got any reply yet. Heres the link for my question. Could anyone please help me? http://stackoverflow.com/questions/36001532/multiple-image-not-saved-to-its-foreign-key-object -- You received this message because you are subscribed to the Google Groups "

Django ImportError: No module named admin

2016-03-18 Thread addison . slabaugh
As a result of attempting to update admin.py of one of my Django apps, I now get a Server Error (500) that has brought my site down. When I import admin from django.contrib, I get the following traceback: Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/django/ut

server connection reset when click on localhost: Python error: wsgiref-> simple_server.py "noneType" object has no attribute split

2016-03-18 Thread amarshall
So I'm moving my work environment from one environment to the next. I did a pip install -r requirements for a list of packages I had. setup the DB. Migration went good. I do runserver and that runs. BUT when I click on the link to the homepage it says "The Connection was reset" in my browser. I

Django Forms vs Angularjs

2016-03-18 Thread Gorkem Tolan
I am a new comer to Django. Last four weeks I have been working on web application purely created with Django framework. I realized that Django forms are very cumbersome to use. I'd rather have DRF (rest framework) and just angularjs form. I am sure alot users will bombard me tons of opposition

Re: Forms in Django

2016-03-18 Thread 술욱
2016-03-18 15:17 GMT-03:00 Stanislav Vasko : > Ufff, i hope there is another way. Something working so simple like > passing data from View to Template with direct access like {{ company.name > }} or {{ company.phone }}. I dont see the point why to modify Model and how > it helps with styling form

Re: Django Newbie - Tutorial Recommendations?

2016-03-18 Thread Stanislav Vasko
Hello, i found very usefull general tutorial at Django site: https://docs.djangoproject.com/en/1.9/intro/tutorial01/ But you can try DjangoGirls (dont worry, its not just for girls): http://tutorial.djangogirls.org Good Luck! -- You received this message because you are subscribed to the Goo

Re: custom FORMAT_SETTINGS

2016-03-18 Thread Erik Stein
Nevermind, I reused the locale-directory for the format-definitions and didn't realize, that the path has to be a python module (or: didn't realize, that the locale directory isn't a module by default). best -- erik On 18.03.2016 11:08, Erik Stein wrote: hello -- I'd like to extend Djan

Re: Forms in Django

2016-03-18 Thread Fred Stluka
Stanislav (aka Stanley?), As my company motto says: "Glad to be of service!". I'm very impressed with Django. It's a mature product that does a good job of: "Making simple things easy, and complex things possible" It has good simple default behaviors, but also hooks that you can use to dri

Re: Deploying Django via wsgi

2016-03-18 Thread parallaxplace
Thank you all for your replies. It turned out to be something simple. Since Django was installed in a virtualenv I needed to include the path to the Django libs in the wsgi paths. Done and site up. Again thanks! On Tuesday, March 15, 2016 at 5:00:10 AM UTC-7, parall...@gmail.com wrote: > > Qu