Ignorar la carpeta venv en Git
This commit is contained in:
+6
-1
@@ -3,7 +3,7 @@ from django.contrib import admin
|
||||
from django import forms
|
||||
from .models import (
|
||||
Noticia, ClienteCategoria, SistemaOperativo, ServerSelection,
|
||||
RecruitAFriend, DownloadClientPage, ContentCreator, RecruitReward, GuildRenameSettings, VoteSite, RenamePrice, CustomizePrice, ChangeRacePrice, ChangeFactionPrice, LevelUpPrice, GoldPrice, TransferPrice
|
||||
RecruitAFriend, DownloadClientPage, ContentCreator, RecruitReward, GuildRenameSettings, VoteSite, RenamePrice, CustomizePrice, ChangeRacePrice, ChangeFactionPrice, LevelUpPrice, GoldPrice, TransferPrice, MaintenanceMode
|
||||
)
|
||||
from django.db import connections
|
||||
import logging
|
||||
@@ -17,6 +17,11 @@ logger = logging.getLogger(__name__)
|
||||
class ChangeFactionPriceAdmin(admin.ModelAdmin):
|
||||
list_display = ('price',)
|
||||
|
||||
|
||||
@admin.register(MaintenanceMode)
|
||||
class MaintenanceModeAdmin(admin.ModelAdmin):
|
||||
list_display = ('is_active',)
|
||||
|
||||
@admin.register(GoldPrice)
|
||||
class GoldPriceAdmin(admin.ModelAdmin):
|
||||
list_display = ('gold_amount', 'price')
|
||||
|
||||
Reference in New Issue
Block a user