Any reason you're not using `manage.py shell`? It automatically loads the
Django environment, and supports IPython.
On Wednesday, March 9, 2016 at 7:35:45 PM UTC+1, Dariusz Mysior wrote:
>
> Ok I have it. I put it to starting scripts
>
> W dniu środa, 9 marca 2016 18:48:15 UTC+1 użytkownik Dariu
Ok I have it. I put it to starting scripts
W dniu środa, 9 marca 2016 18:48:15 UTC+1 użytkownik Dariusz Mysior napisał:
>
> I have Django 1.8 Python 3.4
>
> My app contact. I have model and form like below and when I run command
>
>
>
>> from contact.forms import MessageForm
>>
> and next
>
I found that when I write import django and next django.setup() to terminal
than it works. But next question, when I put it to automaticly run it...
W dniu środa, 9 marca 2016 18:48:15 UTC+1 użytkownik Dariusz Mysior napisał:
>
> I have Django 1.8 Python 3.4
>
> My app contact. I have model and
3 matches
Mail list logo