-
Hello i am trying to upload a video to cloudinary but i keep getting this error
`Traceback (most recent call last):
File "/home/otchere-dev/.local/lib/python3.8/site-packages/django/core/handlers/…
-
I have a simple query in Django. I have Django toolbar installed to check the sql queiries and the corresponding data
My Model:
class RecipePosition(models.Model):
name = models.CharFi…
-
I'm getting this error when trying to use a `SafeFileField`
Any idea what the problem might be?
Here's the field declaration:
`custom_stylesheet = SafeFileField(null=True, blank=True, upload_…
-
In my Django project with django-rest-framework, we use JWT authentication and want to implement the social login by google. So, I installed and configured **django-rest-framework-social-oauth2** with…
-
-
# Django project creation
```
(django_venv) user@user-Vostro-3550:~/code/Django-Sample/django_venv$ django-admin.py help
Type 'django-admin.py help ' for help on a specific subcommand.
Availab…
-
Hello,
I'm trying to call a FilePathField model into the FilePreference (I also tried BasePreference) class without success, here is my code in the dynamic_preferences_registry.py:
```
from dja…
-
I want to update schema depending on separate field of model (e.g. "kind"). So there is a two main logic how to upload schema dynamically:
1. when there is a new obj creation, we have to upload defau…
-
After following instructions on setting up a custom docker set-up, running
`sh-3.2# docker exec -it decisions python manage.py migrate`
results with errors:
```
Operations to perform:
Apply al…
-
```
from django.utils.translation import gettext_lazy as _
from django.db import models
class AuditableModel(models.Model):
last_updated_by = models.CharField( max_length=50 )
last_up…