> I want my unmanaged models to literally disappear from Django sight,
> and then re-appear on demand.

That sounds rather hack-ish... I'm not sure Django can do that
exactly.  I'm not familiar with the situation, exactly, so I'm unsure
of what you might be able to do differently.

Apologies.

Tim

On Nov 24, 2:18 pm, Tomasz Zieliński
<tomasz.zielin...@pyconsultant.eu> wrote:
> On 24 Lis, 22:15, Tim Valenta <tonightslasts...@gmail.com> wrote:
>
> > If you're not doing anything fancy with AdminSite objects (ie, you're
> > only using the default admin site), then do this:
>
> > # assuming you've already done: from django.contrib import admin
> > admin.site.unregister(MyModel)
>
> The 'unregister' word seems to have been misleading, as I wasn't
> referring
> to admin panel at all :)
>
> I want my unmanaged models to literally disappear from Django sight,
> and then re-appear on demand.
>
> --
> Tomasz Zielinskihttp://pyconsultant.eu

--

You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@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