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 = "form .wide p, form .wide input + p.help {"


class TestBadCss(TestCase):

    def test_bad_css(self):
        base_css = 'static/admin/css/forms.css'
        exists = False
        stradmin = str(admin)
        pth = os.path.split(stradmin.split()[-1].split("'")[-2])[0]
        base_css = os.path.join(pth, base_css).replace("\\","/")
        #print("\n%s" % base_css)
        if os.path.isfile(base_css):
            lines = list()
            with open(base_css, "r") as base:
                lines = base.readlines()
                for line in lines:
                    exists = expected in line
                    if exists:
                        break
        self.assertEqual(exists, False)

I installed git and tried to do the bisecting thing but that didn't work for me

(xxex3) C:\Users\mike\env\xxex3\ssds>git bisect bad
fatal: Not a git repository (or any of the parent directories): .git

Where should I go next?

Thanks

Mike

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

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 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


--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/c18ff28c-4dbb-7b71-68bd-48f4cc38ecd5%40dewhirst.com.au.
For more options, visit https://groups.google.com/d/optout.

Reply via email to