Joris, i agree with you!
2014-05-22 15:42 GMT-03:00 Joris <jmailli...@promani.be>: > > I didn't get it to work either. First I got an error from one of the > source files, which I fixed, and then it still didn't work. > I'm using Grappelli though, thought that could be a reason for the problem. > > No Thiago it's not silver bullet but still it's pretty good :) and the > existance of such an addon would lead to believe at least someone got it to > work, right :-) > > J > > > op 22-05-14 17:10, Thiago borges dos reis schreef: > > The truth is that django isn't the silver bullet. In the moment, i think > it doesn't really work. I'm doing my own "admin". > > > 2014-05-22 6:08 GMT-03:00 Vivi Blubb <v.lieu...@gmail.com>: > >> Hi, >> >> I do have the same problem. I'm using Python 2.7.5 and Django 1.6.5. I >> followed the tutorials of nested inlines, but it doesn't work. There is no >> error message, but it does not show the third inline. >> Actually there was a bug, because many did have the same problem, but >> still I couldnt find the right solution. >> >> Did someone solved that now? >> >> Am Mittwoch, 12. März 2014 21:48:05 UTC+1 schrieb Thiago borges dos reis: >> >>> Someone knows how to use django-nested-inlines. >>> >>> I did this: >>> >>> from django.contrib import admin >>> from nested_inlines.admin import >>> NestedStackedInline,NestedModelAdmin,NestedTabularInline >>> from models import Dieta, Cliente,Refeicao,Opcao >>> >>> >>> admin.site.register(Cliente) >>> >>> >>> class OpcaoInLine(NestedStackedInline): >>> model = Opcao >>> extra = 1 >>> >>> class RefeicaoInLine(NestedStackedInline): >>> model = Refeicao >>> extra = 1 >>> inlines = [OpcaoInLine,] >>> >>> >>> class DietaAdmin(NestedModelAdmin): >>> >>> fields= ('cliente','data_de_publicacao') >>> >>> inlines = [RefeicaoInLine,] >>> >>> >>> >>> >>> admin.site.register(Dieta,DietaAdmin) >>> >>> >>> >>> ---Didn't work >>> >> -- >> 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 http://groups.google.com/group/django-users. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/django-users/f69ac9ee-502f-453e-8918-91a9675a9914%40googlegroups.com<https://groups.google.com/d/msgid/django-users/f69ac9ee-502f-453e-8918-91a9675a9914%40googlegroups.com?utm_medium=email&utm_source=footer>. >> >> >> For more options, visit https://groups.google.com/d/optout. >> > > -- > 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 http://groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/CAHQaGTCbFYETHVBX5kWJn0jh7VYcLy1LC4srYmbfggL0HD7eog%40mail.gmail.com<https://groups.google.com/d/msgid/django-users/CAHQaGTCbFYETHVBX5kWJn0jh7VYcLy1LC4srYmbfggL0HD7eog%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > > > -- > 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 http://groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/537E4506.9020506%40promani.be<https://groups.google.com/d/msgid/django-users/537E4506.9020506%40promani.be?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- 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 http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAHQaGTCr6EuCotjuqk3HAQQkBydjtLHBWVSojTwew7T7HBjpCw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.