Look at this ticket: http://code.djangoproject.com/ticket/2358.  More
specifically, use the
mssql_update5.diff<http://code.djangoproject.com/attachment/ticket/2358/mssql_update5.diff>file
- I'm don't think the anonymously contributed patch after that
actually
does much.

I haven't updated it to the latest SVN because of a lack of time, but it
shouldn't be too hard to figure out in case there are conflicts.

Sean

On 1/23/07, Andrew Diederich <[EMAIL PROTECTED]> wrote:
>
>
> Has anyone been able to get inspectdb working for 0.96-dev (svn)
> django?  I just got my connect string working (non-standard port
> issue), but at first go it looks like inspectdb isn't yet supported
> for ado_mssql, which is too bad.
>
> Here's what happens when I run it:
>
> C:\eggs>django-admin.py inspectdb --settings=myapp.settings
> # This is an auto-generated Django model module.
> # You'll have to do the following manually to clean this up:
> #     * Rearrange models' order
> #     * Make sure each model has one field with primary_key=True
> # Feel free to rename the models, but don't rename db_table values or
> field name
> s.
> #
> # Also note: You'll have to insert the output of 
> 'django-admin.pysqlinitialdata
> [appname]'
> # into your database.
>
> from django.db import models
>
> Error: 'inspectdb' isn't supported for the currently selected database
> backend.
>
>
> introspection.py for ado_mssql has NotImplementedError in all the
> classes, so I may be just out of luck on this one.
>
> --
> Andrew Diederich
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to