cjwvu / bots

Automatically exported from code.google.com/p/bots
0 stars 0 forks source link

Improve: routes edition #350

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago

Better display for route edition, ordered in 3 parts:

1- In Channel
2- Translate
3- Out Channel

Display or not related fields of each part depend on it selector value.

- Changes in admin routes fieldsets.
- new templates for admin.

In admin.diff there are some other fixes for Django > 1.7 :

   - ModelForm need to have fields specified : exclude()
   - Replace queryset by get_queryset

Original issue reported on code.google.com by lucky...@gmail.com on 9 Apr 2015 at 1:29

GoogleCodeExporter commented 8 years ago
Something wrong in fields orders and translate fields display behavior, will 
post new files.

Original comment by lucky...@gmail.com on 10 Apr 2015 at 5:46

GoogleCodeExporter commented 8 years ago
OK, let me know when you upload new files.
thank, henk-jan

Original comment by hjebb...@gmail.com on 11 Apr 2015 at 10:42

GoogleCodeExporter commented 8 years ago
Everything must be good now.
In the same time I've improve :
    - channel edition, specific communication fieldset will be open depend on channel com type.
    - Name of object edited (__str__) appear in the content title. (need to add __str__ method for counter in models)

Original comment by lucky...@gmail.com on 14 Apr 2015 at 12:44

Attachments:

GoogleCodeExporter commented 8 years ago
OK.
the __str__ thing has changed anyway... (when making bots suited for python 3).

Original comment by hjebb...@gmail.com on 14 Apr 2015 at 4:17

GoogleCodeExporter commented 8 years ago
hi Ludovic,
trying to integrate this.
od you have one diff? 
think it has different diffs now, fro mboth chagnes?
(I am not good at this. I check all lines...)

Original comment by hjebb...@gmail.com on 15 Apr 2015 at 10:47

GoogleCodeExporter commented 8 years ago
Hi Henk-Jan,

Here come a diff for latest bots 3.3 admin.py and admin.py which is already 
patched.
There still are some fixes for Django >= 1.7

Ludovic

Original comment by lucky...@gmail.com on 16 Apr 2015 at 2:48

Attachments: