skip to Main Content

Html – Send variable to Django crispy forms

I have 2 HTML pages choose_type.html and post_form.html. On choose_type.html: {% extends "blog/base.html" %} {% load pagination_extras %} {% block content %} <body> <div class="row"> <div class="col-sm-6 mb-3 mb-sm-0"> <div class="card"> <img src="/media/1.png" class="card-img-top m-auto" alt="..." style="width: 10rem;"> <div class="card-body">…

VIEW QUESTION

Reactjs – Many to many post request DRF

Currently I am trying to figure how the post request needs to be structured to create an object in watchlist. My models.py contains two models that are linked together via stock. class Stock(models.Model): model_number = models.CharField(max_length=100, unique=True, default="") model =…

VIEW QUESTION
Back To Top
Search