You can look at the guide in the docs:
https://docs.djangoproject.com/en/1.11/howto/legacy-databases/
But as everyone will tell you; you need to have done a basic tutorial first (official or otherwise*), otherwise all the jargon will be confusing.
After that, you can also look at areas such as:
https://docs.djangoproject.com/en/1.11/topics/db/queries/
and
https://docs.djangoproject.com/en/1.11/ref/models/expressions/
(* e.g. https://simpleisbetterthancomplex.com/series/)
On Thursday, 2 November 2017 13:18:18 UTC+2, jay seattle wrote:
-- https://docs.djangoproject.com/en/1.11/howto/legacy-databases/
But as everyone will tell you; you need to have done a basic tutorial first (official or otherwise*), otherwise all the jargon will be confusing.
After that, you can also look at areas such as:
https://docs.djangoproject.com/en/1.11/topics/db/queries/
and
https://docs.djangoproject.com/en/1.11/ref/models/expressions/
(* e.g. https://simpleisbetterthancomplex.com/series/)
On Thursday, 2 November 2017 13:18:18 UTC+2, jay seattle wrote:
New to Django, coming from C# and I am totally confused how you pull data from a database. I have a Postgres DB with a table "customer" created, but have NO idea how to connect to it. I have read a bunch of stuff but they all seem to work from the Model creation to database (migration), but if the table is already created, I can't find detail what to do.If I have a table called "customer" and want to pull the data into my template, what should I read up on to accomplish this?Thanks
Jay
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 https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/47786da9-419a-4554-b06c-010018c29720%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment