1. benmao
  2. sa3album

Commits

ben  committed 046dd64

add robots.txt

  • Participants
  • Parent commits f22bc83
  • Branches default

Comments (0)

Files changed (3)

File .hgignore

View file
  • Ignore whitespace
 
 *.pyc
 *.pyo
-*.wpr
 *.sw*
 *~
+test.db
 
 syntax: regexp
-^\.idea/
+^\.idea/

File admin.py

View file
  • Ignore whitespace
         if u  :
             self.template_value['albums'] = Album.all()
             self.template_value['u']=u
-            self.template_value['name']= u.split("/")[-1] or "aaaa"+ mime.split("/")[-1]
+            self.template_value['name']= u.split("/")[-1] or "aaaa"+ mime.split("/")[-1]
             return self.render("upload-web2.html")
         self.render("upload-web.html")
         

File static/robots.txt

View file
  • Ignore whitespace
+User-Agent: *
+Allow: /