{"count":6,"next":"http://localhost:8000/api/vacancies/?limit=2&offset=2","
previous":null,"results":[{"id":2,"title":"Переводчик бандит","description":"й
цукеролвап","publish_date":"2020-03-26T16:49:52.874769Z","owner":{"id":
1,"title":"Kurwa Production","phone":"+19991234567","mail":"kurwa@mail.p
l","owner":1}},{"id":3,"title":"Мемодел","description":"Our SnippetSerializer c
lass is replicating a lot of information that's also contained in the Snippe
t model. It would be nice if we could keep our code a bit more concise. I
n the same way that Django provides both Form classes and ModelForm
classes, REST framework includes both Serializer classes, and ModelSeria
lizer classes. Let's look at refactoring our serializer using the ModelSeria
lizer class. Open the file snippets/serializers.py again, and replace the Sn
ippetSerializer class with the following.","publish_date":"2020-03-26T16:
52:26.527977Z","owner":{"id":1,"title":"Kurwa Production","phone":"+19991234567","mail":"kurwa@mail.pl","owner":1}}]}
vacancy:Object (empty)
Uncaught (in promise) TypeError: Failed to fetch
Access to fetch at 'http://localhost:8000/api/vacancies/2' from origin 'http://localhost:8080'
has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the
requested resource. If an opaque response serves your needs, set the request's mode to
'no-cors' to fetch the resource with CORS disabled.