What’s the actual error?

Did you mean ALLOWED_HOSTS? If so you can just add:
ALLOWED_HOSTS=[‘*’]

On Tue, Jun 5, 2018 at 12:55 PM Jamie Roberts <[email protected]>
wrote:

> Hi,
>
> This is from memory and may not be your problem but ... I had to add
> 127.0.0.1 to ALLOWED_USERS in settings.py
>
> Sent from my iPhone
>
> On 5 Jun 2018, at 16:38, Avitab Ayan Sarmah <[email protected]> wrote:
>
> While going through the turolal 7 of the django project, couldn't connect
> to the url.Please comment why my local host refused to connect
>
> --
> 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 [email protected].
> To post to this group, send email to [email protected].
> 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/e948142e-163f-4a82-bc91-46c16c292c5d%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/e948142e-163f-4a82-bc91-46c16c292c5d%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 [email protected].
> To post to this group, send email to [email protected].
> 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/93BADF4F-E86D-47B7-9034-1D61408850D6%40gmail.com
> <https://groups.google.com/d/msgid/django-users/93BADF4F-E86D-47B7-9034-1D61408850D6%40gmail.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 [email protected].
To post to this group, send email to [email protected].
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/CAE-E-_0fGD-7a%3DY4w-%2BjvR%3DZ3Zj6QdyRmZgc9PDWjXuaW_gX2A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to