Re: URL path not working with Django ver 2.1.2

2018-11-23 Thread gordon nchy
in your url u tried to make use of regularexpression sign i.e ^$ so i
suggest u will have to make it a raw string in this way ( r'^$' ).


gnchy

On 23 Nov 2018 10:31, "Yavin Aalto Arba"  wrote:

> Path is not using regular expressions. Use empty quotes and it should
> work.
>
> On Fri, Nov 23, 2018, 5:28 AM Ben Hamlitsch 
>> This is the message I get when I run python manage.py runserver
>>
>> [image: Screen Shot 2018-11-22 at 7.18.58 PM.png]
>>
>>
>> This is my setup in Atom
>>
>>
>> [image: Screen Shot 2018-11-22 at 7.22.10 PM.png]
>>
>>
>> ANY help you can provide much appreciated.
>>
>> --
>> 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/11324094-eea3-488c-b8dd-9e0cc1d38262%
>> 40googlegroups.com
>> 
>> .
>> 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/CA%2B%2Be-ZUdOsZRJwJwikmbMN-EzTuY9H%
> 2BOf61XpWGXquLgpX_L%3Dw%40mail.gmail.com
> 
> .
> 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/CAEYkjC0Bw3woM0L3nTiPOfPeJ6Z3B7FyLpG6%2BNcbaB%2B3NaTR-A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: URL path not working with Django ver 2.1.2

2018-11-23 Thread Ben Hamlitsch
Excellent thank you very much for your help.

Ben Hamlitsch

> On Nov 23, 2018, at 2:20 AM, Jani Tiainen  wrote:
> 
> Hi,
> 
> And if you want to still use old regular expressions you can use "re_path" 
> instead of "path".
> 
>> On Fri, Nov 23, 2018 at 5:28 AM Ben Hamlitsch  wrote:
>> This is the message I get when I run python manage.py runserver
>> 
>> 
>> 
>> 
>> 
>> This is my setup in Atom 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> ANY help you can provide much appreciated.
>> -- 
>> 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/11324094-eea3-488c-b8dd-9e0cc1d38262%40googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
> 
> 
> -- 
> Jani Tiainen
> 
> - Well planned is half done, and a half done has been sufficient before...
> -- 
> 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/CAHn91odfGEDdU4cYSQKp3ZV41WCQ_ZF0v8nTd7hf7LstcYNZag%40mail.gmail.com.
> 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/36524A17-A455-4183-A833-FF9EA23EC968%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: URL path not working with Django ver 2.1.2

2018-11-23 Thread Jani Tiainen
Hi,

And if you want to still use old regular expressions you can use "re_path"
instead of "path".

On Fri, Nov 23, 2018 at 5:28 AM Ben Hamlitsch  wrote:

> This is the message I get when I run python manage.py runserver
>
> [image: Screen Shot 2018-11-22 at 7.18.58 PM.png]
>
>
> This is my setup in Atom
>
>
> [image: Screen Shot 2018-11-22 at 7.22.10 PM.png]
>
>
> ANY help you can provide much appreciated.
>
> --
> 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/11324094-eea3-488c-b8dd-9e0cc1d38262%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Jani Tiainen

- Well planned is half done, and a half done has been sufficient before...

-- 
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/CAHn91odfGEDdU4cYSQKp3ZV41WCQ_ZF0v8nTd7hf7LstcYNZag%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: URL path not working with Django ver 2.1.2

2018-11-22 Thread Yavin Aalto Arba
Path is not using regular expressions. Use empty quotes and it should work.

On Fri, Nov 23, 2018, 5:28 AM Ben Hamlitsch  This is the message I get when I run python manage.py runserver
>
> [image: Screen Shot 2018-11-22 at 7.18.58 PM.png]
>
>
> This is my setup in Atom
>
>
> [image: Screen Shot 2018-11-22 at 7.22.10 PM.png]
>
>
> ANY help you can provide much appreciated.
>
> --
> 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/11324094-eea3-488c-b8dd-9e0cc1d38262%40googlegroups.com
> 
> .
> 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/CA%2B%2Be-ZUdOsZRJwJwikmbMN-EzTuY9H%2BOf61XpWGXquLgpX_L%3Dw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


URL path not working with Django ver 2.1.2

2018-11-22 Thread Ben Hamlitsch
This is the message I get when I run python manage.py runserver

[image: Screen Shot 2018-11-22 at 7.18.58 PM.png]


This is my setup in Atom 


[image: Screen Shot 2018-11-22 at 7.22.10 PM.png]


ANY help you can provide much appreciated.

-- 
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/11324094-eea3-488c-b8dd-9e0cc1d38262%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.