Skip to content

Commit

Permalink
Merge pull request #596 from catborise/master
Browse files Browse the repository at this point in the history
update to django 4.2 LTS
  • Loading branch information
catborise authored Aug 31, 2023
2 parents a02df25 + cf6f74f commit 5d3a11e
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ language: python
python:
- "3.9"
env:
- DJANGO=3.2.15
- DJANGO=4.2.4
install:
- pip install -r dev/requirements.txt
script:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[![Gitpod ready-to-code](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/retspen/webvirtcloud)

# WebVirtCloud
###### Python 3.x & Django 3.2 LTS
###### Python 3.x & Django 4.2 LTS

## Features
* QEMU/KVM Hypervisor Management
Expand Down
2 changes: 1 addition & 1 deletion conf/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Django==3.2.20
Django==4.2.4
django_bootstrap5==23.3
django-bootstrap-icons==0.8.3
django-login-required-middleware==0.9.0
Expand Down
3 changes: 1 addition & 2 deletions instances/templates/instances/access_tab.html
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,11 @@
{% endif %}
{% if instance.status == 1 %}
<!-- Split button -->
<div class="btn-group float-end">
<div class="btn-group float-end" role="group">
<button type="button" id="consoleBtnGroup" class="btn btn-lg btn-success"
onclick="open_console('lite')">{% trans 'Console' %}</button>
<button type="button" class="btn btn-success dropdown-toggle dropdown-toggle-split"
data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<span class="sr-only">{% trans 'Toggle Dropdown' %}</span>
</button>
<div class="dropdown-menu">
<a class="dropdown-item" href="#"
Expand Down
11 changes: 11 additions & 0 deletions static/icon_cache/camera_None_None_None.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions static/icon_cache/download_None_None_None.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion vrtManager/instance.py
Original file line number Diff line number Diff line change
Expand Up @@ -1368,7 +1368,7 @@ def revert_external_snapshot(self, name, date, desc):
name = name.replace("s1", "s2")
self.create_external_snapshot(name, date, desc)

def get_snapshot(self, flag=VIR_DOMAIN_SNAPSHOT_LIST_INTERNAL):
def get_snapshot(self, flag=VIR_DOMAIN_SNAPSHOT_LIST_INTERNAL|VIR_DOMAIN_SNAPSHOT_LIST_EXTERNAL):
snapshots = []
snapshot_list = self.instance.snapshotListNames(flag)
for snapshot in snapshot_list:
Expand Down

0 comments on commit 5d3a11e

Please sign in to comment.