New Add-On: Django Model Lifecycle Hooks

2018-03-31 Thread Robert Singer
Hey there - 

I just wanted to let community know about a small add-on I wrote in order 
to add Rails-style hooks/callbacks to Django models. 
https://github.com/rsinger86/django-lifecycle

Feedback welcome and appreciated :)

Cheers. 

-- 
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 https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/f1fbb963-2d36-46b3-ba76-7781c074918a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: New Add-On: Django Model Lifecycle Hooks

2018-03-31 Thread George Silva
>From Reading the readme this looks promising.

Congrats!

I might use this soon.

Em sáb, 31 de mar de 2018 15:50, Robert Singer 
escreveu:

> Hey there -
>
> I just wanted to let community know about a small add-on I wrote in order
> to add Rails-style hooks/callbacks to Django models.
> https://github.com/rsinger86/django-lifecycle
>
> Feedback welcome and appreciated :)
>
> Cheers.
>
> --
> 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 https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/f1fbb963-2d36-46b3-ba76-7781c074918a%40googlegroups.com
> 
> .
> 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 https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAGyPVTuRCtt3SHwTR7%3DehKZzwcV-kMOCbOkdiJyMH%3DFgu4uZnA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: New Add-On: Django Model Lifecycle Hooks

2018-03-31 Thread acheraime
Very interesting! Good job. Is this module supported in 1.11?



Sent from my iPhone

> On Mar 31, 2018, at 3:18 PM, George Silva  wrote:
> 
> From Reading the readme this looks promising.
> 
> Congrats!
> 
> I might use this soon.
> 
> Em sáb, 31 de mar de 2018 15:50, Robert Singer  
> escreveu:
>> Hey there - 
>> 
>> I just wanted to let community know about a small add-on I wrote in order to 
>> add Rails-style hooks/callbacks to Django models. 
>> https://github.com/rsinger86/django-lifecycle
>> 
>> Feedback welcome and appreciated :)
>> 
>> Cheers. 
>> -- 
>> 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 https://groups.google.com/group/django-users.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/f1fbb963-2d36-46b3-ba76-7781c074918a%40googlegroups.com.
>> 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 https://groups.google.com/group/django-users.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/CAGyPVTuRCtt3SHwTR7%3DehKZzwcV-kMOCbOkdiJyMH%3DFgu4uZnA%40mail.gmail.com.
> 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 https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/1D6CD5F7-F2B5-4FA5-911F-0C192EB7BEEB%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: New Add-On: Django Model Lifecycle Hooks

2018-03-31 Thread Robert Singer

Thanks! Yup, should be compatible with Django 1.11. 

It is *only compatible* with Python 3.4 and up, though. There is no binding 
technical reason for this - it's just what my organization uses and I've 
been in habit of using type annotations. 

So if there is demand for Python 2.7 compatibility, I can certainly add 
it.  

On Saturday, March 31, 2018 at 3:33:28 PM UTC-5, tizonzon wrote:
>
> Very interesting! Good job. Is this module supported in 1.11?
>
>
>
> Sent from my iPhone
>
> On Mar 31, 2018, at 3:18 PM, George Silva  > wrote:
>
> From Reading the readme this looks promising.
>
> Congrats!
>
> I might use this soon.
>
> Em sáb, 31 de mar de 2018 15:50, Robert Singer  > escreveu:
>
>> Hey there - 
>>
>> I just wanted to let community know about a small add-on I wrote in order 
>> to add Rails-style hooks/callbacks to Django models. 
>> https://github.com/rsinger86/django-lifecycle
>>
>> Feedback welcome and appreciated :)
>>
>> Cheers. 
>>
>> -- 
>> 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...@googlegroups.com .
>> To post to this group, send email to django...@googlegroups.com 
>> .
>> Visit this group at https://groups.google.com/group/django-users.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/f1fbb963-2d36-46b3-ba76-7781c074918a%40googlegroups.com
>>  
>> 
>> .
>> 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...@googlegroups.com .
> To post to this group, send email to django...@googlegroups.com 
> .
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/CAGyPVTuRCtt3SHwTR7%3DehKZzwcV-kMOCbOkdiJyMH%3DFgu4uZnA%40mail.gmail.com
>  
> 
> .
> 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 https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/d5bbe153-7f2f-4196-951e-0ffdf1200377%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: New Add-On: Django Model Lifecycle Hooks

2018-04-01 Thread Jani Tiainen
Hi,

Quite interesting feature have to say. You should use tox to run tests
against different versions of Django/Python to make it easier to make it
compatible easier.

I would like to see compatibilities with 1.11 and 2.0 since 1.11 is LTS and
2.0 is latest supported.

But it's a great start.


On Sun, Apr 1, 2018 at 12:54 AM, Robert Singer 
wrote:

>
> Thanks! Yup, should be compatible with Django 1.11.
>
> It is *only compatible* with Python 3.4 and up, though. There is no
> binding technical reason for this - it's just what my organization uses and
> I've been in habit of using type annotations.
>
> So if there is demand for Python 2.7 compatibility, I can certainly add
> it.
>
> On Saturday, March 31, 2018 at 3:33:28 PM UTC-5, tizonzon wrote:
>>
>> Very interesting! Good job. Is this module supported in 1.11?
>>
>>
>>
>> Sent from my iPhone
>>
>> On Mar 31, 2018, at 3:18 PM, George Silva  wrote:
>>
>> From Reading the readme this looks promising.
>>
>> Congrats!
>>
>> I might use this soon.
>>
>> Em sáb, 31 de mar de 2018 15:50, Robert Singer 
>> escreveu:
>>
>>> Hey there -
>>>
>>> I just wanted to let community know about a small add-on I wrote in
>>> order to add Rails-style hooks/callbacks to Django models.
>>> https://github.com/rsinger86/django-lifecycle
>>>
>>> Feedback welcome and appreciated :)
>>>
>>> Cheers.
>>>
>>> --
>>> 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...@googlegroups.com.
>>> To post to this group, send email to django...@googlegroups.com.
>>> Visit this group at https://groups.google.com/group/django-users.
>>> To view this discussion on the web visit https://groups.google.com/d/ms
>>> gid/django-users/f1fbb963-2d36-46b3-ba76-7781c074918a%40googlegroups.com
>>> 
>>> .
>>> 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...@googlegroups.com.
>> To post to this group, send email to django...@googlegroups.com.
>> Visit this group at https://groups.google.com/group/django-users.
>> To view this discussion on the web visit https://groups.google.com/d/ms
>> gid/django-users/CAGyPVTuRCtt3SHwTR7%3DehKZzwcV-kMOCbOkdiJyMH%3DFgu4uZnA%
>> 40mail.gmail.com
>> 
>> .
>> 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 https://groups.google.com/group/django-users.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/django-users/d5bbe153-7f2f-4196-951e-0ffdf1200377%40googlegroups.com
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Jani Tiainen

- Well planned is half done, and a half done has been sufficient before...

-- 
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 https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAHn91ocGSrks6Kfc5LC5RMje9mC14DKEWb46otddgvj3YMQs%3Dw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: New Add-On: Django Model Lifecycle Hooks

2018-04-03 Thread Robert Singer
Hello, 

Thanks to Jani Tiainen, the library now supports Django 1.8 and up, and has 
more robust testing using tox. 

On Sunday, April 1, 2018 at 3:49:04 AM UTC-5, Jani Tiainen wrote:
>
> Hi,
>
> Quite interesting feature have to say. You should use tox to run tests 
> against different versions of Django/Python to make it easier to make it 
> compatible easier.
>
> I would like to see compatibilities with 1.11 and 2.0 since 1.11 is LTS 
> and 2.0 is latest supported.
>
> But it's a great start.
>
>
> On Sun, Apr 1, 2018 at 12:54 AM, Robert Singer  > wrote:
>
>>
>> Thanks! Yup, should be compatible with Django 1.11. 
>>
>> It is *only compatible* with Python 3.4 and up, though. There is no 
>> binding technical reason for this - it's just what my organization uses and 
>> I've been in habit of using type annotations. 
>>
>> So if there is demand for Python 2.7 compatibility, I can certainly add 
>> it.  
>>
>> On Saturday, March 31, 2018 at 3:33:28 PM UTC-5, tizonzon wrote:
>>>
>>> Very interesting! Good job. Is this module supported in 1.11?
>>>
>>>
>>>
>>> Sent from my iPhone
>>>
>>> On Mar 31, 2018, at 3:18 PM, George Silva  wrote:
>>>
>>> From Reading the readme this looks promising.
>>>
>>> Congrats!
>>>
>>> I might use this soon.
>>>
>>> Em sáb, 31 de mar de 2018 15:50, Robert Singer  
>>> escreveu:
>>>
 Hey there - 

 I just wanted to let community know about a small add-on I wrote in 
 order to add Rails-style hooks/callbacks to Django models. 
 https://github.com/rsinger86/django-lifecycle

 Feedback welcome and appreciated :)

 Cheers. 

 -- 
 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...@googlegroups.com.
 To post to this group, send email to django...@googlegroups.com.
 Visit this group at https://groups.google.com/group/django-users.
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/django-users/f1fbb963-2d36-46b3-ba76-7781c074918a%40googlegroups.com
  
 
 .
 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...@googlegroups.com.
>>> To post to this group, send email to django...@googlegroups.com.
>>> Visit this group at https://groups.google.com/group/django-users.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/django-users/CAGyPVTuRCtt3SHwTR7%3DehKZzwcV-kMOCbOkdiJyMH%3DFgu4uZnA%40mail.gmail.com
>>>  
>>> 
>>> .
>>> 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...@googlegroups.com .
>> To post to this group, send email to django...@googlegroups.com 
>> .
>> Visit this group at https://groups.google.com/group/django-users.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/d5bbe153-7f2f-4196-951e-0ffdf1200377%40googlegroups.com
>>  
>> 
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Jani Tiainen
>
> - Well planned is half done, and a half done has been sufficient before...
>

-- 
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 https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/eb9e9c00-12b8-4a3e-934a-c39371c4edef%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.