Changes between Version 86 and Version 87 of RemovingTheMagic
- Timestamp:
- Mar 5, 2006, 8:12:08 AM (19 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
RemovingTheMagic
v86 v87 237 237 Session middleware has moved from {{{django.middleware.sessions.SessionMiddleware}}} to {{{django.contrib.sessions.middleware.SessionMiddleware}}}. Make sure to update your {{{MIDDLEWARE_CLASSES}}} setting, if you're using sessions. 238 238 239 239 240 Also, the {{{Session}}} model has moved from django/models/core.py to django/contrib/sessions/models.py. If you're accessing the {{{Session}}} model for some reason, note that location change. 240 241 … … 406 407 || {{{reporters.get_list(fname__exact='John', order_by=('lname',))}}} || {{{Reporter.objects.filter(fname='John').order_by('lname')}}} || 407 408 || {{{reporters.get_object(pk=3)}}} || {{{Reporter.objects.get(pk=3)}}} || 409 || {{{reporters.get_object(complex=(Q(...)|Q(...)))}}} || {{{Reporter.objects.get(Q(...)|Q(...))}}} 410 || 408 411 || {{{reporters.get_object(fname__contains='John')}}} || {{{Reporter.objects.get(fname__contains='John')}}} || 409 412 || {{{reporters.get_list(fname__ne='John')}}} || {{{Reporter.objects.exclude(fname='John')}}} (note that {{{ne}}} is no longer a valid lookup type) ||