Monday, June 10, 2024

Re: Django bugfix releases issued: 4.2.12 and 5.0.5

Hello miss Sarah


On Mon, 6 May 2024, 19:41 Sarah Boyce, <sarahboyce@djangoproject.com> wrote:
Details are available on the Django project weblog:
https://www.djangoproject.com/weblog/2024/may/06/bugfix-releases/

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAN%2BfQHyT9xZmOm6CQxbo9jv99cQinJME3n8dBiJaS%3DVpvTJovw%40mail.gmail.com.

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAFXDyhgFiRdS%3D-%2Bn0x%3DpnCdA_NuyyrJrBn87e6T5o3hrmXsZWQ%40mail.gmail.com.

Wednesday, June 5, 2024

Re: Merging results of two .html files show up in one web page

Take a look at https://docs.djangoproject.com/en/5.0/ref/templates/builtins/#include

On 6/4/24 7:13 AM, 'Mee "MeeGrp" Grp' via Django users wrote:
I am working on an Inventory System ( just a trial - for learning purposes)

platform - Python
framework - Django

VS Code/Sqlite3 

Question:

I have two html files 1. view_sales.html 2.total_sales.html

view_sales.html

<!DOCTYPE html>
<html>
<head>
    <title>Sales</title>
    <title>Product Total_price</title>
</head>
<body>
    <h1>Sales</h1>
    <table border="1">
        <tr>
            <th>Product</th>
            <th>Date</th>
            <th>Amount</th>                    
            <th>Quantity Sold</th>          
            <th>Total Price</th>
        </tr>
        {% for sale in sales %}
        <tr>
            <td>{{ sale.product.product_name }}</td>
            <td>{{ sale.date }}</td>                      
            <td>{{ sale.amount }}</td>
            <td>{{ sale.quantity_sold}}</td>
            <td>{{ sale.total_price }}</td>
        </tr>
       
           
        {% endfor %}
    </table>
    <h2>Total Sales: {{ total_sales }}</h2>    
--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/56a9ff0a-62f2-4ec0-b8cd-5601174a862en%40googlegroups.com.

Tuesday, June 4, 2024

python/django/vs code

I have two html files 1. view_sales.html  2. total_sales.html

I want to display output of total_sales.html within  view_sales.html just below 
view_sales.html output

Your help would be highly appreciated !!!!!!!!


--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/30b6b324-22b2-44f1-b2dd-b0b034ac2f61n%40googlegroups.com.

Merging results of two .html files show up in one web page

I am working on an Inventory System ( just a trial - for learning purposes)

platform - Python
framework - Django

VS Code/Sqlite3 

Question:

I have two html files 1. view_sales.html 2.total_sales.html

view_sales.html

<!DOCTYPE html>
<html>
<head>
    <title>Sales</title>
    <title>Product Total_price</title>

</head>
<body>
    <h1>Sales</h1>
    <table border="1">
        <tr>
            <th>Product</th>
            <th>Date</th>
            <th>Amount</th>                    
            <th>Quantity Sold</th>          
            <th>Total Price</th>
        </tr>
        {% for sale in sales %}
        <tr>
            <td>{{ sale.product.product_name }}</td>
            <td>{{ sale.date }}</td>                      
            <td>{{ sale.amount }}</td>
            <td>{{ sale.quantity_sold}}</td>
            <td>{{ sale.total_price }}</td>
        </tr>

       
           

        {% endfor %}
    </table>
    <h2>Total Sales: {{ total_sales }}</h2>    










--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/56a9ff0a-62f2-4ec0-b8cd-5601174a862en%40googlegroups.com.