Posts by Lucas Junior • 35 points
7 posts
-
2
votes0
answers250
viewsQ: Pick values between two dates and display in the Django template
I have two models, flow and report, in the stream there is a date field, and in the report there are two fields, start date and end date, I want to make the report show the records in the flow…
-
0
votes0
answers20
viewsQ: Very slow M2M loading on Django
In some tables I use Many to Many, and as the bank has been growing its loading time is increasing (which is obvious), I got an alternative to the load, which is raw_id_fields, however it does not…
-
0
votes1
answer327
viewsQ: Display manytomany on list_display on Django
I am trying to display some items in manytomany in the list display on Jango, but it is returning an error, follow the codes: Models py. class Apenso(models.Model): usuario = models.ForeignKey(User,…
-
0
votes2
answers206
viewsQ: Image displayed on one machine, and another not on Django
I have an app in Django that runs in two places, one at work, which is where there is effective production, and in my house, which is where I make the adjustments because here I have time. The…
-
0
votes1
answer74
viewsQ: Django admin line conditional background color fill
I am wanting to color an entire row of a table, if the respective column of that row has some text, there are three possible situations: 1. the text itself, 2. fields with a "-", 3. fields with…
-
1
votes3
answers213
viewsQ: Coloring line background(Row) on Django admin
I have a code that is working, but not totally with what I want, it is coloring only the selected cell, I want to color the whole line depending on the status of the column.. follows the code:…
-
0
votes2
answers323
viewsQ: problem with uppercase in Django
I have an uppercase problem in Jango, in the following code, it works in the first form (name) and in the last form (organ), but in the intermediary forms it does not turn the letters sent in the…