Re: django staticfiles problem

2020-10-14 Thread Farai M
Why have the media url if it's point to the same dir as static .Your can just specific it's separately in it's own dir as /media/ and have /static/ .You are also missing a static root there . On Wed, Oct 14, 2020, 5:05 PM Chelsea Fan wrote: > MEDIA_URL = '/images/' > MEDIA_ROOT = BASE_DIR /

Re: Recruitment

2020-10-14 Thread Farai M
One email l think would have been enough because it goes to every body.The email should have been on it's separate thread with a full company profile and details so it stands out when we need those services people will just search their inbox. Then you could put a banner pricing links to

Re: Pasting images versus uploading

2020-10-14 Thread Ryan Nowakowski
On Fri, Oct 09, 2020 at 06:22:10PM +1100, Mike Dewhirst wrote: > On 9/10/2020 11:55 am, Ryan Nowakowski wrote: > > Maybe you could swap out the default ImageField widget for > > TinyMCE-lite HTMLField? Security-wise you probably want to sanitize > > the input from HTMLField in Django to make sure

Does not automatically assign ID?

2020-10-14 Thread Joakim Hove
Disclaimers: 1. This issue is also on StackOverflow: https://stackoverflow.com/questions/64320386/django-postgresql-model-with-only-foreign-keys 2. I posted this here in this group a couple of days ago without finding a solution. I must admit I am quite baffled by this problem,

Re: Recruitment

2020-10-14 Thread Damanjeet Singh
Better to support and answers to users quries rather than promoting your business here. On Wed, 14 Oct 2020, 15:20 Dvs Khamele, wrote: > Did not expected this, apologizes. > > On Wed, 14 Oct 2020 at 15:46, Kasper Laudrup > wrote: > >> Hi Divyesh, >> >> On 14/10/2020 11.20, Dvs Khamele wrote:

Re: Request for admins

2020-10-14 Thread Damanjeet Singh
I agree with you. On Sun, 11 Oct 2020, 21:14 o1bigtenor, wrote: > Greetings > > The list volume seems to have attracted those that purport to offer > help or services. > > Is it possible that the volume of this has reached a point where there > is a separate list for just that. > That would be

Re: Can Django template extend dynamic content in child or grandchild template?

2020-10-14 Thread tristant
Sorry for the badly formatted html code. My question on Stackoverflow here: https://stackoverflow.com/questions/64359521/djang-multiple-levels-of-template-extension-while-keeping-the-elements-of-the-up Thanks, On Wednesday, October 14, 2020 at 1:03:43 PM UTC-6 tristant wrote: > > ... {%

Can Django template extend dynamic content in child or grandchild template?

2020-10-14 Thread tristant
... {% block content %} {% endblock %} category.html : {% extends "base.html" %} {% block content %} < div id="menu_category_display"> {% for category in menu_categories %} {% with category_button="menu_"|add:category.name|lower %} {{category}} {% endwith %} {% endfor %}{% block

Re: django staticfiles problem

2020-10-14 Thread Chelsea Fan
MEDIA_URL = '/images/' MEDIA_ROOT = BASE_DIR / 'static/images' On Wed, Oct 14, 2020 at 2:12 PM Anh Nguyen wrote: > where is your STATIC_ROOT ? > > > On Wed, Oct 14, 2020 at 5:43 PM Chelsea Fan > wrote: > >> hello everyone, I have an issue, I can't connect css style to my >> template, but I

Re: Recruitment

2020-10-14 Thread Dvs Khamele
Did not expected this, apologizes. On Wed, 14 Oct 2020 at 15:46, Kasper Laudrup wrote: > Hi Divyesh, > > On 14/10/2020 11.20, Dvs Khamele wrote: > > Hi John, > > Thanks for interest in Python / Django services. Let me know the best > > time to have contact also some contact details to my email

Re: django template forloop

2020-10-14 Thread webmbackslash
for field in formone not fieldi Il giorno mer 14 ott 2020 alle ore 13:06 RANGA BHARATH JINKA < bharathjink...@gmail.com> ha scritto: > Hi, > > You have to end for loop for second for loop > > On Wed, Oct 14, 2020 at 4:23 PM luca72.b...@gmail.com < > luca72.bertolo...@gmail.com> wrote: > >>

Re: django staticfiles problem

2020-10-14 Thread Anh Nguyen
where is your STATIC_ROOT ? On Wed, Oct 14, 2020 at 5:43 PM Chelsea Fan wrote: > hello everyone, I have an issue, I can't connect css style to my template, > but I can upload images and see it , here is my code, please help me, > thanks for attentions !!! > > STATIC_URL = '/static/' >

Re: django template forloop

2020-10-14 Thread RANGA BHARATH JINKA
Hi, You have to end for loop for second for loop On Wed, Oct 14, 2020 at 4:23 PM luca72.b...@gmail.com < luca72.bertolo...@gmail.com> wrote: > Hello > I have this: > {% for x in lista_form %} > {% if forloop.counter < 100 %} > {% for fieldi in formone %} >

django template forloop

2020-10-14 Thread luca72.b...@gmail.com
Hello I have this: {% for x in lista_form %} {% if forloop.counter < 100 %} {% for fieldi in formone %} {{ fieldi.label }} {{ fieldi }} {% endfor %} Immagine {% endif %} {% if

django staticfiles problem

2020-10-14 Thread Chelsea Fan
hello everyone, I have an issue, I can't connect css style to my template, but I can upload images and see it , here is my code, please help me, thanks for attentions !!! STATIC_URL = '/static/' STATICFILES_DIR = [BASE_DIR / 'static'] {% load static %} [image: image.png] -- You

Re: Recruitment

2020-10-14 Thread Kasper Laudrup
Hi Divyesh, On 14/10/2020 11.20, Dvs Khamele wrote: Hi John, Thanks for interest in Python / Django services. Let me know the best time to have contact also some contact details to my email personally. Considering your very shady behavior of spamming this list previously, I hope people will

Re: Recruitment

2020-10-14 Thread Dvs Khamele
Hi John, Thanks for interest in Python / Django services. Let me know the best time to have contact also some contact details to my email personally. Mine are:- live:dvskha, https://wa.me/+91918225998112 Thanks and regards, Divyesh Khamele On Tue, 13 Oct 2020 at 18:32, John Rajesh wrote: > I'm

Double for cycle in template

2020-10-14 Thread luca72.b...@gmail.com
Hello i have this: {% for fieldi in formone %} {{ fieldi.label }} {{ fieldi }} {% if forloop.counter|divisibleby:"2" %} {% endif %} {% endfor %} i need to add: {% for fieldi in formone and for or x in lista_form