Re: Django-admin problem

2018-05-04 Thread Kamal Kumar Bharadwaj
Hi all,

Thanks for al your help. My error was i was missing a / in
websites/urls.py  in urlpatterns(music).

On Sat, May 5, 2018, 1:19 AM Mikko Meronen <mikkovillemero...@gmail.com>
wrote:

> Thank you for your help.
>
> I also found a video that helped me with PowerShell (just if someone else
> has the same problem): https://www.youtube.com/watch?v=3TqO5FfhV28
>
>
> 2018-05-04 21:27 GMT+03:00 Matthew Pava <matthew.p...@iss.com>:
>
>> And you’re using PowerShell instead of the command prompt.  I typically
>> just work in the command prompt.  With PowerShell, you may have to be more
>> explicit in your path, such as using “.\django-admin startproject mysite”
>>
>>
>>
>> *From:* django-users@googlegroups.com [mailto:
>> django-users@googlegroups.com] *On Behalf Of *Jani Tiainen
>> *Sent:* Friday, May 4, 2018 1:26 PM
>> *To:* django-users@googlegroups.com
>> *Subject:* Re: Django-admin problem
>>
>>
>>
>> Hi,
>>
>>
>>
>> By the looks of error you're running windows.
>>
>>
>>
>> By default scripts are not in PATH so you need to type something like
>> c:\python36\scripts\django-admin.py
>>
>>
>>
>> Or you should use virtualenv (or pipenv) which would set path correctly.
>>
>>
>>
>> pe 4. toukokuuta 2018 klo 19.51 Mikko <mikkovillemero...@gmail.com>
>> kirjoitti:
>>
>> Hi,
>>
>>
>>
>> I'm trying to follow the tutorial, but I got this problem at the very
>> beginning when I tried ''django-admin startproject mysite'':
>>
>>
>>
>> django-admin : The term 'django-admin' is not recognized as the name of a
>> cmdlet, function, script file, or operable pr
>>
>> ogram. Check the spelling of the name, or if a path was included, verify
>> that the path is correct and try again.
>>
>> At line:1 char:1
>>
>> + django-admin startproject mysite
>>
>> + 
>>
>> + CategoryInfo  : ObjectNotFound: (django-admin:String) [],
>> CommandNotFoundException
>>
>> + FullyQualifiedErrorId : CommandNotFoundException
>>
>>
>>
>> Could someone help me to overcome this?
>>
>>
>>
>>
>>
>> --
>> 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/28096273-fd67-4084-ba8a-f4e3c75d5916%40googlegroups.com
>> <https://groups.google.com/d/msgid/django-users/28096273-fd67-4084-ba8a-f4e3c75d5916%40googlegroups.com?utm_medium=email_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/CAHn91odAtLj7Xc%3DChc0f7yLZ-HY7hiM3%3DaNSRxhY1MQd_qbREw%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CAHn91odAtLj7Xc%3DChc0f7yLZ-HY7hiM3%3DaNSRxhY1MQd_qbREw%40mail.gmail.com?utm_medium=email_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/9a713a6d5e6a43e987a422e33be385e1%40ISS1.ISS.LOCAL
>> <https://groups.google.com/d/msgid/django-users/9a713a6d5e6a43e987a422e33be385e1%40ISS1.ISS.LOCAL?utm_medium=email_source=footer>
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>

Re: Django-admin problem

2018-05-04 Thread Mikko Meronen
Thank you for your help.

I also found a video that helped me with PowerShell (just if someone else
has the same problem): https://www.youtube.com/watch?v=3TqO5FfhV28


2018-05-04 21:27 GMT+03:00 Matthew Pava <matthew.p...@iss.com>:

> And you’re using PowerShell instead of the command prompt.  I typically
> just work in the command prompt.  With PowerShell, you may have to be more
> explicit in your path, such as using “.\django-admin startproject mysite”
>
>
>
> *From:* django-users@googlegroups.com [mailto:django-users@
> googlegroups.com] *On Behalf Of *Jani Tiainen
> *Sent:* Friday, May 4, 2018 1:26 PM
> *To:* django-users@googlegroups.com
> *Subject:* Re: Django-admin problem
>
>
>
> Hi,
>
>
>
> By the looks of error you're running windows.
>
>
>
> By default scripts are not in PATH so you need to type something like
> c:\python36\scripts\django-admin.py
>
>
>
> Or you should use virtualenv (or pipenv) which would set path correctly.
>
>
>
> pe 4. toukokuuta 2018 klo 19.51 Mikko <mikkovillemero...@gmail.com>
> kirjoitti:
>
> Hi,
>
>
>
> I'm trying to follow the tutorial, but I got this problem at the very
> beginning when I tried ''django-admin startproject mysite'':
>
>
>
> django-admin : The term 'django-admin' is not recognized as the name of a
> cmdlet, function, script file, or operable pr
>
> ogram. Check the spelling of the name, or if a path was included, verify
> that the path is correct and try again.
>
> At line:1 char:1
>
> + django-admin startproject mysite
>
> + 
>
> + CategoryInfo  : ObjectNotFound: (django-admin:String) [],
> CommandNotFoundException
>
> + FullyQualifiedErrorId : CommandNotFoundException
>
>
>
> Could someone help me to overcome this?
>
>
>
>
>
> --
> 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/28096273-fd67-4084-ba8a-f4e3c75d5916%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/28096273-fd67-4084-ba8a-f4e3c75d5916%40googlegroups.com?utm_medium=email_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/CAHn91odAtLj7Xc%3DChc0f7yLZ-
> HY7hiM3%3DaNSRxhY1MQd_qbREw%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAHn91odAtLj7Xc%3DChc0f7yLZ-HY7hiM3%3DaNSRxhY1MQd_qbREw%40mail.gmail.com?utm_medium=email_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/9a713a6d5e6a43e987a422e33be385e1%40ISS1.ISS.LOCAL
> <https://groups.google.com/d/msgid/django-users/9a713a6d5e6a43e987a422e33be385e1%40ISS1.ISS.LOCAL?utm_medium=email_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/CAGD0jjKsJpsWW58FYwK1LgPBdLWL48MLEqv55ZkQDvb2aguXRQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


RE: Django-admin problem

2018-05-04 Thread Matthew Pava
And you’re using PowerShell instead of the command prompt.  I typically just 
work in the command prompt.  With PowerShell, you may have to be more explicit 
in your path, such as using “.\django-admin startproject mysite”

From: django-users@googlegroups.com [mailto:django-users@googlegroups.com] On 
Behalf Of Jani Tiainen
Sent: Friday, May 4, 2018 1:26 PM
To: django-users@googlegroups.com
Subject: Re: Django-admin problem

Hi,

By the looks of error you're running windows.

By default scripts are not in PATH so you need to type something like 
c:\python36\scripts\django-admin.py

Or you should use virtualenv (or pipenv) which would set path correctly.

pe 4. toukokuuta 2018 klo 19.51 Mikko 
<mikkovillemero...@gmail.com<mailto:mikkovillemero...@gmail.com>> kirjoitti:
Hi,

I'm trying to follow the tutorial, but I got this problem at the very beginning 
when I tried ''django-admin startproject mysite'':

django-admin : The term 'django-admin' is not recognized as the name of a 
cmdlet, function, script file, or operable pr
ogram. Check the spelling of the name, or if a path was included, verify that 
the path is correct and try again.
At line:1 char:1
+ django-admin startproject mysite
+ 
+ CategoryInfo  : ObjectNotFound: (django-admin:String) [], 
CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException

Could someone help me to overcome this?


--
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<mailto:django-users+unsubscr...@googlegroups.com>.
To post to this group, send email to 
django-users@googlegroups.com<mailto: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/28096273-fd67-4084-ba8a-f4e3c75d5916%40googlegroups.com<https://groups.google.com/d/msgid/django-users/28096273-fd67-4084-ba8a-f4e3c75d5916%40googlegroups.com?utm_medium=email_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<mailto:django-users+unsubscr...@googlegroups.com>.
To post to this group, send email to 
django-users@googlegroups.com<mailto: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/CAHn91odAtLj7Xc%3DChc0f7yLZ-HY7hiM3%3DaNSRxhY1MQd_qbREw%40mail.gmail.com<https://groups.google.com/d/msgid/django-users/CAHn91odAtLj7Xc%3DChc0f7yLZ-HY7hiM3%3DaNSRxhY1MQd_qbREw%40mail.gmail.com?utm_medium=email_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/9a713a6d5e6a43e987a422e33be385e1%40ISS1.ISS.LOCAL.
For more options, visit https://groups.google.com/d/optout.


Re: Django-admin problem

2018-05-04 Thread Jani Tiainen
Hi,

By the looks of error you're running windows.

By default scripts are not in PATH so you need to type something like
c:\python36\scripts\django-admin.py

Or you should use virtualenv (or pipenv) which would set path correctly.

pe 4. toukokuuta 2018 klo 19.51 Mikko 
kirjoitti:

> Hi,
>
> I'm trying to follow the tutorial, but I got this problem at the very
> beginning when I tried ''django-admin startproject mysite'':
>
> django-admin : The term 'django-admin' is not recognized as the name of a
> cmdlet, function, script file, or operable pr
> ogram. Check the spelling of the name, or if a path was included, verify
> that the path is correct and try again.
> At line:1 char:1
> + django-admin startproject mysite
> + 
> + CategoryInfo  : ObjectNotFound: (django-admin:String) [],
> CommandNotFoundException
> + FullyQualifiedErrorId : CommandNotFoundException
>
> Could someone help me to overcome this?
>
>
> --
> 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/28096273-fd67-4084-ba8a-f4e3c75d5916%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/CAHn91odAtLj7Xc%3DChc0f7yLZ-HY7hiM3%3DaNSRxhY1MQd_qbREw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Django-admin problem

2018-05-04 Thread Mikko
Hi,

I'm trying to follow the tutorial, but I got this problem at the very 
beginning when I tried ''django-admin startproject mysite'':

django-admin : The term 'django-admin' is not recognized as the name of a 
cmdlet, function, script file, or operable pr
ogram. Check the spelling of the name, or if a path was included, verify 
that the path is correct and try again.
At line:1 char:1
+ django-admin startproject mysite
+ 
+ CategoryInfo  : ObjectNotFound: (django-admin:String) [], 
CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException

Could someone help me to overcome this?


-- 
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/28096273-fd67-4084-ba8a-f4e3c75d5916%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.