Commits

danjac  committed 62dc9f7

more photo views

  • Participants
  • Parent commits 79f5170
  • Branches photos

Comments (0)

Files changed (2)

File newsmeme/templates/base.html

                 <li class="first">{{ tabbed_link('hot', _('hot'), url_for('frontend.index')) }}</li>
                 <li>{{ tabbed_link('latest', _('new'), url_for('frontend.latest')) }}</li>
                 <li>{{ tabbed_link('deadpool', _('deadpool'), url_for('frontend.deadpool')) }}</li>
+                <li>{{ tabbed_link('photos', _('photos'), url_for('photos.index')) }}</li>
                 <li>{{ tabbed_link('submit', _('submit'), url_for('frontend.submit')) }}</li>
+                <li>{{ tabbed_link('submit_photo', _('submit a photo'), url_for('photos.submit')) }}</li>
                 <li class="last">
                     <form id="search" method="GET" action="{{ url_for('frontend.search') }}">
                         <div>

File newsmeme/views/photos.py

 
 photos = Module(__name__)
 
+@photos.route("/")
+def index():
+    pass
 
+@photos.route("/submit/")
+def submit():
+    pass
+
+