You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I try in view:
if self.request.flavour == "mobile":
print self.request.flavour olways 'full' in view and in template request.flavour == "mobile"
class SetFlavourMiddleware(object):
def process_request(self, request):
_init_flavour(request) # it's not initialise right print self.request.flavour olways 'full' in view
The text was updated successfully, but these errors were encountered:
I try in view:
if self.request.flavour == "mobile":
print self.request.flavour olways 'full' in view and in template request.flavour == "mobile"
class SetFlavourMiddleware(object):
def process_request(self, request):
_init_flavour(request) # it's not initialise right print self.request.flavour olways 'full' in view
The text was updated successfully, but these errors were encountered: