class LocationCode(models.Model):
    """
    A web service that will allow user to create there price rule based on conditions
    """
name = models.CharField(max_length=255)
code = models.CharField(max_length=255)

def __unicode__(self):
    return self.name
Is there any official way to get the admin options of a model?