cors
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
Jakub K 2023-12-29 17:30:32 +01:00
parent 980937e4a2
commit 60a03ec261
2 changed files with 2 additions and 1 deletions

View File

@ -34,6 +34,7 @@ CORS_ALLOWED_ORIGIN = [
"http://izaac.izaac.pl", "http://izaac.izaac.pl",
"http://izaac-frontend.izaac.pl", "http://izaac-frontend.izaac.pl",
"http://izaac-backend.izaac.pl", "http://izaac-backend.izaac.pl",
"http://localhost:5173",
] ]
REST_FRAMEWORK = { REST_FRAMEWORK = {

View File

@ -68,7 +68,7 @@ class SkillLevels(models.Model):
('E', 'Ekspert'), ('E', 'Ekspert'),
] ]
skill_name =models.CharField(max_length=255) skill_name = models.CharField(max_length=255)
skill_level = models.CharField(max_length=1, choices=proficiency_choices,) skill_level = models.CharField(max_length=1, choices=proficiency_choices,)
class CompanyLogo(models.Model): class CompanyLogo(models.Model):