What do you want to save?
Add Code snippet
New code examples
-
Python 2022-03-06 22:55:12
image url django
This setup is working for me, maybe it will help you. It is for latest version of Django. Many answers in OS are for older Django versions. URLS: urlpatterns = [ #url ]+ static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT) Settings: MEDIA_ROOT... Add solution -
Python 2021-09-19 06:49:02
django versatileimagefield
pip install django-versatileimagefield Add solution -
Javascript 2021-09-07 01:45:02
django send and receive image data to react
class Product(models.Model): item_title= models.CharField(max_length=50) item_desc=models.TextField() item_price=models.IntegerField() item_image=models.ImageField(upload_to='post_images',default='default.png') item_image_url = models.TextField() Add solution
Best helpers
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5