summaryrefslogtreecommitdiff
path: root/django/models
AgeCommit message (Collapse)Author
2006-05-02MERGED MAGIC-REMOVAL BRANCH TO TRUNK. This change is highly ↵Adrian Holovaty
backwards-incompatible. Please read http://code.djangoproject.com/wiki/RemovingTheMagic for upgrade instructions. git-svn-id: http://code.djangoproject.com/svn/django/trunk@2809 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-04-10Renamed OneToOne to OneToOneRel to be consistent with ManyToManyRelAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2650 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-04-10Renamed ManyToOne to ManyToOneRel to be consistent with ManyToManyRelAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2649 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-07fixes #1180 - added another random number to the get_new_session_key ↵Georg Bauer
function to prevent early duplicates git-svn-id: http://code.djangoproject.com/svn/django/trunk@1851 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-25MERGED NEW-ADMIN BRANCH (except for po/mo files, which will come in a ↵Adrian Holovaty
separate commit) git-svn-id: http://code.djangoproject.com/svn/django/trunk@1434 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-24Converted django/models/__init__.py to use unix newlines, not DOSAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1401 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-24Fixed small typo in User object; thanks David AscherJacob Kaplan-Moss
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1396 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-21Fixed #273 -- BACKWARDS-INCOMPATIBLE CHANGE -- Changed auth.User.password ↵Adrian Holovaty
field to add support for other password encryption algorithms. Renamed password_md5 to password and changed field length from 32 to 128. See http://code.djangoproject.com/wiki/BackwardsIncompatibleChanges for upgrade information git-svn-id: http://code.djangoproject.com/svn/django/trunk@1327 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-14Fixed #121 -- Django now quotes all names in SQL queries. Also added unit ↵Adrian Holovaty
tests to confirm. Thanks, Robin Munn and Sune. git-svn-id: http://code.djangoproject.com/svn/django/trunk@1224 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-11BACKWARDS-INCOMPATIBLE CHANGE -- Moved flatpages and redirects to standalone ↵Adrian Holovaty
apps in django.contrib that are NOT installed by default. See http://code.djangoproject.com/wiki/BackwardsIncompatibleChanges for full migration information. git-svn-id: http://code.djangoproject.com/svn/django/trunk@1166 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-09Fixed #683 -- Lightly refactored meta.fields.Field to add an attname attribute.Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1150 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-07Fixed #669 -- core.Site objects are now editable in the adminAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1119 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-06Fixed #741 -- Made models.core.Session.get_decoded() fault-tolerant, in case ↵Adrian Holovaty
of funky pickled data. Thanks, kieranholland git-svn-id: http://code.djangoproject.com/svn/django/trunk@1099 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-04Merged i18n branch into the trunk! Fixes #65, and perhaps some others. NB: ↵Jacob Kaplan-Moss
this means that the i18n branch is now obsolete and will be made read-only. git-svn-id: http://code.djangoproject.com/svn/django/trunk@1068 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-19Fixed #627 -- BACKWARDS-INCOMPATIBLE CHANGE. Admin is now an app, not a ↵Adrian Holovaty
middleware. See BackwardsIncompatibleChanges for a full list of changes and information on how to update your code. git-svn-id: http://code.djangoproject.com/svn/django/trunk@948 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-18Removed legacy TODO comment from django.models.authAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@938 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-13Fixed metasystem bug when using get_related_many_to_many() method with a ↵Adrian Holovaty
custom-named primary key. Thanks, stane git-svn-id: http://code.djangoproject.com/svn/django/trunk@639 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-25Fixed #122 -- BIG, BACKWARDS-INCOMPATIBLE CHANGE. Changed model syntax to ↵Adrian Holovaty
use fieldname=FieldClass() syntax. See ModelSyntaxChangeInstructions for important information on how to change your models git-svn-id: http://code.djangoproject.com/svn/django/trunk@549 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-16Fixed #1 -- Added anonymous session support via middleware and ↵Adrian Holovaty
request.session. Removed the former request.session, which wasn't being used anyway. Removed auth.Session model. See the BackwardsIncompatibleChanges wiki page for IMPORTANT notes on code you'll have to change and a DB table you'll have to create. git-svn-id: http://code.djangoproject.com/svn/django/trunk@518 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-10Fixed #118 -- Renamed 'flat files' to 'flat pages' in the admin. Didn't ↵Adrian Holovaty
rename it in the Python code, because too many things would break. git-svn-id: http://code.djangoproject.com/svn/django/trunk@477 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-10Fixed #81 -- Admin now supports primary_key=True for non-integer fields. ↵Adrian Holovaty
Note that you'll have to make a change to your database if you're using a previous Django installation and want to use non-integer primary key fields. See the BackwardsIncompatibleChanges wiki page for info. git-svn-id: http://code.djangoproject.com/svn/django/trunk@469 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-02Removed redundant verbose names from auth and core models, because they're ↵Adrian Holovaty
no longer required git-svn-id: http://code.djangoproject.com/svn/django/trunk@388 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-02Removed id field from auth.Message model -- it's impliedAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@386 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-01Refactored meta.py -- created a django.core.meta package, with init.py and ↵Adrian Holovaty
fields.py git-svn-id: http://code.djangoproject.com/svn/django/trunk@378 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-26Fixed #163 -- Added 'pk' database API option, which is a shorthand for ↵Adrian Holovaty
(primary_key)__exact git-svn-id: http://code.djangoproject.com/svn/django/trunk@316 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-22Fixed #146 -- Changed order_by and ordering parameters to be less verbose. ↵Adrian Holovaty
The old syntax is still supported but will not be supported by first release. git-svn-id: http://code.djangoproject.com/svn/django/trunk@292 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-21Fixed #92 -- meta.Admin 'fields' parameter is now optional. If it's not ↵Adrian Holovaty
given, Django will use all editable fields by default. This cuts down on redundancy. Also updated relevant docs to reflect the change. git-svn-id: http://code.djangoproject.com/svn/django/trunk@265 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-21Fixed #114 -- Changed uses of deprecated 'whrandom' module to 'random'Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@262 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-20Changed models.auth.Session.get_session_from_cookie to raise ↵Adrian Holovaty
SessionDoesNotExist instead of SuspiciousOperation if tamper check fails git-svn-id: http://code.djangoproject.com/svn/django/trunk@234 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-20Added missing import to [230]Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@231 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-20Fixed #95 -- Added SECRET_KEY setting instead of hard-coding keys that are ↵Adrian Holovaty
shared for every Django installation. 'django-admin.py startproject' now creates a random SECRET_KEY. The auth and comments modules, and the admin middleware, all use SECRET_KEY now, instead of hard-coded values. git-svn-id: http://code.djangoproject.com/svn/django/trunk@230 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-19Fixed the annoying login error that happens in some cases when ↵Adrian Holovaty
REGISTRATION_COOKIE_DOMAIN isn't set. Now, generally you don't have to sete REGISTRATION_COOKIE_DOMAIN unless you want to use multi-domain cookies (such as '.foo.com') git-svn-id: http://code.djangoproject.com/svn/django/trunk@216 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17Changed models.auth.LogEntry.get_admin_url NOT to be hard-coded with an ↵Adrian Holovaty
initial slash git-svn-id: http://code.djangoproject.com/svn/django/trunk@158 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-16Added help_text to auth.User.password_md5Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@126 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-14Created django.contrib and moved comments into itAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@28 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-14Changed many-to-many API to be get_FOO_list instead of get_FOOsAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-13Imported Django from private SVN repository (created from r. 8825)Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3 bcc190cf-cafb-0310-a4f2-bffc1f526a37