This commit is contained in:
Sanj 2012-01-11 19:56:50 +05:30
commit 013af6003a
3 changed files with 2 additions and 1 deletions

Binary file not shown.

View File

@ -49,7 +49,7 @@ class Area(models.Model):
class Road(models.Model): class Road(models.Model):
roadcd = models.IntegerField(primary_key=True) roadcd = models.IntegerField(primary_key=True)
roadnm = models.TextField(blank=True, max_length=255) roadnm = models.TextField(blank=True, max_length=255)
roadnm_mr= models.TextField(blank=True, max_length=512) #roadnm_mr= models.TextField(blank=True, max_length=512)
def __unicode__(self): def __unicode__(self):
return self.roadnm return self.roadnm

View File

@ -9,6 +9,7 @@ urlpatterns = patterns('',
# Example: # Example:
# (r'^chaloBEST/', include('chaloBEST.foo.urls')), # (r'^chaloBEST/', include('chaloBEST.foo.urls')),
url(r'^$','chaloBEST.views.index', name='index'), url(r'^$','chaloBEST.views.index', name='index'),
url(r'^static/(?P<path>.*)$','django.views.static.serve', {'document_root':'./static'}),
# Uncomment the admin/doc line below to enable admin documentation: # Uncomment the admin/doc line below to enable admin documentation:
(r'^admin/doc/', include('django.contrib.admindocs.urls')), (r'^admin/doc/', include('django.contrib.admindocs.urls')),