header
- admin.site.site_header = "header name to be displayed"
- url(r'^$', views.home, name='home'),
- url(r'', include('hello.urls') ),
- 'DIRS': [os.path.join(BASE_DIR, "templates")],
- # Register your models here.
admin.site.register(Contact) - # Create your models here.
class Contact(models.Model): - displayed models name:
- def __str__(self):
return self.name
- # Application definition
INSTALLED_APPS = [
'knoob.apps.KnoobConfig',