Re: model configuration

2021-06-06 Thread frank dilorenzo
Thanks Mike. I'll give it a try. Have a great day. frank- On Fri, Jun 4, 2021 at 8:42 PM Mike Dewhirst wrote: > Frank > > You don't have to import the class for the FK. Instead do a "lazy import". > > That means you just use "appname.Modelname" and Django is smart enough to > fugure it out.

Re: SVG widget for the Admin

2021-06-06 Thread Mike Dewhirst
On 6/06/2021 6:14 pm, Derek wrote: RE - "I've looked at the AdminTextareaWidget which is probably based on the TextInput built-in widget but see no way to influence what it does. " and "How do I get it to display inline in the proper place?" There seems to be similar question on SO:

Re: SVG widget for the Admin

2021-06-06 Thread Mike Dewhirst
On 4/06/2021 5:15 pm, Derek wrote: Hi Mike The SVG is not going to display as SVG in a *form* - for that you'd need a widget, or perhaps just let users edit the text. OK - I'm outta my depth here. I've looked at the AdminTextareaWidget which is probably based on the TextInput built-in

Re: Facing problem to display dynamic (name,description of places AND price)on the web page using Django

2021-06-06 Thread Bradie Poa
please use the code below: def index(request): context = {} return render(request, 'index.html' , context) On Thu, 3 Jun 2021 at 16:52, Michael Smith wrote: > You can't have three of the same name view either can you? > > On Thu, Jun 3, 2021 at 9:36 AM Nandaniya Nilesh < >

Using Countries with django

2021-06-06 Thread Williams Andy Inc
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 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

A Great Big Thank You

2021-06-06 Thread Malik Rumi
To the Core Developers: I was actually going to write my own app to do this, and then I found admindocs, and the description made it clear that a lot of the functionality I wanted was already there. I just finished installing it, and it is a beauty to behold. Even better than I had hoped - and