Hello team,
Am having trouble implementing drop down dependent on more than 2 drop
downs. I successfully did for two but the 3rd one which should depend on
the second does not work. Is there someone who has successfully implemented
this and share with me the way I can do it?
Thank you
--
*TUYIZ
Thanks Derek - it is now working as follows ...
class Chemical(models.Model):
...
ddstructure = models.TextField(null=True, blank=True,
verbose_name="2D structure")
...
class Svg_AdminTextareaWidget(AdminTextareaWidget):
def render(self, name, value, attrs=None, renderer=Non
Good to hear! Django once again proving capable, once you figure it out.
Am reminded of the Zen:
"There should be one-- and preferably only one --obvious way to do it.
Although that way may not be obvious at first unless you're Dutch."
On Mon, 7 Jun 2021 at 10:00, Mike Dewhirst wrote:
> Than
Hi,
I am developing a stock management application and I am stuck at simple use
case.
Following is my model for Stock:
class LiquidChemicalML(Stock):
supplier_name = models.ManyToManyField(Supplier)
quantity_values = (
('Ounces', 'Ounces'),
('Millilitters', 'Millilitters'),
('Pounds', 'Pounds')
If you want to have multiple chemicals in a single order then you'll have
to use ManyToManyField instead of ForeignKey field.
On Mon, Jun 7, 2021 at 5:08 PM Shazia Nusrat wrote:
> Hi,
> I am developing a stock management application and I am stuck at simple
> use case.
>
> Following is my model
It does look long and weird but we hardly visit /admin since we do most of
the operations from python manage.py shell
On Fri, 4 Jun 2021 at 11:42, Mike Dewhirst wrote:
> On 4/06/2021 2:28 pm, lalit suthar wrote:
> > We had a similar problem and we resolved it by moving all the models
> > into a
Ok - fair enough. On the other hand we do use the Admin extensively and because
we made a mistake during design which we would like to fix, we want to move a
couple of models from one app to another.Ticket #24686 looks brilliant and
might be implemented in the dev version of Django.Maybe I'll gi
All I was asking to make FK editable. I can do it in views by making forms
from "forms.Form" in Django and update models I needed to update.
Just thought that there might be a simpler way where I can choose an option
from ManyToMany select box and then edit those values.
On Monday, June 7, 20
Hello, how are you?
I am having trouble sending emails because of the `sanitize_address()`
Django function.
There is a ticket who talks about this:
https://code.djangoproject.com/ticket/31784
The ticket is closed, but I am still having the same problem.
The question is: How can I send emails
Hi,
Here is the list https://djangopackages.org/grids/g/countries/.
Hope this helps
Kannan
On Sun, Jun 6, 2021 at 4:22 PM Williams Andy Inc
wrote:
> Can anyone recommend a 3rd party app to me to use with forms form
> countries and states and cities of the world ..
>
> thank you
>
> --
> You r
Sir I'm internee i know python my company has assigned me bugs to resolve
in live project but i have not didn't experience of Django. Anyone who can
help me how to find bugs destination and how to resolve. i can pay for this
i want to be expert in 1 month because i'm in probations period.
--
Y
I have a table which holds simple data like addresses. Created a form which
displays the records in the form and allows the user to select a record
"address" to edit.
I want this edit function to be generic so it will work on any table
without me having to define fields etc... and using Model
Hello
I am a newbie to Django and Python. However, after a couple of intense
weeks watching of some video's on Youtube, Google Searches, and Django
Documentation I have been creating a cool website for quality control for
my company. To answer your question I assume you have a Django applicati
I can help you brother
On Mon, Jun 7, 2021, 19:21 Inside Believer wrote:
> Sir I'm internee i know python my company has assigned me bugs to resolve
> in live project but i have not didn't experience of Django. Anyone who can
> help me how to find bugs destination and how to resolve. i can pay f
Hi Shazia,
On Monday, June 7, 2021, 5:38:38 PM GMT+6, Shazia Nusrat
wrote:
>>> Hi,
>>> I need to update my orders model with available quantity and literals. My
>>> Orders are:
You can use GenericForenignKey field for such use case in your Orders Model.
see the doc:
https://
Thank you *mondaj...@gmail.com * for which time u can give me I'm from
Pakistan. My office timing is 6 PM to 3 AM
On Monday, 7 June 2021 at 09:22:02 UTC-7 Inside Believer wrote:
> Sir I'm internee i know python my company has assigned me bugs to resolve
> in live project but i have not didn't
thank you very much
On Mon, Jun 7, 2021 at 7:13 PM dupakoor kannan
wrote:
> Hi,
>
> Here is the list https://djangopackages.org/grids/g/countries/.
>
> Hope this helps
>
> Kannan
>
> On Sun, Jun 6, 2021 at 4:22 PM Williams Andy Inc
> wrote:
>
>> Can anyone recommend a 3rd party app to me to use
This is heads up in case anyone sees something similar:
I have managed to trigger this degenerate query case in two completely
different Django 2.2 projects. In production with a normal sized dataset,
the query time is fine. But during unit testing with a small subset of the
data, the querie
Hello Nicolás,
i would take another smtp python client to do that.
But i am not 100% sure that you don't have here the same problem...
Regards
Am Mo., 7. Juni 2021 um 17:46 Uhr schrieb Nicolás Gustavo Bruna <
bruna.nicolasgust...@gmail.com>:
> Hello, how are you?
>
> I am having trouble sendin
Sebastian,.. una pregunta:
Tienes idea de como a partir de Django poder enviar un whatssap. Te
agradeceria tu ayuda.
Gabriel Araya Garcia
Santiago - Chile
El lun, 7 jun 2021 a las 11:46, Nicolás Gustavo Bruna (<
bruna.nicolasgust...@gmail.com>) escribió:
> Hello, how are you?
>
> I am having
Hi how did you implemented the first
couple of drop downs and what problem you are facing in the third one
exactly
On Mon, Jun 7, 2021, 1:02 PM Eugene TUYIZERE
wrote:
> Hello team,
>
> Am having trouble implementing drop down dependent on more than 2 drop
> downs. I successfully did for two b
try form.save(commit=False)
On Mon, 7 Jun 2021 at 22:10, Moose Smith <47kanga...@gmail.com> wrote:
> I have a table which holds simple data like addresses. Created a form
> which displays the records in the form and allows the user to select a
> record "address" to edit.
>
> I want this edit fun
oh great, good luck with that :D
cheers!
On Mon, 7 Jun 2021 at 19:40, Mike Dewhirst wrote:
> Ok - fair enough. On the other hand we do use the Admin extensively and
> because we made a mistake during design which we would like to fix, we want
> to move a couple of models from one app to another
Can you inbox me @my email so that we can discuss please
On Mon, Jun 7, 2021, 20:17 Inside Believer wrote:
> Thank you *mondaj...@gmail.com * for which time u
> can give me I'm from Pakistan. My office timing is 6 PM to 3 AM
>
> On Monday, 7 June 2021 at 09:22:02 UTC-7 Inside Believer wrote:
>
I can help you
On Tue, Jun 8, 2021, 6:30 AM Software, Web Developer
wrote:
> Can you inbox me @my email so that we can discuss please
>
> On Mon, Jun 7, 2021, 20:17 Inside Believer wrote:
>
>> Thank you *mondaj...@gmail.com * for which time u
>> can give me I'm from Pakistan. My office timing
ftchoua...@gmail.com text me inbox, 656774424 WhatsApp.
On Tue, Jun 8, 2021, 7:04 AM Franck Tchouanga wrote:
> I can help you
>
> On Tue, Jun 8, 2021, 6:30 AM Software, Web Developer <
> mondajoas...@gmail.com> wrote:
>
>> Can you inbox me @my email so that we can discuss please
>>
>> On Mon, Ju
Hello,
I want to implement two factor authetication in my django app. The steps
are as follows:
1. User need to register
2. User need to login
3. As login user, user need to send a token for verification, if
verification is ok, I set the variable like this
request.session['token']=True.
I hav
try me bro i'll help debug and again teach you how to do it
On Tue, 8 Jun 2021 at 09:05, Franck Tchouanga wrote:
> ftchoua...@gmail.com text me inbox, 656774424 WhatsApp.
>
> On Tue, Jun 8, 2021, 7:04 AM Franck Tchouanga
> wrote:
>
>> I can help you
>>
>> On Tue, Jun 8, 2021, 6:30 AM Software,
28 matches
Mail list logo