Re: Improving MSSQL and Azure SQL support on Django

2015-09-12 Thread Tim Allen
Sorry to have missed meeting you at DjangoCon, Meet, but I'll add my findings here to the record. By way of background, I work at The Wharton School, where we're a Python/Django (on RHEL) and SQL Server shop. I was responsible for implementing a working configuration for Django, starting with

Re: Improving MSSQL and Azure SQL support on Django

2015-09-16 Thread Tim Allen
Thanks for all of your efforts, Aymeric, I've been following your project since its inception - I'm FlipperPA on GitHub. On Sunday, September 13, 2015 at 4:59:34 AM UTC-4, Aymeric Augustin wrote: > > Did you mean “pyodbc outperforms pymssql”? Or did you go with pyodbc > despite lower

Re: Improving MSSQL and Azure SQL support on Django

2015-09-17 Thread Tim Allen
, 2015 at 11:27:59 AM UTC-4, Tim Allen wrote: > > Thanks for all of your efforts, Aymeric, I've been following your project > since its inception - I'm FlipperPA on GitHub. > > On Sunday, September 13, 2015 at 4:59:34 AM UTC-4, Aymeric Augustin wrote: >> >> Did you mean

Re: Fellow Report - October 17, 2015

2015-10-18 Thread Tim Allen
Thanks Tim, this is a promising update. While my department is slowly migrating to PostgreSQL, most of the other departments are still very much reliant on SQL Server. Since we're a Python/Django shop for our web stack, better support would be very welcome. Most of our developers are on Macs,

Python 3.5 Support in Django 1.8.x?

2015-10-23 Thread Tim Allen
Since Django 1.9 will support Python 3.5, I was wondering if there are any plans to support Python 3.5 in Django 1.8, since it is an LTR. I did a cursory search and didn't find anything stating yay or nay. I'm going to assume 1.8 only support 3.4 for now, as I've had issues with Python 3.5

Re: Feature proposal: selection of views and tables for inspectdb

2015-11-04 Thread Tim Allen
Since we're on the topic, it'd be great if `inspectdb` also accepted a `--tables` option, to only move certain tables in the database. For example: ./manage.py inspectdb --tables=form_*,user_* ...to import any tables starting with 'form_' or 'user_'. Allow with the `--database` option, this

Re: structural & functional review of django documentation

2015-12-28 Thread Tim Allen
HI Doug, I can relate to what you are saying, I had a similar experience when trying to find a reference for the generic FormView. Issuing a P.R. to improve it is on my BLOTTD (big list of things to do). I was interviewing a candidate last week who knows I'm a big fan of Django, and wanted to

Re: structural & functional review of django documentation

2015-12-29 Thread Tim Allen
Tim: that's definitely a big help, but still a click away. I'm just brainstorming here, please bear with me! I think part of my confusion as a newbie is from the front page itself, at https://docs.djangoproject.com/ Now that I understand the concepts behind the documentation better (thanks

Re: structural & functional review of django documentation

2016-01-05 Thread Tim Allen
Scot, you've summarized what I've run into as well beautifully. My problem has never been with the documentation once I find it - it has been the path to finding it. Another frustration is trying to find a part of the documentation I know I've seen before a second time. I seem to go round and

Re: Improving MSSQL and Azure SQL support on Django

2016-01-28 Thread Tim Allen
gt;> >>>>- *We are finalizing the detailed schedule this week and will post >>>>it on this thread by next Friday. * >>>> >>>> >>>> 3. If myself or the other attendees should do anything to prepare for >>>>&

Re: Improving MSSQL and Azure SQL support on Django

2016-01-30 Thread Tim Allen
. Regards, Tim On Thursday, January 28, 2016 at 1:09:41 PM UTC-5, Cristiano Coelho wrote: > > Tim Allen, > > What you said about compiling the C dependencies on a similar machine and > then upload it all together indeed works (it was one of the options) but > caused some ot

Re: Improving MSSQL and Azure SQL support on Django

2016-03-08 Thread Tim Allen
[slightly off-topic] I'm wondering if this will extend to SQL Server Management Studio. While I'm mainly a command line basher, many of coworkers are married to the GUI. I've found SSMS blows the competition out of the water when it comes to DB management GUIs. I'm wondering if this means SSMS

Re: Improving MSSQL and Azure SQL support on Django

2016-03-23 Thread Tim Allen
option). >>>>- Improve getting started experience [decrease difficulty]: Getting >>>>MSSQL for development (free and easy/fast set up) is hard today;this is >>>> on >>>>MSFT to improve this experience. >>>> >>>> We

Re: DjangoCon US 2016

2016-05-31 Thread Tim Allen
Just a reminder the today is the last day to register for DjangoCon at Early Bird rates. Tomorrow, prices will increase by $50 per ticket. To register, click here: https://2016.djangocon.us/tickets/ Prices are affordable for the 5 days, starting at $195 for our diversity rate. The speakers

Re: Conditions DEP

2016-06-06 Thread Tim Allen
Hi Connor, How would you prefer suggested tweaks to your proposal? Since it is on GitHub, would you prefer pull requests? Thank you for taking the initiative! Regards, Tim On Sunday, June 5, 2016 at 10:52:57 PM UTC-4, Connor Boyle wrote: > > I'd like to make a proposal for the addition of a

Re: Extend support for long surnames in Django Auth

2016-08-02 Thread Tim Allen
Our main database in my division contains about 150,000 users total - from across the world. Although the distribution is heavily weighted towards North America and Europe, we do have a fair amount of Asian schools, and one from Brazil. Many of these schools also have international students. I

Re: Extending Django models with Schevo

2017-02-18 Thread Tim Allen
Hi Etienne, like Tim G. said, you'll probably have better luck with the django-users mailing list. This group is for development discussion of core Django itself. You may also want to reconsider using Schevo; I remember hearing about it long ago, but it doesn't appear that is has been actively

Re: Django Box - A vagrant virtual machine for testing Django

2016-08-29 Thread Tim Allen
I'd be happy to contribute configuration for connecting Django to SQL Server. I've had to deploy this for some projects at work that don't (yet) use PostgreSQL. This sounds like a fantastic tool for testing, as well as examples for people just getting started; wiring up a database for the

Re: RFC: DEP 7 - dependency policy

2016-11-11 Thread Tim Allen
This makes sense, and the DEP looks great. Just a few thoughts: - Django has always had dependencies, just external to PyPI. Python itself is the obvious one. While not absolutely required for Django, a database driver stack is another (psycopg2, mysql-connector, pyodbc, etc). Perhaps we can

Re: A New Design for the "Congratulations!" Page

2017-04-18 Thread Tim Allen
Switching to another font is certainly an option. Is the issue with Google Fonts the Apache license versus the Django BSD license? -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this

A New Design for the "Congratulations!" Page

2017-04-18 Thread Tim Allen
I've had the privilege of introducing Django to many people over the past several years. A recurring theme I have noticed is that once a new Django developer reaches the "It Worked!" page, the inevitable next question is, "now what?" It struck me that this page is valuable real estate for the

Re: A New Design for the "Congratulations!" Page

2017-04-18 Thread Tim Allen
y don't need to be > hand-updated with every version. > I think the unused css should be removed. We're not > using button,input,optgroup,select,textarea, etc. > > > > On Tue, Apr 18, 2017 at 12:03 PM, Tim Allen <fli...@peregrinesalon.com > > wrote: > >> Switching t

Re: A New Design for the "Congratulations!" Page

2017-04-18 Thread Tim Allen
, I noticed a couple layout glitches in the current > proposal, but nothing major: > - can overlap and at small heights e.g. with > developer tools open at the bottom > - links look bad at 320px wide — try the "iPhone 5" setting in Chrome's > responsive view > > Bes

Re: Integrate dj-database-url into Django

2017-05-27 Thread Tim Allen
I've recently been introduced to `django-environ`, a similar library that has additional features to DB connect URLs that we may want to consider: https://github.com/joke2k/django-environ It has the same issue with third party DB engines; for example, I recently issued a PR to include `pyodbc`

Re: PostgreSQL Partial Indexes package

2017-10-08 Thread Tim Allen
I would love to see partial indexes supported. Great work! As far as databases with Django support: - PostgreSQL supports partial indexes - SQLite supports partial indexes - SQL Server supports them, called "filtered indexes" - Oracle: Sort of supports them:

Re: Refactoring the autoreloader

2017-10-08 Thread Tim Allen
If we need some dogfooding with real-world candidates, I'd be happy to provide some. We have a project which currently takes ~20 minutes to start up (automated data models created by introspecting a database) that might be a good edge-case candidate. -- You received this message because you

Re: drop support for MySQL 5.5 in Django 2.0?

2017-08-27 Thread Tim Allen
AFAIK, the *supports_microsecond_precision* feature is still needed by *django-pyodbc-azure*, because of SQL Server's, ahem, creative datetime fields. See: https://github.com/michiya/django-pyodbc-azure/blob/4df37f3ec40abaf1aca608e1922a93073db8f144/sql_server/pyodbc/operations.py#L474 There

Re: drop support for MySQL 5.5 in Django 2.0?

2017-08-31 Thread Tim Allen
microsecond_precision > feature around if it's helpful for that backend, but we'll need > contributions from django-pyodbc-azure maintainers to keep it updated > (mainly with respect to using the feature to skip or change behavior in > tests). > > On Sunday, August 2

Re: Willing to contribute to Django

2017-10-10 Thread Tim Allen
>From there, you're one click away from the tickets. Here's a link to the "Easy Pickings" currently open: https://code.djangoproject.com/query?easy=1=id=summary=status=owner=type=component=version=1=id -- You received this message because you are subscribed to the Google Groups "Django

Re: Pretty formated JSON editor for django.contrib.postgres.fields.JSONField in django admin.

2017-10-25 Thread Tim Allen
This would certainly make a good package, but I'm not sure it belongs in core Django, as it would likely introduce dependencies for everyone. I've done something similar for the Wagtail CMS on Django using the PrismJS library: https://github.com/FlipperPA/wagtailcodeblock A similar package

Re: Improving MSSQL and Azure SQL support on Django

2018-01-19 Thread Tim Allen
Hi Kunal, welcome to the Django community! django-pyodbc-azure is the best maintained SQL Server engine I've found, and it typically gets updated a little more quickly than this. However, Michaya who maintains the package has been extremely busy lately, and said it will take him a few more

Re: Shouldn't manage.py call python3 instead of python?

2018-04-10 Thread Tim Allen
Since `django-admin startproject my_project` is created on the fly from templates, couldn't we dynamically create the `manage.py` executable based on some system introspection and an agreed upon priority? Regards, Tim On Tuesday, April 10, 2018 at 4:28:12 AM UTC-4, Adam Johnson wrote: > > Oh

Extending django.contrib.auth.models Group name to be 191 character max_length

2018-11-13 Thread Tim Allen
Greetings, Over the past few releases, several CharFields in django.contrib.auth have been increased to a max_length of 191: username, first_name, and last_name immediately come to mind. See: https://groups.google.com/forum/#!msg/django-developers/h98-oEi7z7g/xzjtFMf1BwAJ I've issued a PR

Re: Extending django.contrib.auth.models Group name to be 191 character max_length

2018-11-14 Thread Tim Allen
I've amended the PR to be 150 characters rather than 191. Thanks for doing the digging which explains why I had 191 characters stuck in my head. I'm in the "as long as possible to cover the most possible cases" camp, but 150 would seem to hit the 99.9%, so let's call it a win!  Regards,

Re: A faster paginator for django

2018-12-23 Thread Tim Allen
On Friday, December 21, 2018 at 10:18:04 AM UTC-5, Cristiano Coelho wrote: > > Let's not forget how the various *count *calls starts to kill your > database when you get over 1 million rows (postgres at least). > > So far the only options I have found with postgres are: > - Estimate count for non

Re: revisiting the Python version support policy

2019-01-30 Thread Tim Allen
I'm in the camp of having a flexible policy that allows us to have discussions that examine the current state of the Django and Python ecosystems. This allows us to make informed decisions. As several folks have mentioned before, 3.6 was a more momentous release than most versions of Python.

Re: Proposal to format Django using black

2019-04-15 Thread Tim Allen
Another plus one for Black, without getting too into the weeds. I think the time is will save likely outweigh the valid concerns posted here. I've used Black extensively on several projects, and much like f-strings, the last Pink Floyd album, and broccoli, have found I really like something I

Individial Member Nomination for the DSF: Louise Grandjonc

2019-09-17 Thread Tim Allen
Good afternoon friends, happy "four days until DjangoCon US!" I'd like to nominate Louise Grandjonc to the Django Software Foundation. Louise has given excellent talks on scaling multi-tentant apps using Django's ORM and PostgreSQL, and will be presenting at DjangoCon US this year. She's

Re: Individial Member Nomination for the DSF: Louise Grandjonc

2019-09-18 Thread Tim Allen
My apologies friends, this was intended for the DSF members mailing list. I had a momentary brain freeze! On Tuesday, September 17, 2019 at 5:15:23 PM UTC-4, Tim Allen wrote: > > Good afternoon friends, happy "four days until DjangoCon US!" > > I'd like to nominate Louise G

Re: Improving MSSQL and Azure SQL support on Django

2019-12-04 Thread Tim Allen
Hi Sean, just an update from what I know. We are still waiting for a reply from Microsoft. They're a large company, so understandably, it takes a little while. For now, if people need to get onto Django 2.2 for long term support (which will last until April, 2022), you can use this package:

Re: Adding support for SQL Server

2020-02-15 Thread Tim Allen
I don't think GitHub stars are a fair assessment; the backend that was most widely used for years has over 300: https://github.com/michiya/django-pyodbc-azure But that doesn't really tell much of the story, because the Django backends for SQL Server have been so fragmented over the years.

Re: Rename request.GET and POST, and lowercase COOKIES, FILES, and META

2020-05-09 Thread Tim Allen
I'm tentatively +1 on this change... but... While it may be a straightforward operation to do a case sensitive search and replace in most code bases, it is not trivial to do so on the rest of the web. If we're going to do this, we must realize that this will invalidate thousands of examples,

Re: command for stopping server

2020-09-08 Thread Tim Allen
The advice here is solid, but to answer the initial query... i created a one liner to kill any runservers from my current user, as they can get lost in my sea of terminals. This may help: alias kill-runserver="ps -eaf | grep 'manage.py runserver' | grep "'$USER'" | grep -v grep | awk '{print

Re: What the purpose of having function that is not working correctly?

2020-09-12 Thread Tim Allen
I've seen recommendations to use this during conference talks by people with a fairly deep knowledge of the ORM as recently as 2019, so I do believe it can be made more blatantly clear in its purpose. We took a stab at improving it during DjangoCon 2019. Consensus was that: (a) when the

Re: Revisiting Python support for after Django 3.2 LTS

2020-11-20 Thread Tim Allen
I often hear Ubuntu thrown around during these discussions, and it is my distro of choice for personal projects. But like many of us, I work at a RedHat / CentOS shop, and trying to maintain a current Python version is a much more difficult proposition. Unfortunately, IUS Community has stopped

Re: Revisiting MSSQL and Azure SQL Support in Django

2022-04-01 Thread Tim Allen
Full disclosure: I've helped maintain SQL Server Django engine packages in the past, and was involved in getting the project started for the official Microsoft Django engine package. First, thanks to Warren and the folks from Microsoft for creating this backend. There are a fair amount of

Re: Revisiting MSSQL and Azure SQL Support in Django

2022-04-03 Thread Tim Allen
as overly-harsh comments which don't seem to reflect the current-day Microsoft. Take care, Tim On Sunday, April 3, 2022 at 2:23:35 PM UTC-4 f.apo...@gmail.com wrote: > Hi Tim, > > On Friday, April 1, 2022 at 5:02:00 PM UTC+2 Tim Allen wrote: > >> The DB popularity index at

Re: Improvements to the startproject template

2022-04-22 Thread Tim Allen
still in the root folder, you don't need to cd into >>>>>> any folder to start working >>>>>> >>>>>> I use it all the time. >>>>>> >>>>>> Cheers, >>>>>> >>>&g

Improvements to the startproject template

2022-04-18 Thread Tim Allen
Greetings, friends! I've issued a PR that makes two changes to the `startproject` template: - instead of putting configuration files such as `settings.py`, `wsgi.py`, and the root `urls.py` in `my_project/my_project`, they are created in `my_project/config` - start the project

Re: Proposal: Clarify individual members page

2022-11-07 Thread Tim Allen
I'm of the opinion that if you care enough about Django to investigate becoming a member of the DSF, that's enough of a qualification - it is just challenging to formalize that into proper text for the website. Maybe two changes to encourage people to join: - We could tweak *"Running