Just tossing this out, but it might be worth checking to see what
manage.py or django-admin.py reports as the version of Django
installed:

  http://docs.djangoproject.com/en/dev/ref/django-admin/#determining-the-version

At least then you'll be certain whether it's 0.96, 0.97svn or 1.0.

On Jan 12, 7:42 pm, Robocop <btha...@physics.ucsd.edu> wrote:
> Well i definitely have code written for .96 (i may be running .96 or
> a .97 svn checkout).  My problem here is i'm trying to replicate the
> old environment (i.e. i have .96 installed currently), yet something
> is going haywire.  So as of right now, there is no issue with porting
> to 1.0, however if what you're telling me is along the lines of "No
> you jerk, you don't have to do anything special with old projects if
> you're running them with the same version of Django" then i'm in
> business and can at take some other approaches to trying to get my old
> projects up.  Thanks for the input!
>
> On Jan 12, 3:37 pm, "Karen Tracey" <kmtra...@gmail.com> wrote:
>
> > On Mon, Jan 12, 2009 at 6:20 PM, Robocop <btha...@physics.ucsd.edu> wrote:
>
> > > Esteemed colleagues:
>
> > > I've just built a small web server running django .97, with python
> > > 2.4, mysql-python-1.2, and mod_python 3.2.8.
>
> > There was never a Django 0.97 release.  Anything that reports itself as
> > Django 0.97-pre is an SVN checkout from sometime between 0.96 and 1.0 (which
> > spans rather a lot of ground in terms of changes).
>
> > > I've tested and can
> > > start new django applications just fine (haven't fleshed any out to do
> > > further testing), so it looks like the django install is properly
> > > configured.  However, when i try to run any of my old projects via
> > > "python manage.py runserver blah blah blah" i get these strange mysql
> > > errors, things like:
>
> > > File "/home/minh/skysale/../skysale/products/models.py", line 35, in
> > > Product
> > >    name = models.CharField(max_length=64, core=True)
> > > TypeError: __init__() got an unexpected keyword argument 'core'
>
> > 'core' was an oldforms-admin parameter.  It meant nothing (had no effect)
> > after newforms-admin was merged to trunk, and was removed entirely at some
> > point soon before 1.0.
>
> > > I get different errors in different projects, but they all have this
> > > same keyword argument error, when i know they're valid keywords.  Is
> > > there some special procedure for running previously created projects
> > > in a fresh Django environment (using the same version of Django for
> > > the fresh install and the old projects)?  Any help would be great.
>
> > If you've got code written for 0.96 then you'll need to do some migration to
> > get it running on 1.0:
>
> >http://docs.djangoproject.com/en/dev/releases/1.0-porting-guide/
>
> > Alternatively you can keep running on the older level, but you'll need to
> > install what matches that code you've written, and you don't seem to have
> > the matching level installed at present.
>
> > Karen
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to