I am making use of file fields in my model and I want it to be saved as username_field.jpeg (or whatever format it is in), for example for rent_agreement I want
I am using django-rest-framework and recently I encountered a problem. I need to post such request and get 2 objects created: { "lease": 28, "date": [
I was following this tutorial on testdriven.io in order to test some async functions in django and I need to add som decorators in order to enable my async test
Sorry for my English. I have some data from another server, but I need to output this data like JSON. if i print response in console: { 'responseStatus': {
I am using Django + mongoengine I want to update the books (embedded document) count in my Bookscollection document. I want the update query to return the full
I have one third-party API (a URL). To access that URL I have to give basic authentication which is username and password. How can I get data from that API usin
I am new to django and graphql, I am trying use graphql in django using the the instructions given in this site. https://docs.graphene-python.org/projects/djan
I am using windows 10 command line for a django project using python34 however, I am facing difficulties with SQL. I have already installed mysqlclient using
I have a periodic task scheduled to run every 10 minutes. Sometimes this task completes in 2-3 minutes, sometimes it takes 20 minutes. Is there any way using
i am trying to integrate bootstrap datepicker but its not working setting.py: INSTALLED_APPS = [ 'django.contrib.admin', 'django.contrib.auth', 'django.contri
I've run across this issue before and I think I had to go into the library installed by pip to manually delete the migrations to fix it. Does anyone have a bet
I've run across this issue before and I think I had to go into the library installed by pip to manually delete the migrations to fix it. Does anyone have a bet
My Django application has a Person model with some optional text fields, such as: nickname = models.CharField(max_length=20, null=True, blank=True, default='')
Being new to testing i'm looking to test my API in Django (Django-rest-framework). I'm setting up tests for my views, that is my API endpoints. Now looking ov
im trying to fetch data from django rest backend with axios in vuejs frontend but each time i get this error. the tokens match but it is still not authorizing.
I am building a personal website and I am getting an error whenever I click on the the redirect link and I am quite puzzled how to proceed. I am also including
I am using Python 3.6 and Django as web framework I have to save datetime together in my database but show date and time separate field in HTML. Model Code: cl
My Django app is working on shared Linux hosting but only homepage is working. When I try to access other pages 404 error occurs. I believe urls.py is causing p
My custom user model for login via email: class MyUser(AbstractBaseUser): id = models.AutoField(primary_key=True) # AutoField? is_superuser = models.I
I am making a blog and I want to go to a specific blog post by clicking on a button. I know I need to use a primary key in the URL, but what is the syntax? And