Commit 53e249b 1 parent dc5b288 commit 53e249b Copy full SHA for 53e249b
File tree 4 files changed +10
-4
lines changed
4 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 31
31
# Application definition
32
32
33
33
INSTALLED_APPS = [
34
+ 'zimmyrabbit.apps.ZimmyrabbitConfig' ,
34
35
'django.contrib.admin' ,
35
36
'django.contrib.auth' ,
36
37
'django.contrib.contenttypes' ,
37
38
'django.contrib.sessions' ,
38
39
'django.contrib.messages' ,
39
40
'django.contrib.staticfiles' ,
41
+ 'rest_framework' ,
40
42
]
41
43
42
44
MIDDLEWARE = [
103
105
# Internationalization
104
106
# https://docs.djangoproject.com/en/3.1/topics/i18n/
105
107
106
- LANGUAGE_CODE = 'en-us '
108
+ LANGUAGE_CODE = 'ko-kr '
107
109
108
- TIME_ZONE = 'UTC '
110
+ TIME_ZONE = 'Asia/Seoul '
109
111
110
112
USE_I18N = True
111
113
Original file line number Diff line number Diff line change 1
1
from django .contrib import admin
2
+ from .models import BuildHist
2
3
3
- # Register your models here.
4
+ admin . site . register ( BuildHist )
Original file line number Diff line number Diff line change 1
1
from django .db import models
2
2
3
- # Create your models here.
3
+ class BuildHist (models .Model ):
4
+ component = models .CharField (max_length = 50 )
5
+ lastupdtid = models .CharField (max_length = 50 )
6
+ lastupdt = models .DateTimeField ()
You can’t perform that action at this time.
0 commit comments