Tuesday, April 21, 2015

Re: Create models table from exists database?

Great!
Thank you!

Il giorno martedì 21 aprile 2015 11:00:16 UTC+2, Dario Concilio ha scritto:
Hi to all!
I'm new of django, I've a question for you: Can I create a new project using an exists database?

I've a domotic system on Ubuntu Server, with a Postgres database that has several table. Actually the system uses a table by a python service and PHP portal for data management of domotic configuration.

I would change portal admin with a "django" portal, can I create a new django project using this database?
Django framework allows me to generate the system tables and complete models (model.py) from existing ones?

PS: I imagine this approach as the technique called "Database First" of various ORM.

Thanks to all.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/f1596ec3-5f2f-4588-8bb0-a2ef998f769e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment