Skip to content

Commit

Permalink
adding analytics support in config
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron Raddon authored and Aaron Raddon committed May 11, 2008
1 parent 9583d46 commit a4d81d2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion model.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class Blog(db.Model):
area2 = db.TextProperty(default='')
area3 = db.TextProperty(default='')
tags = db.TextProperty(default='{}')
analyticsjs = db.StringProperty(multiline=False,default='')
analyticsjs = db.StringProperty(multiline=True,default='')

def save(self):
self.put()
Expand Down
1 change: 1 addition & 0 deletions views/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ <h3>Site Admin</h3>
</div>
</div>
<!-- Footer Ends -->
{{ blog.analyticsjs }}

</body>
</html>
6 changes: 4 additions & 2 deletions views/setup.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,10 @@
<textarea name="analyticsjs" rows="4" cols="60" class="wide">{{ blogedit.analyticsjs }}</textarea>
</div>
</fieldset>
<div class="actions"><input type="submit" class="primaryAction" id="submit" value="Save &#187;">
&nbsp;&nbsp;<a href="#" id="cancelnode">cancel</a></div>
<div class="actions">
<input type="submit" class="primaryAction" id="submit" value="Save &#187;">
&nbsp;&nbsp;<a href="#" id="cancelnode">cancel</a>
</div>

</form>
</div>
Expand Down

0 comments on commit a4d81d2

Please sign in to comment.