forked from uncloud/uncloud
Rename / prepare for merge with uncloud repo
This commit is contained in:
parent
23203ff418
commit
7a6c8739f6
118 changed files with 1499 additions and 0 deletions
0
uncloud_django_based/uncloud/uncloud_storage/__init__.py
Normal file
0
uncloud_django_based/uncloud/uncloud_storage/__init__.py
Normal file
3
uncloud_django_based/uncloud/uncloud_storage/admin.py
Normal file
3
uncloud_django_based/uncloud/uncloud_storage/admin.py
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
from django.contrib import admin
|
||||
|
||||
# Register your models here.
|
||||
5
uncloud_django_based/uncloud/uncloud_storage/apps.py
Normal file
5
uncloud_django_based/uncloud/uncloud_storage/apps.py
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
from django.apps import AppConfig
|
||||
|
||||
|
||||
class UncloudStorageConfig(AppConfig):
|
||||
name = 'uncloud_storage'
|
||||
7
uncloud_django_based/uncloud/uncloud_storage/models.py
Normal file
7
uncloud_django_based/uncloud/uncloud_storage/models.py
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
from django.db import models
|
||||
from django.utils.translation import gettext_lazy as _
|
||||
|
||||
|
||||
class StorageClass(models.TextChoices):
|
||||
HDD = 'HDD', _('HDD')
|
||||
SSD = 'SSD', _('SSD')
|
||||
3
uncloud_django_based/uncloud/uncloud_storage/tests.py
Normal file
3
uncloud_django_based/uncloud/uncloud_storage/tests.py
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
from django.test import TestCase
|
||||
|
||||
# Create your tests here.
|
||||
3
uncloud_django_based/uncloud/uncloud_storage/views.py
Normal file
3
uncloud_django_based/uncloud/uncloud_storage/views.py
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
from django.shortcuts import render
|
||||
|
||||
# Create your views here.
|
||||
Loading…
Add table
Add a link
Reference in a new issue