fix clean user routeoptions
This commit is contained in:
parent
e58e26ba76
commit
8d2030f4af
1 changed files with 2 additions and 1 deletions
|
@ -96,7 +96,8 @@ class RouteOptions(models.Model):
|
|||
user_options = None
|
||||
if request.user.is_authenticated:
|
||||
user_options = cls.get_for_user(request.user)
|
||||
user_options.clean_data()
|
||||
if user_options is not None:
|
||||
user_options.clean_data()
|
||||
|
||||
if session_options and not user_options:
|
||||
user_options = session_options
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue