Re: CSS not linking with HTML

2021-05-28 Thread Venu Gopal
In Firefox  Goto Preferences ---> Choose Privacy and Security --->
scroll down until you get cookies and site data --> clear data
Chrome  Goto Settings ---> Choose Privacy and Security ---> select
cookies and other site data --> select see all cookies and site data -->
Remove all

On Sat, May 29, 2021 at 9:50 AM sukhy gill  wrote:

> @Venu Gopal
>
> No Sir, I don't know, how to do this.
>
> May I know Sir, how to do the same?
>
> Regards
>
> On Sat, May 29, 2021, 09:41 Venu Gopal 
>> Hi, Have you tried deleting existing cache and cookies in the browser?
>>
>> On Sat, May 29, 2021 at 12:08 AM sukhy gill 
>> wrote:
>>
>>> Dear Frnds
>>> I am unable to  link CSS with HTML
>>> HTML working but CSS not working inside the .html file with the help of
>>> LINK in  tag
>>>
>>> I am using thefollowings:-
>>> Setting.py -  STATICFILES_DIRS=[os.path.join(BASE_DIR, 'static'),]
>>> HTML- {% load static %}
>>> >> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to django-users+unsubscr...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/3ca2aba0-a58f-4298-b248-16c51bdf90a6n%40googlegroups.com
>>> <https://groups.google.com/d/msgid/django-users/3ca2aba0-a58f-4298-b248-16c51bdf90a6n%40googlegroups.com?utm_medium=email_source=footer>
>>> .
>>>
>> --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "Django users" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/django-users/qGMoFXNAgww/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> django-users+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAOhYkiyqw8k5zCL1XZo9U%2BY9_JR57p55xf-%3DtFf6Fa4HVskPSw%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CAOhYkiyqw8k5zCL1XZo9U%2BY9_JR57p55xf-%3DtFf6Fa4HVskPSw%40mail.gmail.com?utm_medium=email_source=footer>
>> .
>>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAJ8btZave0utnYTAcrxafKes6sUZ3%2BX%2B0v1EGs-pJSF1%2BT4qxw%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAJ8btZave0utnYTAcrxafKes6sUZ3%2BX%2B0v1EGs-pJSF1%2BT4qxw%40mail.gmail.com?utm_medium=email_source=footer>
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAOhYkiy80sPnGJ2uJPuJODECKv3UfQxATOit%2BwNZnr%3D%2BgiuojQ%40mail.gmail.com.


Re: CSS not linking with HTML

2021-05-28 Thread Venu Gopal
Hi, Have you tried deleting existing cache and cookies in the browser?

On Sat, May 29, 2021 at 12:08 AM sukhy gill 
wrote:

> Dear Frnds
> I am unable to  link CSS with HTML
> HTML working but CSS not working inside the .html file with the help of
> LINK in  tag
>
> I am using thefollowings:-
> Setting.py -  STATICFILES_DIRS=[os.path.join(BASE_DIR, 'static'),]
> HTML- {% load static %}
>  To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/3ca2aba0-a58f-4298-b248-16c51bdf90a6n%40googlegroups.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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAOhYkiyqw8k5zCL1XZo9U%2BY9_JR57p55xf-%3DtFf6Fa4HVskPSw%40mail.gmail.com.


Re: Configuration Django with uwsgi + NGINX

2020-12-30 Thread Venu Gopal
Thank you very much Carlos

On Wed, Dec 30, 2020 at 4:35 AM carlos  wrote:

>
> https://www.digitalocean.com/community/tutorials/how-to-serve-django-applications-with-uwsgi-and-nginx-on-ubuntu-16-04
>
> On Tue, Dec 29, 2020 at 4:57 AM Django-Learner_27 <
> reachme.ven...@gmail.com> wrote:
>
>>
>> Hi, I want to know about configuration steps for connecting Django with
>> uwgsi + NGINX. I tried through some web links but I am getting errors.
>> Thanks in advance.
>>
>> --
>> 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 view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/d46ce54c-15a2-42a4-8cb8-33a532ceb592n%40googlegroups.com
>> 
>> .
>>
>
>
> --
> att.
> Carlos Rocha
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAM-7rO12PqttzPrPuOZ_dZ6M7NBWyzLPb3oDgq5A5kTM_op55Q%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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAOhYkiyAGehw31O%3DM0VCaQqn9teGT9hqVeSf3A%3D0X_HL9ZXuQA%40mail.gmail.com.


Re: Is it possible to use REST API on Django template ?

2020-11-26 Thread Venu Gopal
Yes, it is possible. Below is the documentation. we will use serialization
to get a django rest API.
https://docs.djangoproject.com/en/3.1/topics/serialization/

On Wed, Nov 25, 2020 at 7:48 PM Aman Modi  wrote:

>
>
> Hello Django lovers.
>
> I want to use REST API  on Django template but i have no idea how can i do
> that.
> I want to use same API on android app and Django template.
>
> Any suggestion .
>
> Thanks and regard
> Aman Modi
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/99c6d921-9ea7-4f3b-9d69-03b06fbbd5d8n%40googlegroups.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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAOhYkiw-2jq%2B%3DLaxWZ8gZPsx0fsDLbKWivyZ2skJomj6oygu3Q%40mail.gmail.com.


Re: Align Two buttons in a TD

2020-10-24 Thread Venu Gopal
Probably, It will get resolved using separate td elements for each button.

On Sun, Oct 25, 2020 at 4:57 AM Walter Randazzo 
wrote:

> Sorry, I forgot to attach the file. This is how the template looks like
> now:
>
> El sábado, 24 de octubre de 2020 a la(s) 20:19:27 UTC-3, Walter Randazzo
> escribió:
>
>> Hi Jhon thanks for replying:
>>
>> I was able to solve the aling issue following  the botstrapp
>> documentation about buttons. Here is the new code:
>>
>>   
>>
>> Editar> class="btn btn-primary btn-sm" href="{% url 'articulos:delete' 
>> articulos.codigo %}" role="button">Borrar
>>   
>>
>> Heres is the Template:
>>
>>
>> El sábado, 24 de octubre de 2020 a la(s) 20:06:30 UTC-3, John_Diddles
>> escribió:
>>
>>> Can you share the CSS?
>>>
>>> On Sat, Oct 24, 2020, 8:10 PM Walter Randazzo 
>>> wrote:
>>>
 Hi Folks,

 Im trying to get aligned 2 buttons in a TD but  they stay overlaped.
 Im attaching the html and the results.

 Hope u guys can help me,

 Many Thanks!


 --
 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.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/django-users/8cf82730-158f-4ef8-8770-fb92859afc03n%40googlegroups.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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/43d0d55c-d329-450d-852b-75968966f115n%40googlegroups.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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAOhYkiwWSZUz_ACf%3DFPcZcFFgiGpj8owwRUm3Au%3DmGvSzVg8pg%40mail.gmail.com.


Re: issues 403 Forbidden

2020-10-24 Thread Venu Gopal
Use method="POST"

On Sun, Oct 25, 2020 at 1:11 AM waqar khan  wrote:

> I have already write html file in form {%  csrf_token  %}
> but not working
>
> Html file:
> {% extends 'base.html' %}
>
> {% block content %}
>
> {% load cart %}
> 
> 
> 
> 
> 
> 
> ALL
> Products
> {% for category in categories %}
> {{category.name}}
> {% endfor %}
>
> 
> 
>
> 
> 
> 
> {% for product in products %}
> 
> 
> 
> {{product.name}}
> {{product.price}}
> {{ product|is_in_cart:request.session.cart }}
>
> 
> 
> {% if product|is_in_cart:request.session.cart %}
> 
> 
> {% csrf_token %}
> 
> 
> 
> 
> {{product|cart_quantity:request.session.cart}} in Cart
> 
> {% csrf_token %}
> 
> 
> 
> 
> {% else %}
> 
> {% csrf_token %}
> 
>  value="Add To Cart">
> 
> {% endif %}
> 
> 
> {% endfor %}
> 
> 
> 
> 
>
> {% endblock content %}
>
>
> *problems*
> [image: 1.jpg]
>
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/ab1f6e7d-2798-4ec0-adeb-09f97a4bb727n%40googlegroups.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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAOhYkiz0-qzDAuSjj4WpyQhjTf%3D%3DZeHOYAzM%2BWHHLcnmMM%3Dfag%40mail.gmail.com.


Re:

2020-08-19 Thread Venu Gopal
Django will manage HTML templates to process backend data but not all
features of HTML. To fully functional design of HTML requires CSS,
Javascript. jquery.

On Wed, Aug 19, 2020 at 6:59 PM Suraj Kumar 
wrote:

> Hello Django Users,
>
>
> I want to know there is any need of knowledge in css, Html  while
> developing website through django. I can also use css framework bootstrap
> instead of css.
> Suraj
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CACCwaoWVefcoqZRKLHDwVdkWm%3D_FKe7enMFeiQOybSQGCj13BQ%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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAOhYkiwGhJ%2BFgOHBfbrVQJK%3Dx-LjmYzdm_6BwGSArs8FEepWdA%40mail.gmail.com.


Re: Streaming Data

2020-08-01 Thread Venu Gopal
Hi, Dylan Reinhold,

Many thanks for your response. I will try this solution.

On Sat, Aug 1, 2020 at 3:19 AM Dylan Reinhold  wrote:

> You can use the StreamingHttpResponse:
>
> https://docs.djangoproject.com/en/3.0/ref/request-response/#streaminghttpresponse-objects
>
>
> Dylan
>
> On Fri, Jul 31, 2020 at 6:46 AM Venu Gopal 
> wrote:
>
>> Hi, I have an urgent requirement where I need to stream data from Motion
>> JPG to Django template. This solution is already there in Flask Reference:
>> https://blog.miguelgrinberg.com/post/video-streaming-with-flask. Is
>> there any way to do it in Django.
>>
>> Thanks in advance.
>>
>> --
>> 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 view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/4f598b93-0e64-4162-b620-b9b4eb569870o%40googlegroups.com
>> <https://groups.google.com/d/msgid/django-users/4f598b93-0e64-4162-b620-b9b4eb569870o%40googlegroups.com?utm_medium=email_source=footer>
>> .
>>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAHtg44ATLpyfknk%2BNMKO2eMa6hiaypOKmQ%2BLgoDkQwUQETcm%3DQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAHtg44ATLpyfknk%2BNMKO2eMa6hiaypOKmQ%2BLgoDkQwUQETcm%3DQ%40mail.gmail.com?utm_medium=email_source=footer>
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAOhYkizS5-8171EGhadNv%2Bksnaz_P4hPXizL9AKY9UPp-Bf3gQ%40mail.gmail.com.


Streaming Data

2020-07-31 Thread Venu Gopal
Hi, I have an urgent requirement where I need to stream data from Motion 
JPG to Django template. This solution is already there in Flask Reference: 
https://blog.miguelgrinberg.com/post/video-streaming-with-flask. Is there 
any way to do it in Django.

Thanks in advance.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/4f598b93-0e64-4162-b620-b9b4eb569870o%40googlegroups.com.