~markgius/horizon/lp727414

« back to all changes in this revision

Viewing changes to django-nova/src/django_nova/views/images.py

  • Committer: Tarmac
  • Author(s): Jake Dahn
  • Date: 2011-04-22 04:18:15 UTC
  • mfrom: (31.2.4 lp760239)
  • Revision ID: tarmac-20110422041815-yf51flty22q1zlsr
This branch adds styling to the permission denied page.

Show diffs side-by-side

added added

removed removed

Lines of Context:
88
88
            except exceptions.NovaApiError, e:
89
89
                messages.error(request,
90
90
                               'Unable to launch: %s' % e.message)
 
91
            except exceptions.NovaUnauthorizedError, e:
 
92
                messages.error(request, 'Permission Denied')
91
93
            else:
92
94
                for instance in reservation.instances:
93
95
                    messages.success(request,