Re: Overriding template blocks without copy/pasting entire template files

2020-06-16 Thread Arvind Nedumaran
Could you elaborate on how this is different from extending a base template and re-defining the necessary blocks? #base.html {% block title %}{{ section.title }}{% endblock %} . {% extends "base.html" %}{% block title %} My custom title that isn't section.title {% endblock %} This much

Re: Overriding template blocks without copy/pasting entire template files

2020-06-16 Thread Arvind Nedumaran
e 16, 2020 at 2:16:31 PM UTC+2, Arvind Nedumaran wrote: Could you elaborate on how this is different from extending a base template and re-defining the necessary blocks? #base.html {% block title %}{{ section.title }}{% endblock %} . {% extends "base.html" %} {% block title %}

Re: The blacklist / master issue

2020-06-16 Thread Arvind Nedumaran
The "default" is name is just a convention. It can be other things and after a few days of "teething" issues, and everyone will be back to being as productive as they are right now. Sent from Outlook Mobile From: django-developers@googlegr

Re: Overriding template blocks without copy/pasting entire template files

2020-06-16 Thread Arvind Nedumaran
riding template blocks without copy/pasting entire template files Ah, might be that you got hold up in a moderation queue or similar. Google groups is weird sometimes -- sorry! On Tuesday, June 16, 2020 at 3:20:25 PM UTC+2, Arvind Nedumaran wrote: Something must be faulty with my email delivery I supp

Welcome email

2020-07-05 Thread Arvind Nedumaran
Hey everyone, I notice that people who try to find support on using Django mistakenly post in this list and sometime usually has to write an explanation about how this is the wrong place. Could we possibly as a welcome email whenever someone joins the group? Just a suggestion. Best, Arvind -

Re: Welcome email

2020-07-05 Thread Arvind Nedumaran
velopers who use Django. But they are developers. אורי u...@speedy.net<mailto:u...@speedy.net> On Sun, Jul 5, 2020 at 5:59 PM Arvind Nedumaran mailto:arvindamir...@gmail.com>> wrote: Hey everyone, I notice that people who try to find support on using Django mistakenly post in this l

Re: Resume app designing need help

2020-07-09 Thread Arvind Nedumaran
Hi, You have reached the mailing list for discussing the development of the Django framework. I think you're looking for help with using Django which is a different mailing list (django-users). Or check out the forum at forum.djangoproject.com Best, Arvind Get Outlook for Android

Re: Adding a security concerned feature

2020-11-10 Thread Arvind Nedumaran
The one I follow is to set an environment variable to see if it’s a public facing instance or a private one (disconnected from the internet) and use that as a condition, which when true will add some urls. It’s the same pattern you’ll follow when using something like Django debug toolbar - whe

Re: Adding a security concerned feature

2020-11-19 Thread Arvind Nedumaran
A security model doesn’t necessarily have to be any one thing that’s 100% secure. It can be a combination of things which include “actual” security features as well as plain ol’ obscurity. If I have to register the admin urls on a project, I make sure to setup django-honeypot and move the admi

Re: Model Generation for CSV, XLS Files

2020-11-25 Thread Arvind Nedumaran
Hi Muskan, There isn’t anything that directly lets you load a CSV and generate models for it as far as I know (I may be wrong). But check out the Django documentation’s HOWTO on integrating with legacy databases - https://docs.djangoproject.com/en/3.1/howto/legacy-databases/. One possible

Re: Replace the default django test runner to a more robust testing framework (like pytest)

2020-12-15 Thread Arvind Nedumaran
A case could be made along the same lines as was made for South. Get Outlook for Android From: django-developers@googlegroups.com on behalf of Mariusz Felisiak Sent: Tuesday, December 15, 2020 9:58:56 PM To: Django developers (Contributio

Re: collectstatic command should output minified files

2020-12-21 Thread Arvind Nedumaran
I kinda like the idea of being able to run collectstatic and not have to worry about setting up a full on frontend workflow for pretty much just minification. It is a great default to have when this is all you need. That said, I’d be more interested in seeing something like an official or a dj

Re: collectstatic command should output minified files

2020-12-22 Thread Arvind Nedumaran
I didn't mean we should include things in Django. Even a workflow that integrates with Django using manage.py commands will be super useful. Right now, I use Parcel + Tailwind (csspostprocessor mostly) + done JavaScript. It's supposed to be simple. Even for this, I need to run to terminals (one