Re: Support for moving a model between two Django apps #24686

2021-06-07 Thread Lalit Suthar
oh great, good luck with that :D

cheers!

On Mon, 7 Jun 2021 at 19:40, Mike Dewhirst  wrote:

> Ok - fair enough. On the other hand we do use the Admin extensively and
> because we made a mistake during design which we would like to fix, we want
> to move a couple of models from one app to another.
>
> Ticket #24686 looks brilliant and might be implemented in the dev version
> of Django.
>
> Maybe I'll give it a try.
>
> Cheers
>
> Mike
>
> --
> (Unsigned mail  from my phone)
>
>  Original message 
> From: Lalit Suthar 
> Date: 7/6/21 22:38 (GMT+10:00)
> To: django-users@googlegroups.com
> Subject: Re: Support for moving a model between two Django apps #24686
>
> It does look long and weird but we hardly visit /admin since we do most of
> the operations from python manage.py shell
>
> On Fri, 4 Jun 2021 at 11:42, Mike Dewhirst  wrote:
>
>> On 4/06/2021 2:28 pm, lalit suthar wrote:
>> > We had a similar problem and we resolved it by moving all the models
>> > into a separate internal python package.
>> > We can have a separate app in our django project also for writing
>> > models only and all other apps import models from there.
>>
>> Interesting.
>>
>> What does the main menu of the Admin look like?
>>
>>
>> >
>> > On Friday, 4 June 2021 at 06:07:53 UTC+5:30 Mike Dewhirst wrote:
>> >
>> > I can see a ticket https://code.djangoproject.com/ticket/24686
>> > <https://code.djangoproject.com/ticket/24686> which
>> > would likely solve my current need to merge two apps.
>> >
>> > Is the code OK to try out?
>> >
>> > Happy to test it.
>> >
>> > Cheers
>> >
>> > Mike
>> >
>> > --
>> > Signed email is an absolute defence against phishing. This email has
>> > been signed with my private key. If you import my public key you can
>> > automatically decrypt my signature and be sure it came from me. Just
>> > ask and I'll send it to you. Your email software can handle signing.
>> >
>> >
>> > --
>> > 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
>> > <mailto:django-users+unsubscr...@googlegroups.com>.
>> > To view this discussion on the web visit
>> >
>> https://groups.google.com/d/msgid/django-users/27fb1633-e8be-43e1-b92e-f92409347731n%40googlegroups.com
>> > <
>> https://groups.google.com/d/msgid/django-users/27fb1633-e8be-43e1-b92e-f92409347731n%40googlegroups.com?utm_medium=email_source=footer
>> >.
>>
>>
>> --
>> Signed email is an absolute defence against phishing. This email has
>> been signed with my private key. If you import my public key you can
>> automatically decrypt my signature and be sure it came from me. Just
>> ask and I'll send it to you. Your email software can handle signing.
>>
>>
>> --
>> 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 view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/bf3f0499-21e8-3a05-3c01-6c02d2b7b603%40dewhirst.com.au
>> .
>>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAGp2JVFCBWcpN3v7E3o07CVdKqnT5zmZ9xLkPYRtn46oZrvz3g%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAGp2JVFCBWcpN3v7E3o07CVdKqnT5zmZ9xLkPYRtn46oZrvz3g%40mail.gmail.com?utm_medium=email_source=footer>
> .
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/60be28ce.1c69fb81.81ffc.00bfSMTPIN_ADDED_MISSING%40gmr-mx.google.com
> <https://groups.google.com/d/msgid/django-users/60be28ce.1c69fb81.81ffc.00bfSMTPIN_ADDED_MISSING%40gmr-mx.google.com?utm_medium=email_source=footer>
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAGp2JVGA_9okJ55a37gYZNbVz5HrUYmNuv1Ms38z%2B%3DCiVngoow%40mail.gmail.com.


Re: Support for moving a model between two Django apps #24686

2021-06-07 Thread Mike Dewhirst
Ok - fair enough. On the other hand we do use the Admin extensively and because 
we made a mistake during design which we would like to fix, we want to move a 
couple of models from one app to another.Ticket #24686 looks brilliant and 
might be implemented in the dev version of Django.Maybe I'll give it a 
try.CheersMike--(Unsigned mail  from my phone)
 Original message From: Lalit Suthar  
Date: 7/6/21  22:38  (GMT+10:00) To: django-users@googlegroups.com Subject: Re: 
Support for moving a model between two Django apps #24686 It does look long and 
weird but we hardly visit /admin since we do most of the operations from python 
manage.py shellOn Fri, 4 Jun 2021 at 11:42, Mike Dewhirst 
 wrote:On 4/06/2021 2:28 pm, lalit suthar wrote:
> We had a similar problem and we resolved it by moving all the models 
> into a separate internal python package.
> We can have a separate app in our django project also for writing 
> models only and all other apps import models from there.

Interesting.

What does the main menu of the Admin look like?


>
> On Friday, 4 June 2021 at 06:07:53 UTC+5:30 Mike Dewhirst wrote:
>
>     I can see a ticket https://code.djangoproject.com/ticket/24686
>     <https://code.djangoproject.com/ticket/24686> which
>     would likely solve my current need to merge two apps.
>
>     Is the code OK to try out?
>
>     Happy to test it.
>
>     Cheers
>
>     Mike
>
>     -- 
>     Signed email is an absolute defence against phishing. This email has
>     been signed with my private key. If you import my public key you can
>     automatically decrypt my signature and be sure it came from me. Just
>     ask and I'll send it to you. Your email software can handle signing.
>
>
> -- 
> 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 
> <mailto:django-users+unsubscr...@googlegroups.com>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/27fb1633-e8be-43e1-b92e-f92409347731n%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/django-users/27fb1633-e8be-43e1-b92e-f92409347731n%40googlegroups.com?utm_medium=email_source=footer>.


-- 
Signed email is an absolute defence against phishing. This email has
been signed with my private key. If you import my public key you can
automatically decrypt my signature and be sure it came from me. Just
ask and I'll send it to you. Your email software can handle signing.


-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/bf3f0499-21e8-3a05-3c01-6c02d2b7b603%40dewhirst.com.au.




-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAGp2JVFCBWcpN3v7E3o07CVdKqnT5zmZ9xLkPYRtn46oZrvz3g%40mail.gmail.com.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/60be28ce.1c69fb81.81ffc.00bfSMTPIN_ADDED_MISSING%40gmr-mx.google.com.


Re: Support for moving a model between two Django apps #24686

2021-06-07 Thread Lalit Suthar
It does look long and weird but we hardly visit /admin since we do most of
the operations from python manage.py shell

On Fri, 4 Jun 2021 at 11:42, Mike Dewhirst  wrote:

> On 4/06/2021 2:28 pm, lalit suthar wrote:
> > We had a similar problem and we resolved it by moving all the models
> > into a separate internal python package.
> > We can have a separate app in our django project also for writing
> > models only and all other apps import models from there.
>
> Interesting.
>
> What does the main menu of the Admin look like?
>
>
> >
> > On Friday, 4 June 2021 at 06:07:53 UTC+5:30 Mike Dewhirst wrote:
> >
> > I can see a ticket https://code.djangoproject.com/ticket/24686
> >  which
> > would likely solve my current need to merge two apps.
> >
> > Is the code OK to try out?
> >
> > Happy to test it.
> >
> > Cheers
> >
> > Mike
> >
> > --
> > Signed email is an absolute defence against phishing. This email has
> > been signed with my private key. If you import my public key you can
> > automatically decrypt my signature and be sure it came from me. Just
> > ask and I'll send it to you. Your email software can handle signing.
> >
> >
> > --
> > 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 view this discussion on the web visit
> >
> https://groups.google.com/d/msgid/django-users/27fb1633-e8be-43e1-b92e-f92409347731n%40googlegroups.com
> > <
> https://groups.google.com/d/msgid/django-users/27fb1633-e8be-43e1-b92e-f92409347731n%40googlegroups.com?utm_medium=email_source=footer
> >.
>
>
> --
> Signed email is an absolute defence against phishing. This email has
> been signed with my private key. If you import my public key you can
> automatically decrypt my signature and be sure it came from me. Just
> ask and I'll send it to you. Your email software can handle signing.
>
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/bf3f0499-21e8-3a05-3c01-6c02d2b7b603%40dewhirst.com.au
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAGp2JVFCBWcpN3v7E3o07CVdKqnT5zmZ9xLkPYRtn46oZrvz3g%40mail.gmail.com.


Re: Support for moving a model between two Django apps #24686

2021-06-04 Thread Mike Dewhirst

On 4/06/2021 2:28 pm, lalit suthar wrote:
We had a similar problem and we resolved it by moving all the models 
into a separate internal python package.
We can have a separate app in our django project also for writing 
models only and all other apps import models from there.


Interesting.

What does the main menu of the Admin look like?




On Friday, 4 June 2021 at 06:07:53 UTC+5:30 Mike Dewhirst wrote:

I can see a ticket https://code.djangoproject.com/ticket/24686
 which
would likely solve my current need to merge two apps.

Is the code OK to try out?

Happy to test it.

Cheers

Mike

-- 
Signed email is an absolute defence against phishing. This email has

been signed with my private key. If you import my public key you can
automatically decrypt my signature and be sure it came from me. Just
ask and I'll send it to you. Your email software can handle signing.


--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/27fb1633-e8be-43e1-b92e-f92409347731n%40googlegroups.com 
.



--
Signed email is an absolute defence against phishing. This email has
been signed with my private key. If you import my public key you can
automatically decrypt my signature and be sure it came from me. Just
ask and I'll send it to you. Your email software can handle signing.


--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/bf3f0499-21e8-3a05-3c01-6c02d2b7b603%40dewhirst.com.au.


OpenPGP_signature
Description: OpenPGP digital signature


Re: Support for moving a model between two Django apps #24686

2021-06-03 Thread lalit suthar
We had a similar problem and we resolved it by moving all the models into a 
separate internal python package. 
We can have a separate app in our django project also for writing models 
only and all other apps import models from there.

On Friday, 4 June 2021 at 06:07:53 UTC+5:30 Mike Dewhirst wrote:

> I can see a ticket https://code.djangoproject.com/ticket/24686 which 
> would likely solve my current need to merge two apps.
>
> Is the code OK to try out?
>
> Happy to test it.
>
> Cheers
>
> Mike
>
> -- 
> Signed email is an absolute defence against phishing. This email has
> been signed with my private key. If you import my public key you can
> automatically decrypt my signature and be sure it came from me. Just
> ask and I'll send it to you. Your email software can handle signing.
>
>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/27fb1633-e8be-43e1-b92e-f92409347731n%40googlegroups.com.


Support for moving a model between two Django apps #24686

2021-06-03 Thread Mike Dewhirst
I can see a ticket https://code.djangoproject.com/ticket/24686 which 
would likely solve my current need to merge two apps.


Is the code OK to try out?

Happy to test it.

Cheers

Mike

--
Signed email is an absolute defence against phishing. This email has
been signed with my private key. If you import my public key you can
automatically decrypt my signature and be sure it came from me. Just
ask and I'll send it to you. Your email software can handle signing.


--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/d6e7a057-0155-c85f-5a13-0311ae62f497%40dewhirst.com.au.


OpenPGP_signature
Description: OpenPGP digital signature