summaryrefslogtreecommitdiff
path: root/docs/tutorial01.txt
diff options
context:
space:
mode:
authorJustin Bronn <jbronn@gmail.com>2007-09-20 13:02:11 +0000
committerJustin Bronn <jbronn@gmail.com>2007-09-20 13:02:11 +0000
commit7376474260a967e7ad88ee5bf554b4a28e3e7feb (patch)
tree735479f07bbe7cde8385b44ff76552afc9c2bffc /docs/tutorial01.txt
parent69452d623794bc9ef160c33c5e9b02180ca4848d (diff)
gis: Merged revisions 6021-6393 via svnmerge from [repos:django/trunk trunk].
git-svn-id: http://code.djangoproject.com/svn/django/branches/gis@6394 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/tutorial01.txt')
-rw-r--r--docs/tutorial01.txt12
1 files changed, 11 insertions, 1 deletions
diff --git a/docs/tutorial01.txt b/docs/tutorial01.txt
index 60c527216b..4e97dcd541 100644
--- a/docs/tutorial01.txt
+++ b/docs/tutorial01.txt
@@ -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 "executable" 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
@@ -383,7 +393,7 @@ Note the following:
the SQL to the database.
If you're interested, also run the following commands:
- * ``python manage.py validate polls`` -- Checks for any errors in the
+ * ``python manage.py validate`` -- Checks for any errors in the
construction of your models.
* ``python manage.py sqlcustom polls`` -- Outputs any custom SQL statements