Made a new model in Django. But it's not showing up in the database
Question: I am using Django 1.1.4 with python 2.6. I just added a new model to the list
of models and used the syncdb command, but it's not showing in the database. I
have already made sure I use 'my_app' name for app label in the Meta class. I
also tried making a new database and syncing all the models again, but
strangely my model is the only one not getting synced. Below I have included
the code:

    
    
    from django.db import models
    from coredump.analyzer.models.model import ExtendedModel
    
    class Netpath(ExtendedModel):
    
     buildno=models.IntegerField()
     path = models.CharField(max_length=300)
    
    
     class Meta:
      app_label = 'analyzer'
      ordering = ['buildno']
    
     def __unicode__(self):
      return '%d' % self.buildno
    

Extended Model is another model that I have made that works perfectly fine
with the other models in the framework.Adding it's code as well won't be that
useful. Any help will be greatly appreciated


Answer: `syncdb` will only create tables for models found in `<app>.models`. Import
the model class there if necessary.

