title: How to add a table in django app models from PostgreSQL?
body: <p>I have created a django project named <code>Book Store</code>. In my project I have one app named <code>books</code>.</p>
  
  <p>I am using PostgreSQL DBMS. I have a database called <code>books</code>. In that database, I have a table named <code>novel</code>. How do I add this table in the <code>models.py</code> file inside <code>books</code> app?</p>
  
  <p>I want to register this table under admin site. After successfully adding this table in the <code>models.py</code> file, I believe, I shall be able to register the table in the admin site by writing the following codes in the <code>admin.py</code> file under <code>books</code> app. </p>
  
  <pre><code>from django.contrib import admin
  from . models import novel
  
  admin.site.register(novel) 
  </code></pre>
  
  <p>I also want to know that if my approach is correct or is there any better way available? As I am new to django, I don't know much about it. </p>
  
  <p>I have read <code>django-book</code> but didn't find out my answer. There is an article about <code>SQLite</code> database though.</p>