This worked for me but upon more testing I discovered some values such as
WAVE/123456//IMP
get changed to WAVE/123456//IMP during the process of passing this
parameter as a url and django interpreting it. As a result I get an error:
Circuitinfotable matching query does not exist. I'm
Thank you Randy!
On Wednesday, September 25, 2019 at 12:09:52 PM UTC-5, Patrick Carra wrote:
>
> Hello I have an app that displays some database information in a table.
> Inside of the html template I am making an edit link that I want to open
> another app(page viewLit) while passing a value
views.py
class *viewLit*(TemplateView):
def get(self, request, strategy=None):
circuit_id = self.request.query_params.get('circuitid', None)
urls.py
path('viewlit/', viewlit.as_view(), name='viewlit')
search_custom.html
{{ circuit.circuitid }}
''' this is an example using a query
Hello I have an app that displays some database information in a table.
Inside of the html template I am making an edit link that I want to open
another app(page viewLit) while passing a value to it's view. I have added
my code below. My question is I am unsure of how to make this links url
4 matches
Mail list logo