Skip to content

Commit

Permalink
style: Lint and migration
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisChV committed Jul 21, 2023
1 parent 1f8b01e commit ab7db25
Show file tree
Hide file tree
Showing 4 changed files with 74 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
# Generated by Django 3.2.20 on 2023-07-21 21:50

from django.db import migrations


class Migration(migrations.Migration):

dependencies = [
('oel_tagging', '0003_auto_20230721_1238'),
('content_tagging', '0002_system_defined_taxonomies'),
]

operations = [
migrations.CreateModel(
name='ContentAuthorTaxonomy',
fields=[
],
options={
'proxy': True,
'indexes': [],
'constraints': [],
},
bases=('content_tagging.contenttaxonomy', 'oel_tagging.usersystemdefinedtaxonomy'),
),
migrations.CreateModel(
name='ContentLanguageTaxonomy',
fields=[
],
options={
'proxy': True,
'indexes': [],
'constraints': [],
},
bases=('content_tagging.contenttaxonomy', 'oel_tagging.languagetaxonomy'),
),
migrations.CreateModel(
name='OrganizarionSystemDefinedTaxonomy',
fields=[
],
options={
'proxy': True,
'indexes': [],
'constraints': [],
},
bases=('oel_tagging.modelsystemdefinedtaxonomy',),
),
migrations.CreateModel(
name='OrganizationModelObjectTag',
fields=[
],
options={
'proxy': True,
'indexes': [],
'constraints': [],
},
bases=('oel_tagging.modelobjecttag',),
),
migrations.CreateModel(
name='ContentOrganizationTaxonomy',
fields=[
],
options={
'proxy': True,
'indexes': [],
'constraints': [],
},
bases=('content_tagging.contenttaxonomy', 'content_tagging.organizarionsystemdefinedtaxonomy'),
),
]
3 changes: 3 additions & 0 deletions openedx/features/content_tagging/models/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
"""
Content Tagging and System defined models
"""
from .base import (
TaxonomyOrg,
ContentTag,
Expand Down
6 changes: 1 addition & 5 deletions openedx/features/content_tagging/models/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,7 @@

from openedx_tagging.core.tagging.models import (
ObjectTag,
Taxonomy,
ModelSystemDefinedTaxonomy,
ModelObjectTag,
UserSystemDefinedTaxonomy,
LanguageTaxonomy,
Taxonomy,
)

from organizations.models import Organization
Expand Down
2 changes: 1 addition & 1 deletion openedx/features/content_tagging/tests/test_rules.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
ObjectTag,
Tag,
UserSystemDefinedTaxonomy,
)
)
from organizations.models import Organization

from common.djangoapps.student.auth import add_users, update_org_role
Expand Down

0 comments on commit ab7db25

Please sign in to comment.