Re: Django with 2 subapps with same name

2013-05-15 Thread Andre Terra
Despite possibly working with different app_labels, I believe the point still stands that if the storage and invoice apps share a lot of functionality among vendors, they should just be 'invoice' and 'storage' and allow for pluggable companies. Cheers, AT On Mon, May 13, 2013 at 12:02 PM, Tom

Re: Django with 2 subapps with same name

2013-05-13 Thread Tom Evans
On Fri, May 10, 2013 at 8:22 PM, Valder Gallo wrote: > Nops ... when i used > > INSTALLED_APP = { > 'invoice.sony', > 'invoice.samsung', > 'storage.sony', > 'storage.samsung', > } > > storage.samsung.models is overrind invoice.samsung.models > > :( > Does it help

Re: Django with 2 subapps with same name

2013-05-10 Thread Andre Terra
Granted this structure doesn't seem reasonable. Each manufacturer shouldn't be a separate app, but rather "backends" to generic storage or invoice apps. So you only need INSTALLED_APPS = ( # ... 'storage', 'invoice' ) And then work from there. The apps themselves should be able to

Re: Django with 2 subapps with same name

2013-05-10 Thread Valder Gallo
tnx :D On Fri, May 10, 2013 at 4:31 PM, Shawn Milochik wrote: > It is not possible. > > https://groups.google.com/forum/#!msg/django-users/AMYLfQo6Ba4/Y-57B0i7qy4J > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. >

Re: Django with 2 subapps with same name

2013-05-10 Thread Shawn Milochik
It is not possible. https://groups.google.com/forum/#!msg/django-users/AMYLfQo6Ba4/Y-57B0i7qy4J -- 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

Re: Django with 2 subapps with same name

2013-05-10 Thread Valder Gallo
Nops ... when i used INSTALLED_APP = { 'invoice.sony', 'invoice.samsung', 'storage.sony', 'storage.samsung', } storage.samsung.models is overrind invoice.samsung.models :( On Fri, May 10, 2013 at 4:08 PM, Thiago Avelino wrote: > Yep, add in

Re: Django with 2 subapps with same name

2013-05-10 Thread Thiago Avelino
Yep, add in installed_app: application_name.storage.sony application_name.storage.samsung Cheers, Thiago Avelino On Fri, May 10, 2013 at 3:19 PM, Valder Gallo wrote: > I cant have 2 subapp with same name in Django ? > > Ex. > > invoice/sony > invoice/samsung > >

Django with 2 subapps with same name

2013-05-10 Thread Valder Gallo
I cant have 2 subapp with same name in Django ? Ex. invoice/sony invoice/samsung storage/sony storage/samsung -- 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