title: PostgreSQL view used in django (with managed=False) doesn't sync properly
body: <p>I need to use a database view (using Postgres) in my django application (version 1.6). Process was following:</p>
  
  <ol>
  <li>I've created a view and then run <code>python manage.py inspectdb</code> to get proper model representation.</li>
  <li>I've altered the model to reflect this situation.</li>
  </ol>
  
  <p>Here's the code for view (it does work):</p>
  
  <pre><code>SELECT employee.employee_id, employee.firstname, employee.lastname, employee.birthdate, employee.is_active
  FROM dblink( blah blah);
  </code></pre>
  
  <p>Here's the generated code for django model:</p>
  
  <pre><code>class Employee(models.Model):
      employee_id = models.IntegerField(blank=True, null=True)
      firstname = models.TextField(blank=True)
      lastname = models.TextField(blank=True)
      birthdate = models.DateField(blank=True, null=True)
      is_active = models.NullBooleanField()
      class Meta:
          managed = False
          db_table = 'employee'
  </code></pre>
  
  <p>I've experimented with using just <code>managed</code> (and not using <code>db_table</code>) or using both.</p>
  
  <p>Anyway if i go syncdb i get such an error:</p>
  
  <p><code>django.db.utils.ProgrammingError: referenced relation "employee" is not a table</code></p>
  
  <p>Ok, it's true but what the hell i am supposed to do with that?</p>
  
  <p>I've also played with migration, but i'm getting some errors too:</p>
  
  <p><code>django.db.utils.ProgrammingError: relation "dblink_test2_employee" does not exist</code></p>
  
  <p>Any help appreciated? Am I overlooking something very clear to you?</p>