Re: calling index.html

2019-09-28 Thread Lim Kai Wey
Note: Nonetheless, you should read more about the documentation or the tutorials available since everything you need to start you first Django project is already there. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this

Re: calling index.html

2019-09-28 Thread Lim Kai Wey
Greetings Müller, In order for your template to load for that specific page, you have to state it under that page’s view in views.py Eg: class IndexView(): template_name = “index.html” // Or if it’s a function view def index(request): return render(request, 'app/index.html',

calling index.html

2019-09-28 Thread Tato Müller
Hi everyone. How can i call an html page when i request the root of my app, like http://127.0.0.1:8000/app. I want index.html loads when i call this url. Could you help me? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from

[no subject]

2019-09-28 Thread Perceval Maturure
dear team my django cms is refusing to take in other templates when i select a different template, what could be the problem? i am on django cms 3.7.0 , django 2.1 and python 3 regards -- *Perceval Maturure* *083 303 9423* -- You received this message because you are subscribed to the

Re: Template linting

2019-09-28 Thread Jani Tiainen
Hi. It could be intetesting thing to play with for example pyparsing-library. But to my knoledge there is (not yet) such a linting tool. la 28. syysk. 2019 klo 17.00 Tobias Bengfort kirjoitti: > Hi, > > I was wondering whether there are any good options for linting HTML > templates. I have

Re: Django FastCGI and static files

2019-09-28 Thread Sipum
Block or mark as spam. I think it will work. Give it a try On Sat, 28 Sep, 2019, 7:30 PM Anike Sadia, wrote: > Hi pls how to leave this group > > > On Tue, 17 Sep 2019 at 17:16, Martin Jaan Leesment > wrote: > >> Hey >> >> I'm new to serving Django website on a shared server as well as using

Re: MongoDB Connect with Django

2019-09-28 Thread 'Abhishek Sharma' via Django users
Error during connecting Django with MongoDB, Please help on it. django.core.exceptions.ImproperlyConfigured: 'django_mongodb_engine' isn't an available database backend. Try using 'django.db.backends.XXX', where XXX is one of: 'mysql', 'oracle', 'postgresql', 'sqlite3' *Regards,* Abhishek

Re: Django FastCGI and static files

2019-09-28 Thread Anike Sadia
Hi pls how to leave this group On Tue, 17 Sep 2019 at 17:16, Martin Jaan Leesment wrote: > Hey > > I'm new to serving Django website on a shared server as well as using > fastcgi and .htaccess so this might be a basic question. Namely I'm having > difficulties serving static content. I've

Template linting

2019-09-28 Thread Tobias Bengfort
Hi, I was wondering whether there are any good options for linting HTML templates. I have searched for a while, but all I found falls into one of these categories: - half baked attempts that were abandoned at some point - HTML linters that get confused by template syntax - template linters for

Re: modelfields

2019-09-28 Thread challa.Harikrishna chowdary
error is solved thanks for response regards HARI.CH -- 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

Re: HOW TO DISPLAY THE COLLAPSED DATA IN CARD using django and bootstrap

2019-09-28 Thread Gil Obradors
How do you know? Not seeing in you code If it were in my desk, I will try first copy a example demo code. If works, then template it, but not the second before the "core" isn't working Console log browser can give help Missatge de leb dev del dia ds., 28 de set. 2019 a les 10:27: > js and

Re: HOW TO DISPLAY THE COLLAPSED DATA IN CARD using django and bootstrap

2019-09-28 Thread leb dev
js and bootstrap files are loaded correctly. On Saturday, September 28, 2019 at 10:56:41 AM UTC+3, leb dev wrote: > > I have a django project that includes cards where each card contains a > collapse that will hide or show the data. > > Problem is once i do a **foreach loop** the cards appear

Re: HOW TO DISPLAY THE COLLAPSED DATA IN CARD using django and bootstrap

2019-09-28 Thread Gil Obradors
HI! Can you paste console log from browser? Maybe you can see and error here , when you collapse down/up Can you assure that js files an css files from bootstrap are correctly loaded? ( network tab of browse debug tools) Missatge de leb dev del dia ds., 28 de set. 2019 a les 9:57: > I have

HOW TO DISPLAY THE COLLAPSED DATA IN CARD using django and bootstrap

2019-09-28 Thread leb dev
I have a django project that includes cards where each card contains a collapse that will hide or show the data. Problem is once i do a **foreach loop** the cards appear but the collapse is not working and doesn't display any data. I used the below steps: create function in views.py

A good explanation on dispatch() method

2019-09-28 Thread Deep Sukhwani
I found this explanation on SO much more layman terms oriented. It helped me understand just after the first read of it. Sharing in case it helps others too. *Official Django documentation*