windows.
I would suggest creating a folder for all your django projects, say
C:\DjangoProjects\ , and run django-admin.py from there.
You do not want to put your django project folder in your www folder,
since that may allow access to the sources themselves, instead of
running them to create the html.
On 1/2/2011 12:14 AM, Anthony Pearce wrote:
> Quote from "Writing your first Django app, part 1":
>
>>From the command line, cd into a directory where you'd like to store
> your code, then run the command django-admin.py startproject mysite.
> This will create a mysite directory in your current directory.
>
> Put your code in some directory outside of the document root, such as /
> home/mycode.
>
>
> OK, please explain where /hom/mycode should be located. Is it
> directly on the C:, or like I have a www folder for playing with html,
> or within the Python directory somewhere? Sorry, but I'm looking at
> this again for the first time in over a year, and need a bump start.
>
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment