Hello,
I am trying to perform a complex math calculation from a django query set.
How can I pass the results to the template for display? Annotations won't
work since the math is not a simple sum, diff or average.
MODEL
class TncData(models.Model):
callsign = models.TextField(max_length=2
{{field.callsign}}
> {{field.lat|floatformat:2}} N
> {{field.lon|floatformat:2}} W
>
> *{{field.distance}}*
>
>
> HTH!
>
> On Tuesday, 20 July 2021 at 22:25:04 UTC+2 mab.mo...@gmail.com wrote:
>
>> Hello,
>>
>> I am trying to perform
at:1}}
miles
{{row.bearing|floatformat:0}} deg
{{row.dt_heard|date:"D
m/d H:i"}}
{% endfor %}
On Wednesday, July 21, 2021 at 5:01:02 PM UTC-5 mab.mo...@gmail.com wrote:
> Thanks Derek. I'll give it a try
>
> On Wednesday, July 21, 2021 at 8:55:08 AM UTC-5 Der
Hello,
I am attempting to add asgi/channels to an existing django project/web app.
I was originally able to get channels to work via python manage.py
runserver
I am trying to deploy the project in production but cannot cat Daphne to
start. Error messages and relevant files below.
Questi
ain attribute on your asgi.py file. Try with daphne -b
> 0.0.0.0 -p 8001 mabtest.asgi:application
>
> El miércoles, 22 de septiembre de 2021 a las 20:37:50 UTC,
> mab.mo...@gmail.com escribió:
>
>> Hello,
>>
>> I am attempting to add asgi/channels to an existi
5 matches
Mail list logo