Brilliant! You got it!  That was right on!

cs

On Thursday, August 2, 2018 at 4:48:27 PM UTC-5, Matthew Pava wrote:
>
> I would verify that the view actually assigns to the template variable 
> what you are expecting it to be assigned to.
>
>  
>
> *From:* django...@googlegroups.com <javascript:> [mailto:
> django...@googlegroups.com <javascript:>] *On Behalf Of *Christian 
> Seberino
> *Sent:* Thursday, August 2, 2018 3:36 PM
> *To:* Django users
> *Subject:* trouble adding variables to URLs in templates... seems some 
> characters get cut out like "?"
>
>  
>
> Suppose you have a URL built from a variable in a template like so...<a 
> href = "{{some_variable}}">test</a>.
>
>  
>
> I noticed that parts of some_variable get cut out if they include certain 
> characters.
>
>  
>
> For example... "/search/?search=" seems to get replace with "/search/".  
> What is the part after "?" cut off?
>
>  
>
> (I have same problem even if I do {{some_variable|safe}}.
>
>  
>
> Chris
>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to django-users...@googlegroups.com <javascript:>.
> To post to this group, send email to djang...@googlegroups.com 
> <javascript:>.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/67ee6682-048f-442c-8fd5-859932dc6881%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/django-users/67ee6682-048f-442c-8fd5-859932dc6881%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/a21d0f02-401e-4f1c-a3e3-a9d61685898c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to