Here is the static files setting that we have in our settings.py file:
*STATIC_URL = '/static/'STATIC_ROOT = os.path.join(BASE_DIR, 'static')*
On Saturday, December 16, 2023 at 7:02:46 PM UTC-7 Ram wrote:
> Hi,
>
> Did anyone hit this error before during production server or any type of
>
Hi,
Did anyone hit this error before during production server or any type of
deployment. We tried deployment using Digital Oceanś App platform as a
pre-prod deployment to check whether this App platform is feasible for our
Django web site, but we are hitting this error no matter what ever
On Sat, Dec 16, 2023 at 1:10 PM Reddy Tintaya wrote:
> Can't you just use
> workitem = serializers.PrimaryKeyRelatedField(
> queryset=WorkItem.objects.all())
> instead of workitem_id?
>
No because workitem_id is what is sent in the request.
>
> On Sat, Dec 16, 2023 at 10:00 AM Larry
Can't you just use
workitem = serializers.PrimaryKeyRelatedField(
queryset=WorkItem.objects.all())
instead of workitem_id?
On Sat, Dec 16, 2023 at 10:00 AM Larry Martell
wrote:
> I have a DRF API. It is throwing an error that I have not been able to fix.
>
> Here is my view and serializer:
I have a DRF API. It is throwing an error that I have not been able to fix.
Here is my view and serializer:
class CreateNotations(CreateAPIView):
permission_classes = [IsAuthenticated]
serializer_class = NotationListSerializer
def post(self, request, *args, **kwargs):
return
5 matches
Mail list logo