Commit Graph

73 Commits

Author SHA1 Message Date
Adrian Holovaty a537a4efa1 Changed 'django-admin startapp' so that it doesn't create the 'urls' directory. People have said they're a bit overwhelmed by the multiple url directories, and this one isn't necessary for basic Django usage. You can always make it yourself if you know what you're doing and want to decouple/distribute your apps.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@415 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-05 22:43:35 +00:00
Adrian Holovaty b307fb09bb Fixed #239 and #107 -- Changed model init() to use Field.get_default() if the value wasn't explicitly passed as a keyword argument. That means setting 'id=None' is no longer necessary, and you can leave off fields if you want them to have default values set.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@360 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-01 16:26:39 +00:00
Adrian Holovaty f188d5930d Fixed #143 -- Clarified the need for an environment variable in tutorial 1. Thanks, sdelatorre@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@328 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-26 22:58:39 +00:00
Adrian Holovaty 786c750c40 Fixed #163 -- Added 'pk' database API option, which is a shorthand for (primary_key)__exact
git-svn-id: http://code.djangoproject.com/svn/django/trunk@316 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-26 16:11:43 +00:00
Adrian Holovaty 4ab1e196c4 Fixed #169 -- Thanks, django@gimbo.org.uk
git-svn-id: http://code.djangoproject.com/svn/django/trunk@301 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-23 15:47:06 +00:00
Jacob Kaplan-Moss e320a0936e Added sqlite3 database backend -- somewhat tested, but probably not 100% perfect.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@288 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-22 03:15:43 +00:00
Jacob Kaplan-Moss 8b58f8b3ae Fixed #141 -- thanks sdelatorre@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@284 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-21 19:19:01 +00:00
Adrian Holovaty 10ace9a124 Added clarification about 'django-admin.py sqlclear' to docs/tutorial01
git-svn-id: http://code.djangoproject.com/svn/django/trunk@253 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-20 21:01:47 +00:00
Jacob Kaplan-Moss 99a75541fd Fixed small problem in [250]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@251 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-20 20:12:29 +00:00
Jacob Kaplan-Moss e5a8c38fa1 Added "philosophy" sections to tutorials so they can be styled differently
git-svn-id: http://code.djangoproject.com/svn/django/trunk@250 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-20 20:10:35 +00:00
Adrian Holovaty ec31445c52 Added '--settings' option to django-admin. This specifies which settings module to use, if you don't want to deal with setting the DJANGO_SETTINGS_MODULE environment variable. Refactored django-admin to use optparse. Updated the tutorials to use '--settings' instead of environment variables, which can be confusing.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@247 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-20 17:42:36 +00:00
Adrian Holovaty df66763406 Fixed #67 -- Human-readable name is now optional in model fields. If a second positional argument isn't given, Django will use the first argument, converting underscores to spaces. This change is fully backwards-compatible.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@212 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-19 17:20:37 +00:00
Adrian Holovaty dd85d8da10 Fixed #50 -- Fixed small bug in tutorial1 directory-listing example. Thanks, sirpete@iki.fi!
git-svn-id: http://code.djangoproject.com/svn/django/trunk@163 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-18 02:48:52 +00:00
Adrian Holovaty fe3373c794 Fixed inevitable ReST bugs in [150]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@151 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 15:59:59 +00:00
Adrian Holovaty f87473e12d Fixed inevitable ReST bugs in [149]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@150 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 15:59:37 +00:00
Adrian Holovaty 7718319cbd Fixed inevitable ReST bugs in [148]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@149 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 15:58:53 +00:00
Adrian Holovaty ad8e55db9b Added notes to documentation that MySQL support has not been comprehensively tested. Thanks, Simon!
git-svn-id: http://code.djangoproject.com/svn/django/trunk@148 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 15:53:56 +00:00
Adrian Holovaty 7e951c92f3 Changed tutorial01 to clarify how to set an environment variable in Windows. Thanks, JZ!
git-svn-id: http://code.djangoproject.com/svn/django/trunk@146 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 15:23:34 +00:00
Adrian Holovaty a1ef6aa10b Fixed mistake in tutorial01 -- it mentioned expiration date by mistake. Thanks for the pointer, Barryp!
git-svn-id: http://code.djangoproject.com/svn/django/trunk@143 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 06:12:58 +00:00
Adrian Holovaty c9cc6f87f9 Finished tutorial02 and added a link to it from tutorial01
git-svn-id: http://code.djangoproject.com/svn/django/trunk@142 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 06:11:33 +00:00
Adrian Holovaty b4168db4af Changed tutorial01 so that it explicitly says: Make sure you've already created the database
git-svn-id: http://code.djangoproject.com/svn/django/trunk@104 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-16 16:01:34 +00:00
Adrian Holovaty 451cdae8ae Added link to installation guide from docs/tutorial01.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@100 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-16 05:34:17 +00:00
Adrian Holovaty e327294ade Renamed docs/tutorial.txt to docs/tutorial01.txt in preparation for the long list of extremely helpful tutorials
git-svn-id: http://code.djangoproject.com/svn/django/trunk@99 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-16 05:20:04 +00:00