Ejemplo n.º 1
0
 def POST_explore_settings(self, form, jquery, personalized, discovery,
                           rising, nsfw):
     ExploreSettings.record_settings(
         c.user,
         personalized=personalized,
         discovery=discovery,
         rising=rising,
         nsfw=nsfw,
     )
     return redirect(url(controller='front', action='explore'))
Ejemplo n.º 2
0
 def POST_explore_settings(self,
                           form,
                           jquery,
                           personalized,
                           discovery,
                           rising,
                           nsfw):
     ExploreSettings.record_settings(
         c.user,
         personalized=personalized,
         discovery=discovery,
         rising=rising,
         nsfw=nsfw,
     )
     return redirect(url(controller='front', action='explore'))