regarding django forms

2022-09-26 Thread Javier Esparis Meza
I'm currently having strange behavior with a django admin form. Somehow the 
django admin form is not creating the model fields and occasionally a GET 
request fails because I am trying to change the widget of a field in the 
__init__ method.

I think the error I have is in the django admin class I created.  My 
question is, the django admin can define which fields are created or not in 
the form ? 

I have all the fields defined in a fieldset and still the fields are not 
created. 

-- 
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/37c91771-abf9-4b6c-9ca9-93dbaa46081en%40googlegroups.com.


Re: Regarding Django forms

2022-09-23 Thread Sebastian Jung
This is easy you implement it with django forms then copy widget
html/javascript code with browser and then implement it 1:1 but not with
django forms... But i understand till yet WHY you want without django
forms? Yoz cab change django forms/widget 1:1 how do yoz want but this
isn't for a beginner easy... So far make what you want

Nishant Sagar  schrieb am Fr., 23. Sept. 2022,
13:40:

> I want to make my form save files to a database without using the django
> form
>
> On Fri, 23 Sep 2022 at 12:52 PM, Sebastian Jung 
> wrote:
>
>> Do you want change only a form or do you want also change widgets in this
>> form?
>>
>> Nishant Sagar  schrieb am Fr., 23. Sept. 2022,
>> 08:32:
>>
>>> Hey Sebastian,
>>>
>>> That’s not my concern, all I want to know is, whether is it advisable to
>>> implement the form such a way or Django form is a must.
>>>
>>> If it is advisable why can't we add those in the documentation and if it
>>> is not advisable what's the reason behind it?
>>>
>>> Thanks and regards,
>>> Nishant
>>>
>>> On Fri, 23 Sep 2022 at 11:36 AM, Sebastian Jung <
>>> sebastian.ju...@gmail.com> wrote:
>>>
>>>> Hello,
>>>>
>>>> I would hire on upworks a cheap developer how show you how to implement
>>>> such thing. This is relative easy when you know how it works
>>>>
>>>> Regards
>>>>
>>>> Nishant Sagar  schrieb am Fr., 23. Sept. 2022,
>>>> 07:57:
>>>>
>>>>> Hey forks,
>>>>>
>>>>> I’m in little dilemma regarding Django forms. I'm working on a project
>>>>> as a backend guy who doesn't know much about CSS and JavaScript so a
>>>>> frontend guy delivered me a form template designed using CSS, however,
>>>>> Django documentation suggests that it's good practice to use Django forms.
>>>>>
>>>>> So how feasible do you think it is for a frontend guy to learn Django
>>>>> widgets from scratch to implement the same thing he can easily do from CSS
>>>>> and JS. As a newbie backend guy, it's not easy for me either to learn
>>>>> frontend tech to implement the same thing in so little time.
>>>>>
>>>>> So I tried implementing the form without using Django forms but I find
>>>>> it hard to deal with files as there is no documentation I can look up to.
>>>>>
>>>>> So can we add these to the documentation or it is still advisable to
>>>>> use Django forms?
>>>>>
>>>>>
>>>>> Thanks and regards,
>>>>> Nishant
>>>>>
>>>>> --
>>>>> 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/CANNtL-Kqud7V6sk_%3DYnagzATw8eJjO9pCeDx9Za80XywXBi2tQ%40mail.gmail.com
>>>>> <https://groups.google.com/d/msgid/django-users/CANNtL-Kqud7V6sk_%3DYnagzATw8eJjO9pCeDx9Za80XywXBi2tQ%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/CAKGT9mzEh9H3yUOOF1%3DhOSsgz5KedwxSu-ygwQ1BPbBQtg7jEw%40mail.gmail.com
>>>> <https://groups.google.com/d/msgid/django-users/CAKGT9mzEh9H3yUOOF1%3DhOSsgz5KedwxSu-ygwQ1BPbBQtg7jEw%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/CANNtL-%2BR7RZvEf1GX4bfb_LrAMW%3DVCVkKecb-gLg3%3DgK0x0WXg%40mail.gmail.com
>>> <https://groups.google.c

Re: Regarding Django forms

2022-09-23 Thread Nishant Sagar
I want to make my form save files to a database without using the django
form

On Fri, 23 Sep 2022 at 12:52 PM, Sebastian Jung 
wrote:

> Do you want change only a form or do you want also change widgets in this
> form?
>
> Nishant Sagar  schrieb am Fr., 23. Sept. 2022,
> 08:32:
>
>> Hey Sebastian,
>>
>> That’s not my concern, all I want to know is, whether is it advisable to
>> implement the form such a way or Django form is a must.
>>
>> If it is advisable why can't we add those in the documentation and if it
>> is not advisable what's the reason behind it?
>>
>> Thanks and regards,
>> Nishant
>>
>> On Fri, 23 Sep 2022 at 11:36 AM, Sebastian Jung <
>> sebastian.ju...@gmail.com> wrote:
>>
>>> Hello,
>>>
>>> I would hire on upworks a cheap developer how show you how to implement
>>> such thing. This is relative easy when you know how it works
>>>
>>> Regards
>>>
>>> Nishant Sagar  schrieb am Fr., 23. Sept. 2022,
>>> 07:57:
>>>
>>>> Hey forks,
>>>>
>>>> I’m in little dilemma regarding Django forms. I'm working on a project
>>>> as a backend guy who doesn't know much about CSS and JavaScript so a
>>>> frontend guy delivered me a form template designed using CSS, however,
>>>> Django documentation suggests that it's good practice to use Django forms.
>>>>
>>>> So how feasible do you think it is for a frontend guy to learn Django
>>>> widgets from scratch to implement the same thing he can easily do from CSS
>>>> and JS. As a newbie backend guy, it's not easy for me either to learn
>>>> frontend tech to implement the same thing in so little time.
>>>>
>>>> So I tried implementing the form without using Django forms but I find
>>>> it hard to deal with files as there is no documentation I can look up to.
>>>>
>>>> So can we add these to the documentation or it is still advisable to
>>>> use Django forms?
>>>>
>>>>
>>>> Thanks and regards,
>>>> Nishant
>>>>
>>>> --
>>>> 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/CANNtL-Kqud7V6sk_%3DYnagzATw8eJjO9pCeDx9Za80XywXBi2tQ%40mail.gmail.com
>>>> <https://groups.google.com/d/msgid/django-users/CANNtL-Kqud7V6sk_%3DYnagzATw8eJjO9pCeDx9Za80XywXBi2tQ%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/CAKGT9mzEh9H3yUOOF1%3DhOSsgz5KedwxSu-ygwQ1BPbBQtg7jEw%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/django-users/CAKGT9mzEh9H3yUOOF1%3DhOSsgz5KedwxSu-ygwQ1BPbBQtg7jEw%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/CANNtL-%2BR7RZvEf1GX4bfb_LrAMW%3DVCVkKecb-gLg3%3DgK0x0WXg%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CANNtL-%2BR7RZvEf1GX4bfb_LrAMW%3DVCVkKecb-gLg3%3DgK0x0WXg%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/CAKGT9mwdxnjvCBRLJ36TAv6HPdo63i0_U%2B6e2MaOsR%2BRhW%3DVxg%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAKGT9mwdxnjvCBRLJ36TAv6HPdo63i0_U%2B6e2MaOsR%2BRhW%3DVxg%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/CANNtL-%2BabDP3VefExtaujqbSSLWjfLN5xb8_Rs_%2BxybDd4M3Mg%40mail.gmail.com.


Re: Regarding Django forms

2022-09-23 Thread Sebastian Jung
Do you want change only a form or do you want also change widgets in this
form?

Nishant Sagar  schrieb am Fr., 23. Sept. 2022,
08:32:

> Hey Sebastian,
>
> That’s not my concern, all I want to know is, whether is it advisable to
> implement the form such a way or Django form is a must.
>
> If it is advisable why can't we add those in the documentation and if it
> is not advisable what's the reason behind it?
>
> Thanks and regards,
> Nishant
>
> On Fri, 23 Sep 2022 at 11:36 AM, Sebastian Jung 
> wrote:
>
>> Hello,
>>
>> I would hire on upworks a cheap developer how show you how to implement
>> such thing. This is relative easy when you know how it works
>>
>> Regards
>>
>> Nishant Sagar  schrieb am Fr., 23. Sept. 2022,
>> 07:57:
>>
>>> Hey forks,
>>>
>>> I’m in little dilemma regarding Django forms. I'm working on a project
>>> as a backend guy who doesn't know much about CSS and JavaScript so a
>>> frontend guy delivered me a form template designed using CSS, however,
>>> Django documentation suggests that it's good practice to use Django forms.
>>>
>>> So how feasible do you think it is for a frontend guy to learn Django
>>> widgets from scratch to implement the same thing he can easily do from CSS
>>> and JS. As a newbie backend guy, it's not easy for me either to learn
>>> frontend tech to implement the same thing in so little time.
>>>
>>> So I tried implementing the form without using Django forms but I find
>>> it hard to deal with files as there is no documentation I can look up to.
>>>
>>> So can we add these to the documentation or it is still advisable to use
>>> Django forms?
>>>
>>>
>>> Thanks and regards,
>>> Nishant
>>>
>>> --
>>> 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/CANNtL-Kqud7V6sk_%3DYnagzATw8eJjO9pCeDx9Za80XywXBi2tQ%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/django-users/CANNtL-Kqud7V6sk_%3DYnagzATw8eJjO9pCeDx9Za80XywXBi2tQ%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/CAKGT9mzEh9H3yUOOF1%3DhOSsgz5KedwxSu-ygwQ1BPbBQtg7jEw%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CAKGT9mzEh9H3yUOOF1%3DhOSsgz5KedwxSu-ygwQ1BPbBQtg7jEw%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/CANNtL-%2BR7RZvEf1GX4bfb_LrAMW%3DVCVkKecb-gLg3%3DgK0x0WXg%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CANNtL-%2BR7RZvEf1GX4bfb_LrAMW%3DVCVkKecb-gLg3%3DgK0x0WXg%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/CAKGT9mwdxnjvCBRLJ36TAv6HPdo63i0_U%2B6e2MaOsR%2BRhW%3DVxg%40mail.gmail.com.


Re: Regarding Django forms

2022-09-23 Thread Nishant Sagar
Hey Sebastian,

That’s not my concern, all I want to know is, whether is it advisable to
implement the form such a way or Django form is a must.

If it is advisable why can't we add those in the documentation and if it is
not advisable what's the reason behind it?

Thanks and regards,
Nishant

On Fri, 23 Sep 2022 at 11:36 AM, Sebastian Jung 
wrote:

> Hello,
>
> I would hire on upworks a cheap developer how show you how to implement
> such thing. This is relative easy when you know how it works
>
> Regards
>
> Nishant Sagar  schrieb am Fr., 23. Sept. 2022,
> 07:57:
>
>> Hey forks,
>>
>> I’m in little dilemma regarding Django forms. I'm working on a project as
>> a backend guy who doesn't know much about CSS and JavaScript so a frontend
>> guy delivered me a form template designed using CSS, however, Django
>> documentation suggests that it's good practice to use Django forms.
>>
>> So how feasible do you think it is for a frontend guy to learn Django
>> widgets from scratch to implement the same thing he can easily do from CSS
>> and JS. As a newbie backend guy, it's not easy for me either to learn
>> frontend tech to implement the same thing in so little time.
>>
>> So I tried implementing the form without using Django forms but I find it
>> hard to deal with files as there is no documentation I can look up to.
>>
>> So can we add these to the documentation or it is still advisable to use
>> Django forms?
>>
>>
>> Thanks and regards,
>> Nishant
>>
>> --
>> 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/CANNtL-Kqud7V6sk_%3DYnagzATw8eJjO9pCeDx9Za80XywXBi2tQ%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CANNtL-Kqud7V6sk_%3DYnagzATw8eJjO9pCeDx9Za80XywXBi2tQ%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/CAKGT9mzEh9H3yUOOF1%3DhOSsgz5KedwxSu-ygwQ1BPbBQtg7jEw%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAKGT9mzEh9H3yUOOF1%3DhOSsgz5KedwxSu-ygwQ1BPbBQtg7jEw%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/CANNtL-%2BR7RZvEf1GX4bfb_LrAMW%3DVCVkKecb-gLg3%3DgK0x0WXg%40mail.gmail.com.


Re: Regarding Django forms

2022-09-23 Thread Sebastian Jung
Hello,

I would hire on upworks a cheap developer how show you how to implement
such thing. This is relative easy when you know how it works

Regards

Nishant Sagar  schrieb am Fr., 23. Sept. 2022,
07:57:

> Hey forks,
>
> I’m in little dilemma regarding Django forms. I'm working on a project as
> a backend guy who doesn't know much about CSS and JavaScript so a frontend
> guy delivered me a form template designed using CSS, however, Django
> documentation suggests that it's good practice to use Django forms.
>
> So how feasible do you think it is for a frontend guy to learn Django
> widgets from scratch to implement the same thing he can easily do from CSS
> and JS. As a newbie backend guy, it's not easy for me either to learn
> frontend tech to implement the same thing in so little time.
>
> So I tried implementing the form without using Django forms but I find it
> hard to deal with files as there is no documentation I can look up to.
>
> So can we add these to the documentation or it is still advisable to use
> Django forms?
>
>
> Thanks and regards,
> Nishant
>
> --
> 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/CANNtL-Kqud7V6sk_%3DYnagzATw8eJjO9pCeDx9Za80XywXBi2tQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CANNtL-Kqud7V6sk_%3DYnagzATw8eJjO9pCeDx9Za80XywXBi2tQ%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/CAKGT9mzEh9H3yUOOF1%3DhOSsgz5KedwxSu-ygwQ1BPbBQtg7jEw%40mail.gmail.com.


Regarding Django forms

2022-09-22 Thread Nishant Sagar
Hey forks,

I’m in little dilemma regarding Django forms. I'm working on a project as a
backend guy who doesn't know much about CSS and JavaScript so a frontend
guy delivered me a form template designed using CSS, however, Django
documentation suggests that it's good practice to use Django forms.

So how feasible do you think it is for a frontend guy to learn Django
widgets from scratch to implement the same thing he can easily do from CSS
and JS. As a newbie backend guy, it's not easy for me either to learn
frontend tech to implement the same thing in so little time.

So I tried implementing the form without using Django forms but I find it
hard to deal with files as there is no documentation I can look up to.

So can we add these to the documentation or it is still advisable to use
Django forms?


Thanks and regards,
Nishant

-- 
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/CANNtL-Kqud7V6sk_%3DYnagzATw8eJjO9pCeDx9Za80XywXBi2tQ%40mail.gmail.com.