Questions tagged [django]

Django is an open-source server-side web application framework written in Python. It is designed to reduce the effort required to create complex data-driven websites and web applications, with a special focus on less code, no-redundancy and being more explicit than implicit.

Filter by
Sorted by
Tagged with
0votes
0answers
85views
+150

Unable to complete PAYPAL transaction (recurring payment) - Python Django Oscar - Was not able to redirect back to webapp to perform capture

We have implemented django oscar to include paypal recurring payment. (THIS IS GENERALLY A PAYPAL QUESTION). On sandbox, everything works on well. Here is the flow we have implemented but can never ...
user avatar
  • 3,045
0votes
1answer
47views
+50

Unable to select value in action intermediate page

I have two models User and Group. I'm implementing an action "Change Groups" in UsersAdmin that redirects to an intermediate page with 2 MultipleChoiceFields for Groups, that I want to be ...
user avatar
1vote
1answer
68views
+50

Split video into images with OpenCV on Django

I have a REST api where my user can upload base64 encoded videos. Upon upload, i'd like to split the video into frames to train an AI. Here is my current version of my serializer: # My models class ...
user avatar
  • 269
0votes
1answer
52views
+50

How to load static file image in Vue component with Django Application

I am currently using laravel-mix, Django, and Vue together. I would like to load the static image inside the Vue component. My images store in static/img folder First of all, I have set up an alias in ...
user avatar
  • 593
0votes
2answers
44views
+50

django eventstream / channels return HTML

I have a working application where I use django-eventstream to show info/error messages to users. All works well with send_event(): send_event("mychan", "message", msg) but what I ...
user avatar
  • 691
0votes
2answers
35views
+50

Fixtures are not working after Django squashmigrations

I just squashed a lot of migrations in Django 4.0.x. Now when running the migrations I get the following error: File "/opt/hostedtoolcache/Python/3.9.10/x64/lib/python3.9/site-packages/Django-4....
user avatar
  • 546
0votes
1answer
54views
+100

Why does Django Admin model page raise FieldDoesNotExist exception after a successful migration?

Scratching my head on this one. I've simply added a new field to a model. class Image(BaseModel): url = models.URLField(max_length=1000, null=True) content_type = models.ForeignKey(ContentType,...
user avatar
  • 653