Re: start using less (and bootstrap!)

2012-02-16 Thread Stan
On Feb 9, 1:49 pm, zalew wrote: > > We're going > > to solve that with our move to Git/GitHub, which will make it much > > easier for people to fork and much easier for core developers to > > integrate contributions. > > a bit offtopic: why nothttp://bitbucket.org?similar

Re: Revisiting multiline tags

2012-02-25 Thread Stan
*Not* +1 on this. Using extensively Django since the beginning and had never felt the need to break a tag on several lines. HTML does not meant to be written like any programming language (80 cols and so on) and the philosophy of the Django template language has never been to expose a

Re: Redesign of djangoproject.com?

2012-05-25 Thread Stan
On Thursday, May 24, 2012 3:57:26 PM UTC+2, Andre Terra wrote: > > Hi Ashraful, > > First of all, thank you for contributing with your ideas for this project. > Your mockup is one of the most aesthetically pleasing so far IMHO but there > are some issues that need addressing before it could be

[contrib.admin] : search by date according to localization.

2012-07-04 Thread Stan
The way the query is constructed in admin.changelist to filter according the search parameters is very basic. There is no assumptions and no verifications done on the fields, it is just a string naively constructed from ModelAdmin.search_fields. I am using it to allow one to search by date in a

Migration to Django 1.4.1 : nothing about auth.message in Backward incompatibilities CHANGELOG.

2012-09-21 Thread Stan
Hi, Maybe I missed something but in upgrading a project from Django 1.3.x to 1.4.1 I have encounter the following error when running my tests : Problem installing fixture '/Users/stan/Dropbox/Projets/Aden/Publish-dj1.4/fab4/../fab4/parametrage/fixtures/tests/auth.json': Traceback (most

Re: Migration to Django 1.4.1 : nothing about auth.message in Backward incompatibilities CHANGELOG.

2012-09-21 Thread Stan
1-5 > > Cheers, > > -- > Aymeric. > > > Le 21 sept. 2012 à 16:06, Stan <stanisla...@gmail.com > a > écrit : > > Hi, > > Maybe I missed something but in upgrading a project from Django 1.3.x to > 1.4.1 I have encounter the following error when runnin

Re: Django performance vs others

2012-10-05 Thread Stan
ines above can impact it ? If you want to turn off the cache you have to change all that logical code, not just the @decorator, right ? Seriously, dude. If you try to sell your business, this is not the right way and not the right place, so maybe this should continue on Python Mailing list (or

[contrib][admin]: Grouping actions

2013-03-28 Thread Stan
Hi, In several projects we have some front-ends that share code with admin. One addition in the front is the ability to group actions in several groups for the

Re: [contrib][admin]: Grouping actions

2013-03-28 Thread Stan
On Thursday, March 28, 2013 1:50:36 PM UTC+1, Aymeric Augustin wrote: > > > On 28 mars 2013, at 12:21, Stan <stanisla...@gmail.com > > wrote: > > > Do you guys think it worth the effort to backport the functionality into > admin ? > > > Hi Stan, >

ALLOWED_HOSTS : Cannot allow hosts with single label

2013-04-05 Thread Stan
ovided. @@ -165,6 +165,7 @@ class RequestsTests(unittest.TestCase): 'anything.multitenant.com', 'multitenant.com', 'insensitive.com', +'my_alias', ] stan@Stanislas-Guerras-iMac-3:tests$ python runtests.py requests.RequestsTests.test_ht

Re: ALLOWED_HOSTS : Cannot allow hosts with single label

2013-04-05 Thread Stan
ore and I didn't knew it wasn't allowed. Many thanks and sorry for the noise ! -- Stan > > Regards, > Florian > -- You received this message because you are subscribed to the Google Groups "Django developers" group. To unsubscribe from this group and stop receiving emails f

Re: Improving ForeignKeyRawIdWidget (raw_id_fields in admin)

2013-06-13 Thread Stan
is in INSTALLED_APPS. Cheers, -- Stan On Wednesday, June 12, 2013 7:33:31 PM UTC+2, ric...@richard.ward.name wrote: > > I think that the usability of ForeignKeyRawIdWidget could be vastly > improved if the representation part of the widget (the object name, in > bold) were to be updated when

Re: [contrib][admin]: Grouping actions

2013-09-11 Thread Stan
On Friday, September 6, 2013 10:11:18 PM UTC+2, German Larrain wrote: > > Hi Stan. > > I'm currently looking for "admin-related" features that seemed to be kind > of accepted by the core developers. > > What's the status of your proposal for grouping actions?

Using dimension_fields in models.ImageField cause performance penalties

2011-04-11 Thread stan
The main purpose of the height_field and width_field attributes is to give a performance boost in some situations, these fields acting as a cache on the dimensions of the image. I recently have switched-on those attributes for a newspaper publishing project where we manipulate some huge .tiff

Re: Using dimension_fields in models.ImageField cause performance penalties

2011-04-13 Thread stan
, Russell Keith-Magee <russ...@keith-magee.com> wrote: > On Mon, Apr 11, 2011 at 8:16 PM, stan <stanislas.gue...@gmail.com> wrote: > > The main purpose of the height_field and width_field attributes is to > > give a performance boost in some situations, > &g

Conditional aggregations.

2011-06-24 Thread stan
This topic is discussed on the Ticket #11305 : https://code.djangoproject.com/ticket/11305 Like many folks, I am hit by the scenario where a relative simple query become a design decision because my «boss» asked me : "Hey Stan, can you add me a column with the number of valid items in

localization in python code (views, models etc)

2011-07-11 Thread stan
Hi, Maybe I missed something, but I didn't found any explanation in the doc about how to localize a date or a number in the python code side. Maybe I am totally wrong about wanting to do that but I can't see a solution to resolve the following problem in the template (where localization should be

Re: localization in python code (views, models etc)

2011-07-11 Thread stan
On Jul 11, 11:36 am, Lachlan Musicman <data...@gmail.com> wrote: > On Mon, Jul 11, 2011 at 18:58, stan <stanislas.gue...@gmail.com> wrote: > > Hi, > > > Maybe I missed something, but I didn't found any explanation in the > > doc about how to localize a date

CachedStaticFilesStorage and Media definition in ModelAdmin and Form.

2011-08-23 Thread stan
being not documented I wonder if this is the official way to proceed. Many thanks for this new feature, Stan. -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com. To

Re: Sane defaults for Startapp and Startproject

2011-10-19 Thread stan
Hi Rich, I'am not Django core but I think that most of your propositions are unpythonic/unkiss, unclear and way too specific or magical. I don't want to waste 10 more minutes after a startapp/startproject to think about what directory I have to remove and which files I have to repair because

A better UI for admin's raw_id lookup.

2011-11-04 Thread stan
Hi, I have submitted a new patch for the ticket #7028 https://code.djangoproject.com/ticket/7028 a few weeks ago to address the problem of giving a better feedback next to the admin's raw_id fields by displaying the __unicode__() «string». As Julien told me in a comment, we may go further by

Permission to use some Django material ?

2013-10-03 Thread Stan
Hi, I am working on a small app providing Ajax search for a ModelChoiceFieldLike in addition to an admin-like related lookup (pop up to changelist). Is it possible for me to embed the magnifier image from admin statics ? (static/admin/img/selector-search.gif) Thanks. Stanislas. -- You

Re: Permission to use some Django material ?

2013-10-03 Thread Stan
gt; by Django or it's contributors. > > The license text itself is quite easy to read: > > https://github.com/django/django/blob/master/LICENSE > > Yours, > Russ Magee %-) > > > On Thu, Oct 3, 2013 at 4:28 PM, Stan <stanisla...@gmail.com > >wrote: > >> Hi, >

Re: Permission to use some Django material ?

2013-10-03 Thread Stan
On Thursday, October 3, 2013 11:17:49 AM UTC+2, Tom Christie wrote: > > Hi Stan, > > I would simply include some text in the license noting that some images > are taken from the Django source and their usage is subject to it's > license, with a link to the Django license

Re: Improving ForeignKeyRawIdWidget (raw_id_fields in admin)

2013-10-24 Thread Stan
On Wednesday, August 7, 2013 11:51:58 PM UTC+2, DrMeers wrote: > > On 13 June 2013 07:41, Simon Meers wrote: > >> On 13 June 2013 03:33, wrote: >> >>> I think that the usability of ForeignKeyRawIdWidget could be vastly >>> improved if the

Ticket #16311 review please ? (admin.filter.RelatedFieldListFilter extension)

2014-05-22 Thread Stan
Hi devs, Could some take a look at this cool pull requestsplease ? I know the 5 for 1 rule but quite frankly I can't find something to work on (so if you want to put me on something in particular, that's fine :) TL;DR : In your *space_program* app

Re: Terms for database replication

2014-06-05 Thread Stan
Alex, With all due respect (I mean it), The perception from the outside is that you didn't put the Django project best interest on the first line in that PR / merge but something more personal (plus being a confusing merge in terms of computer science). Cheers -- You received this message

[1.7-RC] Using coverage with migrated app slow down test-suite execution by 6 times.

2014-07-08 Thread Stan
Hi devs, Since Django-1.7-RC, apps containing models that inherit from "migrated" must be "migrated". My project (*fab4*) contains 7 apps and only 1 (*parametrage*) has been migrated (as explained in the doc

Re: [1.7-RC] Using coverage with migrated app slow down test-suite execution by 6 times.

2014-07-09 Thread Stan
Hi Andrew, On Tuesday, July 8, 2014 7:14:09 PM UTC+2, Andrew Godwin wrote: > > Hi Stan, > > It seems like there's two separate issues here: > You are right. > > - One of the migrations takes 30s to run. What is the migrations that's > so slow, and what database ar

Re: [1.7-RC] Using coverage with migrated app slow down test-suite execution by 6 times.

2014-07-09 Thread Stan
On Wednesday, July 9, 2014 10:48:09 AM UTC+2, Aymeric Augustin wrote: > > 2014-07-09 9:50 GMT+02:00 Stan <stanisla...@gmail.com >: > >> My test suite rely massively on JSON fixtures. >> > > Do you have large initial_data fixtures? > Nope. I don't have an

Re: [1.7-RC] Using coverage with migrated app slow down test-suite execution by 6 times.

2014-07-09 Thread Stan
l no idea on the coverage issue; you might have to bisect the 1.7 > branch to work out what caused that, and I wouldn't want to force that on > you. > I'll try that tomorrow. --- Stan > I'd like to focus on the slow migration first, as that's a more general > issue. > >

Re: [1.7-RC] Using coverage with migrated app slow down test-suite execution by 6 times.

2014-07-10 Thread Stan
2f5b9a76664dc216f27eb (15 feb) ImportError: Could not import settings 'fab4.settings' (Is it on sys.path? Is there an import error in the settings file?): cannot import name constants fb1e3435a4d7e0265f19a1a9f130c9485fb8dfe9 (10 feb) File "/Users/stan/Dropbox/Projets/Aden/P

Re: [1.7-RC] Using coverage with migrated app slow down test-suite execution by 6 times.

2014-07-21 Thread Stan
Hi Ned, Looks like you are right. Is there a way to control the CTracer compilation at build time because I can't remember doing something different ? Maybe a lib is missing. Sorry for the noise here. --- Stan (venv_dj_1_7) $ coverage debug sys -- sys

Re: Master/slave trolling pull request accepted to django master branch

2014-08-13 Thread Stan
Ok Jerry Lewis, Everybody got the idea, now nove on. -- You received this message because you are subscribed to the Google Groups "Django developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-developers+unsubscr...@googlegroups.com. To

Re: ANN: Django website redesign launched

2014-12-17 Thread Stan
rule maybe ? Under code.djangoproject.com, removing the *text-shadow: 0 0* (trackhacks.css) rule enhance the anti-aliasing. Cheers, Stan -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe fro

Re: Bytecode in Migrations

2015-02-12 Thread Stan
I noticed the same pb yesterday (runserver exception) when doing some git bisect on django repo because of some pyc content_type migration file. Removing the pyc files after each git bisect good|bad fixed the issue. On Thursday, February 12, 2015 at 1:19:32 AM UTC+1, Andrew Godwin wrote: > >

Re: django admin: open popups as modals instead of windows

2015-02-24 Thread Stan
tions we develop and a "power-user" of Django admin, I strongly agree with Florian here. The ability to open and switch to other tabs in the main window - which is not possible with modals, right ? - and to resize/move/scroll the popup window with native performance beats fancy modal win

django-admin.py shebang

2015-04-01 Thread Stan
o /usr/bin/python ignore the PATH value. I know that virtualenv is the way to go... Thanks ! -- Stan -- 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 r

Re: django-admin.py shebang

2015-04-01 Thread Stan
On Wednesday, April 1, 2015 at 3:58:13 PM UTC+2, Collin Anderson wrote: > > Hi Stan, > > In the source, it's looks like it's been using #!/usr/bin/env python for > almost 10 years: > https://github.com/django/django/blame/master/django/bin/django-admin.py > I didn't che

Re: django-admin.py shebang

2015-04-01 Thread Stan
On Wednesday, April 1, 2015 at 4:15:25 PM UTC+2, Markus Holtermann wrote: > > Hi Stan, > > how did you install Django? As a system package via the system's package > manager or via pip. If its the system package manager, please raise that > bug in the bug tracker of your

Re: #25227 Add utility method `get_updated_model()` to `ModelForm`

2015-08-14 Thread Stan
hen I read it. I am not sure of what it does, what it get from what. Too magical. 3) You are gonna break a lot of code out there! 4) I know you spend a lot of time here, but you don't solve any problem. -- Stan -- You received this message because you are subscribed to the Google Group

I have a problem when linking two urls

2016-03-29 Thread Cristina Elena Stan
Hello! I make the login page and the register. After the user logs in on the home page i have a "create prescription" button and when i press it it says ERROR page not found. So the only problem i have is that when i press "create prescription" from the home page it doesn;t show me the page.