Re: Admin css question for 1.10.7

2017-05-09 Thread Melvyn Sopacua
On Tuesday 09 May 2017 17:48:43 Mike Dewhirst wrote: > On 9/05/2017 11:45 AM, Mike Dewhirst wrote: > > On 8/05/2017 11:02 PM, Melvyn Sopacua wrote: > >> On Monday 08 May 2017 03:57:01 Tim Graham wrote: > >> > You need to clone the Django repository and run the bisect > >> > command > > >> > from t

Re: Admin css question for 1.10.7

2017-05-09 Thread Mike Dewhirst
On 9/05/2017 11:45 AM, Mike Dewhirst wrote: On 8/05/2017 11:02 PM, Melvyn Sopacua wrote: On Monday 08 May 2017 03:57:01 Tim Graham wrote: > You need to clone the Django repository and run the bisect command > from there: snip running /home/melvyn/hg/django-project/invert.sh Bisecting:

Re: Admin css question for 1.10.7

2017-05-08 Thread Mike Dewhirst
On 8/05/2017 11:02 PM, Melvyn Sopacua wrote: On Monday 08 May 2017 03:57:01 Tim Graham wrote: > You need to clone the Django repository and run the bisect command > from there: Simplicity in Unix: 1 #!/bin/sh 2 3 # Basically, make grep -qv behave like I want it to 4 5 file='django/contri

Re: Admin css question for 1.10.7

2017-05-08 Thread Melvyn Sopacua
On Monday 08 May 2017 03:57:01 Tim Graham wrote: > You need to clone the Django repository and run the bisect command > from there: Simplicity in Unix: 1 #!/bin/sh 2 3 # Basically, make grep -qv behave like I want it to 4 5 file='django/contrib/admin/static/admin/css/f

Re: Admin css question for 1.10.7

2017-05-08 Thread Tim Graham
You need to clone the Django repository and run the bisect command from there: https://docs.djangoproject.com/en/dev/internals/contributing/writing-code/unit-tests/ That said, you might have some luck using the "Blame" button on https://github.com/django/django/blob/stable/1.9.x/django/contrib/

Re: Admin css question for 1.10.7

2017-05-07 Thread Mike Dewhirst
Tim The problem does not exist in 1.8.18 and does exist in 1.9 Here is the test I wrote to see if the css file contains the problem (which I established by trial and error) ... # -*- coding: utf-8 -*- import os from django.test import TestCase from django.contrib import admin expected = "fo

Re: Admin css question for 1.10.7

2017-05-07 Thread Mike Dewhirst
On 7/05/2017 8:12 PM, Tim Graham wrote: You can use git bisect to find the Django commit where the behavior changed: https://docs.djangoproject.com/en/dev/internals/contributing/triaging-tickets/#bisecting-a-regression Just read this and I have two problems ... 1. It is a css problem resultin

Re: Admin css question for 1.10.7

2017-05-07 Thread Tim Graham
You can use git bisect to find the Django commit where the behavior changed: https://docs.djangoproject.com/en/dev/internals/contributing/triaging-tickets/#bisecting-a-regression On Saturday, May 6, 2017 at 11:05:14 PM UTC-4, Mike Dewhirst wrote: > > I'm just (slowly) advancing from 1.8 to 1.11 an

Admin css question for 1.10.7

2017-05-06 Thread Mike Dewhirst
I'm just (slowly) advancing from 1.8 to 1.11 and stopping for a short while at 1.10. I notice that help-text doesn't line up under the left edge of DecimalField fields the way it does for TextFields and most others. Is this a deliberate design decision? Thanks Mike -- PLEASE NOTE OUR NEW

Re: CSS question for the Admin

2016-06-02 Thread Luis Zárate
Include your own CSS en admin meta class myAdmin(admin.ModelAdmin): class Meta: css ={'all': ['yourcss.css']} El jueves, 2 de junio de 2016, Mike Dewhirst escribió: > On 2/06/2016 7:31 PM, Michal Petrucha wrote: >> >> On Thu, Jun 02, 2016 at 07:22:16PM +1000, Mike Dewhirst wr

Re: CSS question for the Admin

2016-06-02 Thread Mike Dewhirst
On 2/06/2016 7:31 PM, Michal Petrucha wrote: On Thu, Jun 02, 2016 at 07:22:16PM +1000, Mike Dewhirst wrote: I have a varchar field of 300+ chars and I'd like to know how to provide space to wrap it on screen without resorting to a TextField Any CSS ideas? Thanks Mike Perhaps you could overr

Re: CSS question for the Admin

2016-06-02 Thread Michal Petrucha
On Thu, Jun 02, 2016 at 07:22:16PM +1000, Mike Dewhirst wrote: > I have a varchar field of 300+ chars and I'd like to know how to provide > space to wrap it on screen without resorting to a TextField > > Any CSS ideas? > > Thanks > > Mike Perhaps you could override the widget to a Textarea with

CSS question for the Admin

2016-06-02 Thread Mike Dewhirst
I have a varchar field of 300+ chars and I'd like to know how to provide space to wrap it on screen without resorting to a TextField Any CSS ideas? Thanks Mike -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group an

Re: CSS question

2011-08-22 Thread Cal Leeming [Simplicity Media Ltd]
Really would advice against using inline-block - for same reasons as before. Like anything though, CSS is another one of those things you have to sometimes learn the hard way... But the trick is, CSS/HTML shouldn't be hard, it should be one of those things that just rolls off the finger tips. Aga

Re: CSS question

2011-08-22 Thread Axel Bock
well. inline-block is around since … at least 2007ish, and according to this table it _really_ should be no problem for a somewhat new browser. and I honestly think IE6&7 support is … not an option, given that ie8 is around since 2006! *if* you have the written requirement … bad. if not, well,

Re: CSS question

2011-08-22 Thread Micky Hulse
Hi Cal, On Mon, Aug 22, 2011 at 12:49 AM, Cal Leeming [Simplicity Media Ltd] wrote: > OP - let me know if you resolved your issue. If not, ill show you the > standard way of doing it. I have always considered vertical-align pretty standard. ;) > For the record - vertical align in some usages is

Re: CSS question

2011-08-22 Thread Cal Leeming [Simplicity Media Ltd]
Sorry to be a party pooper, but inline-block is yet again another one of those big no-nos when it comes to cross browser/version. http://blog.mozilla.com/webdev/2009/02/20/cross-browser-inline-block/ On Mon, Aug 22, 2011 at 7:35 PM, Axel Bock wrote: > Hah! I can answer something on a Django-li

Re: CSS question

2011-08-22 Thread Axel Bock
Hah! I can answer something on a Django-list - oh joy :) . Yes, indeed I have an idea. *inline-block* may be the css thing for you. A very nice example for that is here: http://www.brunildo.org/test/inline-block.html Go to http://www.brunildo.org/ to have an overview over a lot of other stuff,

Re: CSS question

2011-08-22 Thread Cal Leeming [Simplicity Media Ltd]
-- Forwarded message -- From: "Cal Leeming" Date: Aug 22, 2011 8:49 AM Subject: Re: CSS question To: OP - let me know if you resolved your issue. If not, ill show you the standard way of doing it. For the record - vertical align in some usages isnt going to work v

Re: CSS question

2011-08-22 Thread Cal Leeming
OP - let me know if you resolved your issue. If not, ill show you the standard way of doing it. For the record - vertical align in some usages isnt going to work very nicely cross browser/versions. On Aug 21, 2011 10:47 PM, "Joshua Russo" wrote: > I know this is a bit off topic but I know this pl

Re: CSS question

2011-08-21 Thread Joshua Russo
Thanks for the help, CSS is always my gremlin -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/TmoW1R-DflQJ. To post to this group, send email to django-use

Re: CSS question

2011-08-21 Thread Micky Hulse
P.S. There's a great CSS listserv here: -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-use

Re: CSS question

2011-08-21 Thread Micky Hulse
Hello, [ot] One way to do it... You could make all of your elements (label/input) inside of your block container display "inline" and then use something like this: #someContainer * { ... vertical-align: middle !important; ... } The "!important" (what I call "not important") is opti

CSS question

2011-08-21 Thread Joshua Russo
I know this is a bit off topic but I know this place is full of very helpful intelligent people. :o) Ok so I have an html block (div, p, doesn't matter what kind), and I fill it with a label and an input text field. The input is always larger than the label (rightly so), but the label is always

Re: HTML / CSS question

2009-09-23 Thread Joshua Russo
On Wed, Sep 23, 2009 at 1:00 PM, Daniel Roseman wrote: > > On Sep 23, 2:54 pm, Joshua Russo wrote: > > I want to apply style to a block of text in the middle of a sentance > without > > effecting the flow. I've been using what feels like a serious hack by > using > > tags with a class property.

Re: HTML / CSS question

2009-09-23 Thread Daniel Roseman
On Sep 23, 2:54 pm, Joshua Russo wrote: > I want to apply style to a block of text in the middle of a sentance without > effecting the flow. I've been using what feels like a serious hack by using > tags with a class property. My big fear is that the tags will > disappear from the list of suppor

HTML / CSS question

2009-09-23 Thread Joshua Russo
I want to apply style to a block of text in the middle of a sentance without effecting the flow. I've been using what feels like a serious hack by using tags with a class property. My big fear is that the tags will disappear from the list of supported tags. But really there has to be a way to do t

Re: CSS question: django on apache/mod_python

2007-07-09 Thread [EMAIL PROTECTED]
> The results of the above telnet > *should* (on a compliant proxy) leak a little info about the > proxy server in the HTTP headers. Got it! Thanks -- I looked at the HTTP header for the CSS file, and 'Vary' was set to 'cookie'. Cleared cookies in my browser (not a default when clearing cache

Re: CSS question: django on apache/mod_python

2007-07-09 Thread Tim Chase
> I'm running Django 0.95 on Apache 2.0, using mod_python 3.3.1, > and I use SSH to connect to my server. After a few days of > shuffling and cursing and fiddling, I've got everything > running nicely: apps work, dbs work, templates work, css > works. But, I've found that when I make CSS changes

CSS question: django on apache/mod_python

2007-07-09 Thread [EMAIL PROTECTED]
Hey all -- I've run into an unexpected situation, but feel it may be due more to my inexperience than any innate weirdness. Perhaps someone can explain? I'm running Django 0.95 on Apache 2.0, using mod_python 3.3.1, and I use SSH to connect to my server. After a few days of shuffling and cursi