Commit 9220cd2e authored by Matheus Miranda's avatar Matheus Miranda
Browse files

Merge branch 'remove_slug' into 'develop'

Remove slug from django models translation

See merge request !95
parents aaa620fb 4eba0381
# Generated by Django 2.2.24 on 2021-11-26 20:29
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('courses', '0035_auto_20211119_1729'),
]
operations = [
migrations.RemoveField(
model_name='course',
name='slug_en',
),
migrations.RemoveField(
model_name='course',
name='slug_es',
),
migrations.RemoveField(
model_name='course',
name='slug_pt_br',
),
]
......@@ -8,9 +8,8 @@ from .certification.models import CertificateTemplate
@register(Course)
class CourseTranslationOptions(TranslationOptions):
fields = ('slug', 'name', 'application',
'requirement', 'abstract', 'structure', 'workload',
'course_load', 'pronatec', 'thumbnail', 'home_thumbnail',
fields = ('name', 'application', 'requirement', 'abstract', 'structure',
'workload', 'course_load', 'pronatec', 'thumbnail', 'home_thumbnail',
'min_percent_to_complete', 'informations', 'description')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment