Good morning,

I think the error comes from making modifications to django's settings.
I started the project again and now the django shell works.

Thanks for your interest !!!
Fernando

El sábado, 6 de enero de 2018, 7:51:01 (UTC+1), Matemática A3K escribió:
>
>
>
> On Fri, Jan 5, 2018 at 8:32 PM, FernandoJMM <fern...@lagunadeduero.com 
> <javascript:>> wrote:
>
>> Hello everyone,
>>
>> I'm learning django. I am in the official documentation of django link:
>>
>> *https://docs.djangoproject.com/en/2.0/intro/overview/ 
>> <https://docs.djangoproject.com/en/2.0/intro/overview/>*
>>
>> After creating the model and doing the migrate I go to the section called 
>> *Enjoy 
>> the free API* to test in the python terminal 
>>
>
> Did you get to that python terminal by "python manage.py shell" on the 
> base directory of your project?
>  
>
>> and I get an error when executing the *import*, it says that it can not 
>> find the module.
>>
>> *The only difference with the documentation* is that I am executing it 
>> from a *virtualenv*.
>>
>> it can be fixed ?
>>
>
> I think so :) 
>  
>
>>
>> Thank you all
>>
>> -- 
>> 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-users...@googlegroups.com <javascript:>.
>> To post to this group, send email to django...@googlegroups.com 
>> <javascript:>.
>> Visit this group at https://groups.google.com/group/django-users.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/c9941c85-2a42-439f-8999-856507f5f74d%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/django-users/c9941c85-2a42-439f-8999-856507f5f74d%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
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-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/d2302294-e824-4796-afed-93f023bdb2a8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to