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

2020-12-15 Thread Diptesh Choudhuri
'*. This way we need not compromise on the features that the default runner provides over pytest. Meanwhile I could work on some the issues pytest has by contributing to pytest-dev. One small question- will a contribution to repositories such as *pytest-dev *or *graphene-django *count as contributions

Re: Issues and Improvements to the The Django Administration

2020-12-15 Thread Carles Pina i Estany
that I haven't thought now :-) Cheers, -- Carles Pina i Estany https://carles.pina.cat -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receivin

Re: Issues and Improvements to the The Django Administration

2020-12-15 Thread Muskan Vaswan
1. Agreeably this won’t be easy but I might have a way of doing this without having to make changes to the data model. We can leave the data model as it is but manipulate the context that we give to by changing the simple query (Line 16 <https://github.com/django/django/blob/master/django/cont

Re: Issues and Improvements to the The Django Administration

2020-12-15 Thread Adam Johnson
t manipulate the context that we give to by changing the > simple query (Line 16 > <https://github.com/django/django/blob/master/django/contrib/admin/templatetags/log.py>) > to > something slightly more complex. > Like maybe > #logs = LogEntry.objects.values('ac

Re: Issues and Improvements to the The Django Administration

2020-12-15 Thread Muskan Vaswan
1. Agreeably this won’t be easy but I might have a way of doing this without having to make changes to the data model. We can leave the data model as it is but manipulate the context that we give to by changing the simple query (Line 16 <https://github.com/django/django/blob/master/dja

Re: Issues and Improvements to the The Django Administration

2020-12-15 Thread Muskan Vaswan
[image: WhatsApp Image 2020-12-15 at 10.55.37 PM.jpeg] On Wednesday, 16 December 2020 at 00:12:40 UTC+5:30 Muskan Vaswan wrote: > I have the following suggestions and issues with the Django site > administration: > > 1. When deleting or adding items in Bulk (especially deleting)

Issues and Improvements to the The Django Administration

2020-12-15 Thread Muskan Vaswan
I have the following suggestions and issues with the Django site administration: 1. When deleting or adding items in Bulk (especially deleting), The Recent Actions should show “Deleted 15 Items” rather than every deleted item singularly which just occupies space and doesn't make a lot of sense

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

2020-12-15 Thread Adam Johnson
https://github.com/pytest-dev/pytest-django/pull/414 Instead they are kind of addons that'd be nice to have. > That's not how we treat stability in Django. These features are necessary, core features for the projects that use them, and we treat them as necessary. Please read the Deprecation Poli

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

2020-12-15 Thread Diptesh Choudhuri
*Adam,* Thanks for your detailed feedback. I will be honest, I couldn't understand any of the points you mentioned (except the first one- this can be easily solved using a pytest hook). As you said, these are very rare cases indeed. As a django and pytest user for some time, I would have

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

2020-12-15 Thread Diptesh Choudhuri
A case could be made along the same lines as was made for South. > > Get Outlook for Android <https://aka.ms/ghei36> > > ------ > *From:* django-d...@googlegroups.com on > behalf of Mariusz Felisiak > *Sent:* Tuesday, December 15, 2020 9:5

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

2020-12-15 Thread Diptesh Choudhuri
> I agree with René and Adam, pytest and pytest-django already exist, and I don't see why we should copy it to Django or change the default test runner. I am not talking about replicating any code-base whatsoever. What I am proposing instead is official django support for pytest. Kind of l

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<https://aka.ms/ghei36> From: django-developers@googlegroups.com on behalf of Mariusz Felisiak Sent: Tuesday, December 15, 2020 9:58:56 PM To: Django deve

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

2020-12-15 Thread Mariusz Felisiak
Hi, I agree with René and Adam, pytest and pytest-django already exist, and I don't see why we should copy it to Django or change the default test runner. Best, Mariusz -- You received this message because you are subscribed to the Google Groups "Django developers (Contribu

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

2020-12-15 Thread Diptesh Choudhuri
ile such a feature already exists in pytest. Adding to this, since features like this already exist in *pytest*, I don't think we should reinvent the wheel and try to implement them from scratch. I would say the main reason I would like integrate pytest into the django core is that since it is much loved am

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

2020-12-15 Thread Adam Johnson
the unittest-based runner would break users' customizations such as subclasses Secondly, pytest-django may seem mature, but it does not have feature parity with Django's test framework. Off the top of my head: - It doesn't run system checks before tests. - It doesn't support a setUpTestData

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

2020-12-15 Thread Diptesh Choudhuri
, as has django itself. The points raised in the ticket itself are still valid 5 years later and as django is a mature project now, some of its development prowess must go to specifically fixing its weaknesses (I believe the default runner is one). That being said, I also opened another

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

2020-12-15 Thread Ahmad A. Hussein
Hi Diptesh, This is a great idea! (And one that has had a fair bit of discussion). I don't think anyone holds an opinion against supporting pytest as a testing tool, but I believe the main hurdle is laying a convincing argument why this support should be in Django Core versus remaining in its

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

2020-12-15 Thread René Fleschenberg
/ pytest-django as a test runner without having to use any other pytest features (it can run unittest-style tests, you don't have to rewrite them). I do think it has some features in the test runner. For example, the -k command line option to quickly select tests, or --last-failed to rerun failed

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

2020-12-15 Thread Tom Forbes
that most of the Python ecosystem has settled on pytest, and if we go along with that as well then we can reduce our maintenance burden whilst making our users happier. Tom > On 15 Dec 2020, at 13:52, Diptesh Choudhuri > wrote: > > Though the django default runner gets the job d

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

2020-12-15 Thread Tobias Bengfort
runner requires a third party library and looks difficult <http://witkowskibartosz.com/blog/parameterized-django-testcases-at-biking-endorphines.html>  (I will be honest, I haven't used this package myself at all). `subTest` has been in the standard library since python 3.4.

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

2020-12-15 Thread Jacob Rief
There is already a ticket for this: https://code.djangoproject.com/ticket/25707 I'm actually very much in favor of switching to pytest. In my newer projects I use pytest exclusively. -- You received this message because you are subscribed to the Google Groups "Django devel

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

2020-12-15 Thread Diptesh Choudhuri
Though the django default runner gets the job done, I think its high time to leverage the power of dedicated frameworks for testing django apps. I will take up the case of *pytest* here because other frameworks like *nose * are not widely used. For everyone who has used pytest for testing

Re: Support for No-SQL database in Django

2020-12-06 Thread Adam Johnson
Aaron Bassett is a DSF member and also works at MongoDB. I just listened to his recent Django Chat podcast episode ( https://djangochat.com/episodes/mongodb-aaron-bassett ) in which he said anyone interested in MongoDB support for Django should message him on twitter or email him. He wants to get

Re: Support for No-SQL database in Django

2020-12-06 Thread Jacob Rief
> Do you need aggregations, database functions, joins with filtering on >> foreign keys, etc.? Then you should consider a relational database anyway. >> Or would you just like to define models and have the Django admin >> generate some nice editors for your non

Re: Django project 503 issue

2020-12-05 Thread Paolo Melchiorre
723712 > > On Sat, 5 Dec 2020 at 17:06, Paolo Melchiorre > wrote: > >> Hi all, >> >> I noticed that the Django project website is responding to an HTTP status >> 503. >> >> I found an issue on github and I added a comment to it. >> >> I don't k

Re: Django project 503 issue

2020-12-05 Thread Adam Johnson
This is now resolved thanks to the work of Florian: https://twitter.com/fapolloner/status/1335274719348723712 On Sat, 5 Dec 2020 at 17:06, Paolo Melchiorre wrote: > Hi all, > > I noticed that the Django project website is responding to an HTTP status > 503. > > I found an iss

Django project 503 issue

2020-12-05 Thread Paolo Melchiorre
Hi all, I noticed that the Django project website is responding to an HTTP status 503. I found an issue on github and I added a comment to it. I don't know if there's a better way to report this type of error. https://github.com/django/djangoproject.com/issues/1051 Best regards, Paolo

Re: Support for No-SQL database in Django

2020-12-05 Thread Vineet Sharma
wrote: > Hello Vineet, > you can perfectly use MongoDB together with Django. In fact I do that in > one of my projects and where I use it, it perfectly makes sense. > > The question you raised is, if the Django community can adopt the ORM for > non-relational databases, such a

Re: Support for No-SQL database in Django

2020-12-04 Thread Jacob Rief
Hello Vineet, you can perfectly use MongoDB together with Django. In fact I do that in one of my projects and where I use it, it perfectly makes sense. The question you raised is, if the Django community can adopt the ORM for non-relational databases, such as MongoDB. I would say

Re: Improving MSSQL and Azure SQL support on Django

2020-12-04 Thread Warren Chu
@Florian, @Adam - Thanks for the feedback. Focusing on MSSQL as a 3rd party backend sounds good, indeed even as the long-term goal. We have no directive at this point that inclusion into Django core is mandatory, so I think we're aligned in terms of practical goals. I'm sure we'll have new

Re: Improving MSSQL and Azure SQL support on Django

2020-12-04 Thread Adam Johnson
> > Please keep in mind that Phase 2 is something that might never happen. We > have a tendency to not bloat Django and there is no reason why a database > backend cannot live outside of core. > I agree here with Florian. It's not *impossible* to consider merging the backend, b

Re: Improving MSSQL and Azure SQL support on Django

2020-12-03 Thread Florian Apolloner
Hi Warren, > A) django-mssql is viewed as the Phase 1 focus and current preferred option with a longer term Phase 2 goal of including MSSQL as a supported backend for Django core Please keep in mind that Phase 2 is something that might never happen. We have a tendency to not bloat Dja

Re: Improving MSSQL and Azure SQL support on Django

2020-12-03 Thread Warren Chu
...@whidbey.com - A) django-mssql is viewed as the Phase 1 focus and current preferred option with a longer term Phase 2 goal of including MSSQL as a supported backend for Django core B) I've now logged both your pain points as issues in our private repo (which will be made public after internal

Django bugfix release: 3.1.4

2020-11-30 Thread Mariusz Felisiak
Details are available on the Django project weblog: https://www.djangoproject.com/weblog/2020/dec/01/django-bugfix-release-314/ -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubs

Re: Support for No-SQL database in Django

2020-11-30 Thread Vineet Sharma
Hello, I read the conversation you linked, and do agree with them, since ORM is used for Relational Databases. Since there is a package named pymongo for connecting to mongodb, which does the exact work we want to do, we can work on integrating pymongo with django on the internal levels, since

Re: Support for No-SQL database in Django

2020-11-30 Thread Adam Johnson
Hi Vineet This topic comes up occasionally. See here for the last time: https://groups.google.com/g/django-developers/c/NxRX4nHx2Vk/m/MRouYivAAQAJ Quoting Aymeric from that post: Support for MongoDB would mean support in the ORM. The R in ORM stands for > Relational. MongoDB isn't a relatio

Support for No-SQL database in Django

2020-11-29 Thread Vineet Sharma
Hello everyone, I am Vineet Sharma and am very new to contributing to Django. I have made a few projects on Django and Django Rest framework.Now, I would really love to contribute to Django and be a part of the community. I may also be participating in GSOC in future for the same. I want

Re: Improving MSSQL and Azure SQL support on Django

2020-11-27 Thread Dan Davis
news. I've been using Django on MSSQL for about 8 years. Couple of > things: > - I've been using pyodbc, not django-mssql. I note your messages from > 2015 include it as a library to check for compatibility; what was the > outcome of that? Is it proposed that django-mssql become the &

Re: Improving MSSQL and Azure SQL support on Django

2020-11-27 Thread r...@whidbey.com
Good news. I've been using Django on MSSQL for about 8 years. Couple of things: - I've been using pyodbc, not django-mssql. I note your messages from 2015 include it as a library to check for compatibility; what was the outcome of that? Is it proposed that django-mssql become the "

Re: Improving MSSQL and Azure SQL support on Django

2020-11-27 Thread Chris Wedgwood
Hi Warren This is excellent news! Thanks Chris On Fri, 27 Nov 2020 at 01:40, Warren Chu wrote: > Hi All, > > Microsoft has now committed ongoing resources towards improving MSSQL and > Azure SQL support for Django. We're currently focused on internal > compliance and forking

Re: Improving MSSQL and Azure SQL support on Django

2020-11-27 Thread Florian Apolloner
Hi Warren, given that the current django-mssql-backend maintainers might not be reading here I'd suggest you open a ticket on the repository to get in contact with them. It also might be a good idea to re-evaluate this thread (and possibly at Microsoft internally) to see why the last

Re: Improving MSSQL and Azure SQL support on Django

2020-11-26 Thread Warren Chu
Hi All, Microsoft has now committed ongoing resources towards improving MSSQL and Azure SQL support for Django. We're currently focused on internal compliance and forking the ESSolutions django-mssql-backend <https://github.com/ESSolutions/django-mssql-backend>, adding testing pip

Re: Revisiting Python support for after Django 3.2 LTS

2020-11-24 Thread Carlton Gibson
Thanks again Tim. I really appreciate your insight. On Tue, 24 Nov 2020 at 19:07, Tim Graham wrote: > That would be a heavy stick whereas there's already been some hesitance > here to the "carrot" argument of the current policy which restricts older > Python users to a Djan

Re: Revisiting Python support for after Django 3.2 LTS

2020-11-24 Thread Tim Graham
Dropping support for Python versions as they go EOL in existing Django releases would be disruptive. Distros "support" Python versions longer than the PSF does. If a Django version inadvertently breaks compatibility with an old version of Python because we stop testing with it, we'

Re: Revisiting Python support for after Django 3.2 LTS

2020-11-24 Thread Florian Apolloner
(be that in python, php or whatever). I think this is also one of the reasons why containers are so popular. But do we really want to push users that much towards containers? Are there any big Django users our there that provide RPM packages and could give us some insights? Cheers, Florian On Friday, November

Re: Revisiting Python support for after Django 3.2 LTS

2020-11-24 Thread Carlton Gibson
Hi Tim. Thanks for the breakdown, and context on the rationale. Do you think we can drop support for Python versions as they go EOL? i.e. for Django 2.2 we COULD HAVE stopped testing against Python 3.5 when it went EOL earlier this year. Given the backport policy, there's no reason

Re: Revisiting Python support for after Django 3.2 LTS

2020-11-21 Thread Tim Graham
Part of the rationale for dropping Python versions after an LTS is was to avoid getting "stranded" on a non-LTS version of Django. For example, if we keep Python 3.7 support in Django until Python 3.7 is end of life in June 2023, that would probably make Django 4.1 the late

Re: Revisiting Python support for after Django 3.2 LTS

2020-11-21 Thread Ahmmed Sabbir
Hey Paolo, I'm trying to develop an email testing application with Django. But nowadays I've faced some problems with this application. One of them is, when I taste it myself- it works just fine. But in the case of multiple users, the application gives me back some error code is mentioned

Re: Revisiting Python support for after Django 3.2 LTS

2020-11-20 Thread Carlton Gibson
Note that this is discussing support in Django 4.0 (which is the main development branch after stable/3.2.x is created). 4.0 will be released December 2021. Python 3.6 is EOL that very month > 3.6 2021-12-23 The next version of Django (3.2) will support Python 3.6 -- You recei

Re: Revisiting Python support for after Django 3.2 LTS

2020-11-20 Thread Tim Allen
there is a need to move forward, especially for wonderful things like better async support. I just ask that we also consider those of us using Django in corporate or academic settings where the pace of upgrading Python is a bit more glacial. On Thursday, November 19, 2020 at 11:51:29 AM UTC-5

Re: python-memcached is deprecated, but still used in core Django

2020-11-20 Thread Adam Johnson
mcachedCache* backend in Django > 3.2 and remove it in Django 4.1, see #32193 > <https://code.djangoproject.com/ticket/32193>. So if there is no strong > opposition I will move it forward in the next few weeks. > > Best, > Mariusz > > -- > You received this message be

Re: Revisiting Python support for after Django 3.2 LTS

2020-11-19 Thread Andrew Godwin
w -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-developers+unsubscr...@googlegroups.com. To view this discuss

Re: Revisiting Python support for after Django 3.2 LTS

2020-11-19 Thread Paolo Melchiorre
Hi all, On Thu, Nov 19, 2020 at 9:01 AM Carlton Gibson wrote: > ... > Thus on the current policy we should drop support for both Python 3.6 and > Python 3.7 when we branch Django 3.2 — i.e. for Django 4.0. > ... > I think we should drop Python 3.6 at this time ... >

Re: Revisiting Python support for after Django 3.2 LTS

2020-11-19 Thread Jure Erznožnik
Maybe I'm getting old, but: This is going extremely (too?) fast. I don't think Ubuntu LTS releases provide Python versions in time before the release chosen for the LTS becomes expired. I've definitely had an issue like this with django-channels and its required redis version. So if I choose

Revisiting Python support for after Django 3.2 LTS

2020-11-19 Thread Carlton Gibson
Hi all. The Python version support policy reads [0]: "Typically, we will support a Python version up to and including the first Django LTS release whose security support ends after security support for that version of Python ends. For example, Python 3.3 security support ends September

Re: python-memcached is deprecated, but still used in core Django

2020-11-13 Thread Mariusz Felisiak
Hello, I think it's time to deprecate the *django.core.cache.backends.memcached.MemcachedCache* backend in Django 3.2 and remove it in Django 4.1, see #32193 <https://code.djangoproject.com/ticket/32193>. So if there is no strong opposition I will move it forward in the next few

Re: I want to contribute to Django

2020-11-09 Thread Manav Agarwal
I think this may help https://docs.djangoproject.com/en/3.1/internals/contributing/ On Tue, 10 Nov, 2020, 1:24 am Gaurav Mitra, wrote: > Hello there , i am have recently took a course and finished Django and > Django rest framework , i want to explore more into the Django and also > c

Re: I want to contribute to Django

2020-11-09 Thread Kacper Szmigiel
Hello! I think you'll find everything needed here: https://code.djangoproject.com/ Kind regards, Kacper Szmigiel pon., 9 lis 2020 o 20:54 Gaurav Mitra napisał(a): > Hello there , i am have recently took a course and finished Django and > Django rest framework , i want to explor

I want to contribute to Django

2020-11-09 Thread Gaurav Mitra
Hello there , i am have recently took a course and finished Django and Django rest framework , i want to explore more into the Django and also contribute to Django as open source , Can anyone Please suggest me what should i do? -- You received this message because you are subscribed

Django bugfix releases issued: 3.1.3, 3.0.11, and 2.2.17

2020-11-02 Thread Carlton Gibson
Details are available on the Django project weblog: https://www.djangoproject.com/weblog/2020/nov/02/bugfix-releases/ <https://www.djangoproject.com/weblog/2020/nov/02/bugfix-releases/> -- You received this message because you are subscribed to the Google Groups "Django

Re: Failed to install django-channel

2020-10-22 Thread Carlton Gibson
This is an twisted issue (as per the error message) See https://github.com/django/channels/issues/1520 for more details/links. Please don't use this list as a support channel. See https://docs.djangoproject.com/en/3.1/faq/help/ Also, please prefer gender neutral greeting. https://heyguys.cc

Failed to install django-channel

2020-10-22 Thread Qr Air
Hi Guys , I am trying to install channels but keeps failing to install twisted every time. I keep getting this error " ERROR: Failed building wheel for twisted". Please assisted. -- You received this message because you are subscribed to the Google Groups "Django developers

Re: Python version support for LTS Django (in particular v2.2)

2020-10-13 Thread Adam Johnson
Great. Thank you for doing this Mariusz! On Tue, 13 Oct 2020 at 06:56, Mariusz Felisiak wrote: > Hi, > > Django 2.2.17 (LTS), 3.0.11, and 3.1.3 add compatibility with Python > 3.9 (see PR13506 <https://github.com/django/django/pull/13506>) so all > support

Re: Python version support for LTS Django (in particular v2.2)

2020-10-12 Thread Mariusz Felisiak
Hi, Django 2.2.17 (LTS), 3.0.11, and 3.1.3 add compatibility with Python 3.9 (see PR13506 <https://github.com/django/django/pull/13506>) so all supported versions of Django will be compatible with Python 3.9. However, we want to say now that Django 3.2 (LTS) will be the *first* v

Re: Async Django Cache - Redis Complete

2020-10-09 Thread Adam Johnson
) or use async_to_sync. Good luck with your exams, Adam On Tue, 6 Oct 2020 at 19:25, Andrew Wang wrote: > Hi all, > > 1.5 weeks ago, I posted that I was interested in making Django's cache > async. Just here to report that the package for django-async-redis is on > pypi and t

Re: Redirect from own login to admin login func of Django

2020-10-09 Thread Adam Johnson
*Hi! I think you've found the wrong mailing list for this post. This mailing list is for discussing the development of Django itself, not for support using Django. This means the discussions of bugs and features in Django itself, rather than in your code using it. People on this list are unlikely

Redirect from own login to admin login func of Django

2020-10-07 Thread ltduy2...@gmail.com
Hi, I have own login site to authenticate user, it will redirect to admin site if these users is supper user. I try to use HttpResponseRedirect func but it don't send POST request and POST method to login func to render Django Administrator page. Can you help me please. Thanks and Best

Async Django Cache - Redis Complete

2020-10-06 Thread Andrew Wang
Hi all, 1.5 weeks ago, I posted that I was interested in making Django's cache async. Just here to report that the package for django-async-redis is on pypi and the repo is here: https://github.com/Andrew-Chen-Wang/django-async-redis. Please test it out. I have only tested it on a local

Re: Want to contribute to core Django

2020-10-06 Thread raj avinash Ghate
Start by making projects and read the document side by side. As you start you will have doubts and as you solve them you will learn On Tue, 6 Oct, 2020, 19:02 Hasanul Islam, wrote: > Hi, > I use django for a while. I think I can contribute to django. > But, I have found all the eas

Want to contribute to core Django

2020-10-06 Thread Hasanul Islam
Hi, I use django for a while. I think I can contribute to django. But, I have found all the easy picking tickets are already assigned. So, How can I start to be involved with django. -- You received this message because you are subscribed to the Google Groups "Django devel

Re: Advanced Django

2020-10-04 Thread Adam Johnson
Please don't spam this mailing list. On Sun, 4 Oct 2020 at 10:41, Alphabeta Knowledge-Base < mdwalidsalehi...@gmail.com> wrote: > Django is Awesome Platform For development any kind of software. > > -- > You received this message because you are subscribed to the Googl

Advanced Django

2020-10-04 Thread Alphabeta Knowledge-Base
Django is Awesome Platform For development any kind of software. -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email

Django Technical Board Election Results 2020

2020-10-02 Thread fr...@revsys.com
Greetings! The winners of the first Django Technical Board Election after the adoption of DEP-10 are: - Andrew Godwin - Adam Johnson - Markus Holtermann - Tom Forbes - James Bennett The break down of voting was: - 212 eligible voters - 81 total votes - 1 rejected

Re: Should django-admin allow specifying hidden directories for --template?

2020-10-01 Thread René Fleschenberg
Hi, On 01.10.20 15:56, laym...@gmail.com wrote: Thanks for the feedback! From my observations, Django does not ignore hidden /files/, it only ignores hidden /directories/. So, the files that you listed should work fine. Ah, my bad, sorry. As for the built-in exclusion list, I'm not sure

Re: Should django-admin allow specifying hidden directories for --template?

2020-10-01 Thread laym...@gmail.com
Hi René, Thanks for the feedback! From my observations, Django does not ignore hidden *files*, it only ignores hidden *directories*. So, the files that you listed should work fine. As for the built-in exclusion list, I'm not sure if we should add that. I think ignoring .git by default is fine

Re: Should django-admin allow specifying hidden directories for --template?

2020-10-01 Thread René Fleschenberg
Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-developers+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-

Should django-admin allow specifying hidden directories for --template?

2020-10-01 Thread laym...@gmail.com
Hi everyone, I've been playing around with the --template option for django-admin startproject <https://github.com/django/django/blob/master/django/core/management/templates.py#L129> lately, and I noticed that it ignores hidden directories <https://github.com/django/django/bl

Django bugfix release: 3.1.2

2020-09-30 Thread Mariusz Felisiak
Details are available on the Django project weblog: https://www.djangoproject.com/weblog/2020/oct/01/django-bugfix-release-312/ -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubs

Re: Django Folder Boostrapping

2020-09-29 Thread Mariusz Felisiak
Hi, It was discussed in the past, see https://code.djangoproject.com/ticket/25943. Please bump the old conversation instead of creating a new one. Best, Mariusz -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to D

Re: Django Folder Boostrapping

2020-09-28 Thread Amit Gautam
Hey! can you please help me in my django related taks On Monday, 28 September 2020 at 23:36:37 UTC+5:30 Adam Johnson wrote: > Hi > > startapp is customizable with templates: > https://docs.djangoproject.com/en/3.0/ref/django-admin/#cmdoption-startapp-template > &

Re: Django Folder Boostrapping

2020-09-28 Thread Adam Johnson
Hi startapp is customizable with templates: https://docs.djangoproject.com/en/3.0/ref/django-admin/#cmdoption-startapp-template . You can base such a template on the built-in template and customize it how you like - for example adding a urls.py file: https://github.com/django/django/tree/master

Django Folder Boostrapping

2020-09-28 Thread LokotamaTheMastermind
I think Django should add the urls.py file when bootstrapping the project with command django-admin startapp app The information inside could be ``` from django.urls import path # Use this to define apps routes urlpatterns = [] ``` It will really help, thank you -- You received this message

Django freelancing WhatsApp group

2020-09-27 Thread Divyesh Khamele
Hello all hope you are interested in joining:- https://chat.whatsapp.com/FxBXbilF9vj3UJDIRaPSCP Django Freelancing group. Thanks On Tue, 11 Aug 2020, 22:32 Desh Deepak, wrote: > Hello everyone, I want to developing a django project. Who wants to > collaborate to do a project and learn

django CMS 3.8.0 RC1 released

2020-09-18 Thread Nicolai Ridani
We are pleased to announce the first django CMS release under the banner of the newly founded django CMS Association. Many heads were put together to get this release up on its feet. Many thanks to all involved! For more information please click here: https://www.django-cms.org/en/blog/2020

Re: Regression in Set-Cookie which affects Django users

2020-09-09 Thread Hanne Moa
django-cookie-samesite has a browser version guesser, because different browsers interpret samesite differently. The best solution I've heard of is setting two cookies with two different names, one the old way and one the google way. Then check for both where checking needs done, one of them

Re: Suggestion for starting contribution to Django

2020-09-03 Thread Shekhar Gyanwali
Hi Faraz, Django Chat podcast episode *Contributing to Django <https://djangochat.com/episodes/untitled>* helped me a lot, where Carlton and Will talked about how the journey could be like for the beginners. Hope that helps. Cheers Shekhar On Fri, Sep 4, 2020 at 4:58 AM Faraz Khan

Re: Suggestion for starting contribution to Django

2020-09-03 Thread Faraz Khan
ngoproject.com/query?status=assigned=new=contrib.staticfiles=id=summary=status=component=owner=type=version=1=id > > C. > > -- > You received this message because you are subscribed to the Google Groups > "Django developers (Contributions to Django itself)" group. > To

Re: Suggestion for starting contribution to Django

2020-09-03 Thread Carlton Gibson
You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-developers+unsubscr...@googlegroups.com. To view this discussi

Re: Suggestion for starting contribution to Django

2020-09-03 Thread Carlton Gibson
ributions in > Django. I am already familiar with Django and packaging, but I have never > contributed to Django before. I looked at some issues on GitHub and they > look very different from what I was learning all this time. Can you please > tell me what do I have to know before I can

Suggestion for starting contribution to Django

2020-09-03 Thread Faraz Khan
Hello Mentors and contributors, I am an undergrad CS student. And I was actually looking for some suggestions from your side. I am planning to apply for GSoC next year. I was planning to start making contributions in Django. I am already familiar with Django and packaging, but I have never

Re: new to django

2020-09-02 Thread Adam Johnson
That's a very broad question. Have you seen the contributing guide? Particularly "Advice for New Contributors" ( https://docs.djangoproject.com/en/dev/internals/contributing/new-contributors/ ) and "Writing your first patch for Django" ( https://docs.djangoproject.com/en/de

new to django

2020-09-01 Thread y b S
Hi all, I am new to django source code, and I would like to know more about django design and schema. could anyone please guide me or point out one direction for me to go? regards Yingbao -- You received this message because you are subscribed to the Google Groups "Django devel

Django security releases issued: 3.1.1, 3.0.10 and 2.2.16

2020-09-01 Thread Carlton Gibson
Today the Django team issued 3.1.1, 3.0.10 and 2.2.16 as part of our security process. These releases address two security issues, and we encourage all users to upgrade as soon as possible: https://www.djangoproject.com/weblog/2020/sep/01/security-releases/ -- You received this message

Re: Bug report in Django docs

2020-08-25 Thread Guo Zhang
Thanks! I am happy that this issue has been solved. I am reading the docs for understanding the usage of JavaScript in Django since it is the only docs. Recently I meet a lot of problems on that. Maybe Django-users email list is better for asking this kind of questions. 发件人: "d

Re: Bug report in Django docs

2020-08-25 Thread Tom Carrick
at 19:46, Guo Zhang wrote: > There is an error in this documentation: > https://docs.djangoproject.com/en/3.0/internals/contributing/writing-code/javascript/ > > There is no "django/contrib/admin/bin/compress.py" in the project. It > seems that the compress js section

Bug report in Django docs

2020-08-25 Thread Guo Zhang
There is an error in this documentation: https://docs.djangoproject.com/en/3.0/internals/contributing/writing-code/javascript/ There is no "django/contrib/admin/bin/compress.py" in the project. It seems that the compress js section doesn't work as it shows. -- You received th

Re: Regression in Set-Cookie which affects Django users

2020-08-23 Thread אורי
On Sun, Aug 23, 2020 at 8:19 AM Mariusz Felisiak wrote: > It's not about the number of lines but about our backporting policy > <https://docs.djangoproject.com/en/3.1/internals/release-process/>. We > don't backport new features. Moreover Django 2.2 and 3.0 are in extended >

Re: Regression in Set-Cookie which affects Django users

2020-08-22 Thread Mariusz Felisiak
It's not about the number of lines but about our backporting policy <https://docs.djangoproject.com/en/3.1/internals/release-process/>. We don't backport new features. Moreover Django 2.2 and 3.0 are in extended support. Per our backporting policy this means it doesn't qualify for a ba

Re: Regression in Set-Cookie which affects Django users

2020-08-22 Thread אורי
Hi, I looked at it and I think PR #11894 should be backported to all working versions of Django. It doesn't look like it will introduce new bugs or regressions. All I need is these 2 lines: if samesite.lower() not in ('lax', 'strict'): raise ValueError('samesite must be "lax"

Re: Regression in Set-Cookie which affects Django users

2020-08-22 Thread אורי
On Sat, Aug 22, 2020 at 10:07 PM Adam Johnson wrote: > (The workaround is in this comment: > https://github.com/django/django/pull/11894#issuecomment-577681440 , and > if you want, a package: https://github.com/jotes/django-cookies-samesite ) > Thank you. I was not aware of

<    1   2   3   4   5   6   7   8   9   10   >