mirror of
				https://github.com/django/django.git
				synced 2025-10-31 09:41:08 +00:00 
			
		
		
		
	Fixed #4245 -- Added documentation about permission error on OS X. Thanks, jacob@gridface.com and ubernostrum and others
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6224 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
		| @@ -41,6 +41,16 @@ 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. | ||||
|  | ||||
| .. admonition:: Max OS X permissions | ||||
|     | ||||
|    If you're using Mac OS X, you may see the message "permission | ||||
|    denied" when you try to run ``django-admin.py startproject``. This | ||||
|    is because, on Unix-based systems like OS X, a file must be marked | ||||
|    as "exceutable" before it can be run as a program. To do this, open | ||||
|    Terminal.app and navigate (using the `cd` command) to the directory | ||||
|    where ``django-admin.py`` is installed, then run the command | ||||
|    ``chmod +x django-admin.py``. | ||||
|  | ||||
| .. note:: | ||||
|  | ||||
|     You'll need to avoid naming projects after built-in Python or Django | ||||
|   | ||||
		Reference in New Issue
	
	Block a user