Re: How does django-admin work?

2021-05-31 Thread Thomas Lockhart
Welcome to Django!

Django does not add django-admin to your path. Rather, when Django is installed 
it (sometimes) happens to be installed into a place which is already in your 
path. Otherwise, you need to add it to your path or use a packaging system such 
as anaconda which helps do that for you.

startproject simply copies a set of files to your directories, filling in a few 
details and changing the file names to match what you want to create since you 
give it the name of your new project.

hth

- Tom

> On May 31, 2021, at 5:43 PM, J Lee  wrote:
> 
> I'm new to Django, and I've just been dazzled by the magic of Django. My main 
> question is how does Django add django-admin to my path automatically and how 
> does django-admin startproject create my files?
> 
> It may be wy over my head, but I welcome any and all response. I would 
> like to learn from this. 
> 
> Thank you.
> 
> -- 
> 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 view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/5b022968-ac51-4e49-873d-f9a3b7b88ba4n%40googlegroups.com
>  
> .

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/8834A390-1F46-4405-826D-E7A3A1DCE384%40gmail.com.


How does django-admin work?

2021-05-31 Thread J Lee
I'm new to Django, and I've just been dazzled by the magic of Django. My 
main question is how does Django add django-admin to my path automatically 
and how does django-admin startproject create my files?

It may be wy over my head, but I welcome any and all response. I would 
like to learn from this. 

Thank you.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/5b022968-ac51-4e49-873d-f9a3b7b88ba4n%40googlegroups.com.