I have a Model containing a CountryField (using
https://pypi.python.org/pypi/django-countries):
class Person(models.Model):
name = models.CharField(max_length=100)
country = CountryField(
countries_flag_url='//flags.example.com/{code}.png')
I want to be able to search in admin
Adding the `list_display` method worked. With Polonkai's solution, just for
curiosity, where do I have to "apply the CSS"? I am a newbie, please give
the details.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group
In Django's admin interface, on the table displaying all the items in my
database, sometimes a column gets too big, because an item has a long line
of text at this field. This looks ugly and makes the table hard to use. I
want to fix this by automatically adding line breaks (that is, wrapping
I wasn't able to produce a minimal example of what was going on, but it is
fixed now. Essentially, I did the following:
1. Upgraded to Django 1.8.6 .
2. Ran python manage.py collectstatic (as suggested in
*UPDATE:* The admin popups work fine with `manage.py runserver`. The are
broken only in the deployed project with apache2. Note that I did not
change any setting between both deployments. I hope this narrows it down.
--
You received this message because you are subscribed to the Google Groups
Is there another test I can do?
On Thursday, November 19, 2015 at 11:48:41 AM UTC-5, Jorge
Fernandez-de-Cossio-Diaz wrote:
>
> I'm trying to isolate a small example of the error, but I still haven't
> quite diagnosed the problem. I appreciate your help. This what I get in the
> &
n try to
> reproduce it as well.
>
> On Thursday, November 19, 2015 at 8:32:32 AM UTC-5, Jorge
> Fernandez-de-Cossio-Diaz wrote:
>>
>> I pressed F12 on Firefox, and played around to see if I could find
>> anything. But I didn't see anything that looked like an error.
I pressed F12 on Firefox, and played around to see if I could find
anything. But I didn't see anything that looked like an error. But I'm not
sure what I am looking for. What else can I do?
On Tuesday, October 27, 2015 at 11:32:33 AM UTC-4, Tim Graham wrote:
>
> Please check the JavaScript
A column of my Django admin interface sometimes has too much text. When
this happens, I would like to replace the last part of the text with "...",
so that the column width doesn't gets past a maximum character count. How
can I do this?
--
You received this message because you are subscribed
9 matches
Mail list logo