Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
R
red-ci-cd
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
red-group-test
red-ci-cd
Commits
b3f64fda
Commit
b3f64fda
authored
Sep 17, 2019
by
John Red Medrano
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pull update from gladys branch
parent
76d354fa
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
43 deletions
+2
-43
app/applicationlayer/master/company/views.py
app/applicationlayer/master/company/views.py
+1
-0
app/applicationlayer/master/department/views.py
app/applicationlayer/master/department/views.py
+1
-0
app/entities/migrations/0013_auto_20190917_1620.py
app/entities/migrations/0013_auto_20190917_1620.py
+0
-43
No files found.
app/applicationlayer/master/company/views.py
View file @
b3f64fda
...
...
@@ -15,6 +15,7 @@ class AdminCompanyViewSet(viewsets.ModelViewSet):
queryset
=
Company
.
objects
.
all
()
serializer_class
=
AdminCompanySerializer
pagination_class
=
CustomPagination
lookup_field
=
'code'
filter_backends
=
(
DjangoFilterBackend
,
SearchFilter
,
OrderingFilter
)
filterset_class
=
CompanyFilterSet
ordering_fields
=
'__all__'
...
...
app/applicationlayer/master/department/views.py
View file @
b3f64fda
...
...
@@ -18,6 +18,7 @@ class AdminDepartmentViewSet(viewsets.ModelViewSet):
queryset
=
Department
.
objects
.
all
()
serializer_class
=
serializer
.
AdminDepartmentSerializer
pagination_class
=
CustomPagination
lookup_field
=
'code'
filter_backends
=
(
DjangoFilterBackend
,
SearchFilter
,
OrderingFilter
)
filterset_class
=
DepartmentFilterSet
ordering_fields
=
'__all__'
...
...
app/entities/migrations/0013_auto_20190917_1620.py
deleted
100644 → 0
View file @
76d354fa
# Generated by Django 2.2 on 2019-09-17 16:20
from
django.db
import
migrations
,
models
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'entities'
,
'0012_auto_20190913_1704'
),
]
operations
=
[
migrations
.
AlterField
(
model_name
=
'changerequesthistory'
,
name
=
'action'
,
field
=
models
.
CharField
(
max_length
=
50
),
),
migrations
.
AlterField
(
model_name
=
'changerequesthistory'
,
name
=
'entity'
,
field
=
models
.
CharField
(
max_length
=
50
),
),
migrations
.
AlterField
(
model_name
=
'notification'
,
name
=
'account_no'
,
field
=
models
.
CharField
(
blank
=
True
,
max_length
=
255
,
null
=
True
),
),
migrations
.
AlterField
(
model_name
=
'notification'
,
name
=
'app'
,
field
=
models
.
CharField
(
blank
=
True
,
max_length
=
255
,
null
=
True
),
),
migrations
.
AlterField
(
model_name
=
'notification'
,
name
=
'form_code'
,
field
=
models
.
CharField
(
blank
=
True
,
max_length
=
255
,
null
=
True
),
),
migrations
.
AlterField
(
model_name
=
'notification'
,
name
=
'sender_account_no'
,
field
=
models
.
CharField
(
blank
=
True
,
max_length
=
255
,
null
=
True
),
),
]
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment