Thursday, October 29, 2009

Re: syncdb for INSTALLED_APPS throws errors

The warning on line 2 is because you are using python2.6, default in
Ubuntu9.04. You don't need to worry about it. It is just telling the
authors of mysqldb that ImmutableSet is going away in newer versions
of python. Not something you need to care about.

On Oct 29, 3:37 am, sridharpandu <sridharpa...@gmail.com> wrote:
> Skylar
>
> Thanks. It works. Here is the trace. Should warning on line 2 be
> ignored?
>
> sridhar@sridhar:~$ python manage.py syncdb
> /var/lib/python-support/python2.6/MySQLdb/__init__.py:34:
> DeprecationWarning: the sets module is deprecated
>   from sets import ImmutableSet
> Creating table auth_permission
> Creating table auth_group
> Creating table auth_user
> Creating table auth_message
> Creating table django_content_type
> Creating table django_session
> Creating table django_site
>
> You just installed Django's auth system, which means you don't have
> any superusers defined.
> Would you like to create one now? (yes/no): y
> Please enter either "yes" or "no": yes
> Username (Leave blank to use 'sridhar'):
> E-mail address: sridharpa...@gmail.com
> Password:
> Password (again):
> Superuser created successfully.
> Installing index for auth.Permission model
> Installing index for auth.Message model
> sridhar@sridhar:~$
>
> Best regards
>
> Sridhar
--~--~---------~--~----~------------~-------~--~----~
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+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate