Closed jamieconnolly closed 10 years ago
@jamieconnolly just one thing to modify here mate. then we can merge and move on
@rosscdh — Done. I've added in that check to lawyer/services.py
too
@jamieconnolly good work mate.. thanks
@jamieconnolly ah! I jsut noticed your using User.objects.filter there are two things here
@rosscdh — Done. I needed to rework the fields_to_update
dict so it plays nicely. Again I've put the changes into the lawyer/services.py
so we get some consistency.
@rosscdh — Done. What do you think?
@jamieconnolly 2 comments but other than that its looking good.
@rosscdh — Both of the changes have been done
hm tests are not green.. investigating.. ah its rate limiting by crocdoc.. man im going to have to get these socket connections being mocked.
Ok. Let me know what you find and I'll fix it
Inside
EnsureCustomerService
, we weren't actually saving theUser
. What I've done is replicate the the structure from theEnsureLawyerService
class, and it now flows through and saves it.I've removed the template cache fragment from
templates/partials/nav.html
, as (obviously) it won't update their details until the fragment has expired. I thought it would be better to remove it, as it doesn't seem to be beneficial to have this cached yet, over building in a way to expire the fragment when the form has been saved.