Django

Code

Ticket #4245: 4245.diff

File 4245.diff, 0.9 kB (added by ubernostrum, 1 year ago)

Tutorial patch explaining how to fix permissions issue

  • tutorial01.txt

    old new  
    4141code, then run the command ``django-admin.py startproject mysite``. This 
    4242will create a ``mysite`` directory in your current directory. 
    4343 
     44.. admonition:: Max OS X permissions 
     45    
     46   If you're using Mac OS X, you may see the message "permission 
     47   denied" when you try to run ``django-admin.py startproject``. This 
     48   is because, on Unix-based systems like OS X, a file must be marked 
     49   as "exceutable" before it can be run as a program. To do this, open 
     50   Terminal.app and navigate (using the `cd` command) to the directory 
     51   where ``django-admin.py`` is installed, then run the command 
     52   ``chmod +x django-admin.py``. 
     53 
    4454.. note:: 
    4555 
    4656    You'll need to avoid naming projects after built-in Python or Django