~zulcss/horizon/horizon-cloud-g2

« back to all changes in this revision

Viewing changes to horizon/dashboards/syspanel/networks/views.py

  • Committer: Package Import Robot
  • Author(s): Chuck Short, Adam Gandelman, Soren Hansen, Chuck Short
  • Date: 2012-09-07 12:35:36 UTC
  • mfrom: (1.1.18)
  • Revision ID: package-import@ubuntu.com-20120907123536-ibdaf8nx3ahxyh3b
Tags: 2012.2~rc1~20120904.2043-0ubuntu1
[ Adam Gandelman ]
* debian/patches/fix-coverage-binary-name.patch: Drop, merge into
  fix-ubuntu-tests.patch.
* debian/patches/set_login_redirects.patch: Configure login URLs in
  local_settings.py according to the default apache configuration
  installed. (LP: #1037349)
* debian/patches/fix-dashboard-manage.patch: Refresh.

[ Soren Hansen ]
* Update debian/watch to account for symbolically named tarballs and
  use newer URL.
* Fix Launchpad URLs in debian/watch.

[ Chuck Short ]
* New upstream version

Show diffs side-by-side

added added

removed removed

Lines of Context:
131
131
    form_class = UpdateNetwork
132
132
    template_name = 'syspanel/networks/update.html'
133
133
    success_url = reverse_lazy('horizon:syspanel:networks:index')
 
134
 
 
135
    def get_initial(self):
 
136
        network = self._get_object()
 
137
        return {'network_id': network['id'],
 
138
                'tenant_id': network['tenant_id'],
 
139
                'name': network['name'],
 
140
                'shared': network['shared']}