On Saturday, April 7, 2012 8:02:46 AM UTC-7, Shawn Milochik wrote: > > >> > Field objects take 'connection' and 'prepared' kwargs in Django 1.4. It > sounds like you're using a custom field which was written before those > parameters existed, or perhaps you upgraded from a previous version and > didn't delete all the .pyc files. > > If it's the latter, it's a good idea to completely delete your Django > directory from site-packages before re-installing. If it's the former, you > can add the kwargs with a default of None and pass the values to the > super() call. >
Russell's response is correct, but speaking of stale *.pyc files that may occasionally bite you, try putting this in your bash aliases: alias delpyc='find . -name "*.pyc" -print0 | xargs -0 rm -rf' Then you safely run "delpyc" from the top level of your project at any time to remove them all, ensuring that whatever problem you're experiencing isn't a result of them. ./s > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/uL_aRgtsEJoJ. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.