~widelands-dev/widelands-website/trunk

« back to all changes in this revision

Viewing changes to wlmaps/views.py

  • Committer: franku
  • Author(s): GunChleoc
  • Date: 2016-12-13 18:30:38 UTC
  • mfrom: (438.1.6 pyformat_util)
  • Revision ID: somal@arcor.de-20161213183038-5cgmvfh2fkgmoc1s
adding a script to run pyformat over the code base

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
 
46
46
    m.rating.add(score=val, user=request.user,
47
47
                 ip_address=get_real_ip(request))
48
 
    
 
48
 
49
49
    # m.save() is not needed
50
50
 
51
51
    return HttpResponseRedirect(reverse('wlmaps_view', None, {'map_slug': m.slug}))