Commit 159efcff authored by Administrator's avatar Administrator

[Cosmetics] templates menu

parent afd763af
......@@ -43,6 +43,9 @@ class Resource(models.Model):
guid = models.CharField(max_length=255)
bdd_type = models.ForeignKey(DatabaseType, blank=True, null=True)
file = models.FileField(upload_to=upload_to, blank=True)
def __str__(self):
return "%s => %s" % (self.bdd_type, self.file)
class NodeType(models.Model):
name = models.CharField(max_length=200)
......
......@@ -22,7 +22,7 @@
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li><a href="/admin/">Admin</a></li>
<li><a href="/projects/">Projects</a></li>
<li><a href="/projects/">My Projects</a></li>
<li><a href="/contact/">Contact</a></li>
</ul>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment