Tuesday, September 27, 2011

Re: DB: working with databases

You can upgrade the "inspectdb" result with Django Autoadmin (
https://github.com/bancek/django-autoadmin ) which generates necessary
basic AdminModel classes on the fly, without the need for manual
definition and/or Django-specific DB tables (auth, for example).

This way you can be up and running even faster.

Regards,
UT

On Sep 25, 6:13 pm, Xavier Ordoquy <xordo...@linovia.com> wrote:
> Hi,
>
> Database will be better designed if you let django orm create them first and you add your tuning after.
>
> However, you can still work with non Django generated database. django-extensions application even provides an inspectdb that will guess most of your models from the database schema.
>
> Regards,
> Xavier,
> Linovia.
>
> Le 25 sept. 2011 à 18:02, Tanuja a écrit :
>
>
>
>
>
>
>
> > Is it possible to work with databases in the "traditional" way? I mean:
> > Design, create, manage the database natively
> > Have batch processes to insert and mange data
> > Connect this data to a django-based website
> > What tools are there to do this? Is this an inefficient approach in the django world?
>
> > Alternatively, if I create the database using model.py:
> > Then need to make changes to the database as we go along, without deleting data, how can this be done?
> > How do I define triggers, indexes, etc in model.py?
>
> > Thanks much. I am a newbie. Clearly.
>
> > --
> > You received this message because you are subscribed to the Google Groups "Django users" group.
> > To view this discussion on the web visithttps://groups.google.com/d/msg/django-users/-/AvAVd3SH0JsJ.
> > 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 athttp://groups.google.com/group/django-users?hl=en.

--
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.

No comments:

Post a Comment