Re: ./manage.py settings

2020-06-11 Thread Ion Scerbatiuc
I've always used `diffsettings` to print my settings for debugging purposes, and `diffsettings` combined with `| grep` to filter down to specific settings options. Was this option discussed in the IRC thread? https://docs.djangoproject.com/en/2.2/ref/django-admin/#diffsettings Best, Ion On Thu,

Re: System check is using the default database connection for all the models

2015-04-28 Thread Ion Scerbatiuc
ss, I'd say it's a > multi-database setup that no one thought to test when the system check > framework was developed. > > On Friday, April 24, 2015 at 3:49:03 PM UTC-4, Ion Scerbatiuc wrote: >> >> Hello, >> >> Wasn't sure if this is a bu

System check is using the default database connection for all the models

2015-04-24 Thread Ion Scerbatiuc
Hello, Wasn't sure if this is a bug or not, and I couldn't find any related tickets on https://code.djangoproject.com We have the following database set-up: - the default database is MySQL - two additional databases are PostGIS The system check framework (either `manage.py check` or `man

Re: where do class modelAdmin and Model reside.

2013-03-24 Thread Ion Scerbatiuc
Hello, Please post your questions about Django usage on the django-users mailing list. This group is about Django development itself. To your question: try opening django/contrib/admin/__init__.py and you'll find that ModelAdmin is imported from the options module of the admin package. The same a

Re: django.forms.DateTimeField and timezones

2012-11-27 Thread Ion Scerbatiuc
For whom might be interested: just created the ticket and attached a regression test case for details: https://code.djangoproject.com/ticket/19371 Ion On Tuesday, November 27, 2012 3:28:34 PM UTC+2, Aymeric Augustin wrote: > > 2012/11/27 Ion Scerbatiuc > > >> Actually, t

Re: django.forms.DateTimeField and timezones

2012-11-27 Thread Ion Scerbatiuc
Hey, Thanks for the quick response. You can see my comments in-line. On Tuesday, November 27, 2012 3:12:39 PM UTC+2, Aymeric Augustin wrote: > 2012/11/27 Ion Scerbatiuc > > >> The datetimes in the POST are created using timezone.now() (and I have >> USE_TZ = True)

django.forms.DateTimeField and timezones

2012-11-27 Thread Ion Scerbatiuc
Hello, I wasn't sure how to tackle this so I decided to post here first. I'm working on Django 1.4.2 now, and I encountered the following problem: 1. I have a model form with datetime fields 2. I run my tests and feed the form with POST data using RequestFactory 3. The datetimes in the