Testing a django_localflavor_XX package

2013-03-10 Thread Alon Nisser
how am I supposed to test this? tried following some examples in other repo, but all failed. I wrote the test itself but it Doesn't run due to "You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings" my *fork here

Re: Contributing and translating django_localflavor_XX package

2013-03-09 Thread Alon Nisser
un it automatically and I should just submit the code? On Saturday, March 9, 2013 6:10:40 PM UTC+2, Claude Paroz wrote: > > Le samedi 9 mars 2013 10:46:27 UTC+1, Alon Nisser a écrit : >> >> I'm working on translating and adding to >> django_localflavor_il<https://githu

Contributing and translating django_localflavor_XX package

2013-03-09 Thread Alon Nisser
I'm working on translating and adding to django_localflavor_il. and I have a couple of questions: 1. I'm adding another field (an Israeli mobile phone number), should I open a ticket somewhere? 2. what is the proper process of contri

Re: Transforming django-admin.py to a shell script

2013-03-03 Thread Alon Nisser
working scripts/bin folder, according to the platform). why wouldn't Django do that? and then solve both problems in one shoot? On Friday, March 1, 2013 8:25:50 PM UTC+2, Alon Nisser wrote: > > and then it could be called as `django-admin somecommend` instead of > `python d

Re: Transforming django-admin.py to a shell script

2013-03-02 Thread Alon Nisser
much simpler. simply making it run with simple `manage somecommand` instead of `python manage.py somecommand`. using setuptools or something similiar On Saturday, March 2, 2013 12:17:25 AM UTC+2, Łukasz Rekucki wrote: > > On 1 March 2013 22:38, Alon Nisser >wrote: > >> at lea

Re: Transforming django-admin.py to a shell script

2013-03-01 Thread Alon Nisser
way) but slowly the tutorials would move to simpler shell script without the .py ending. On Friday, March 1, 2013 8:40:20 PM UTC+2, Alex Ogier wrote: > > On Fri, Mar 1, 2013 at 1:25 PM, Alon Nisser > > wrote: > > and then it could be called as `django-admin somecommend` inst

Transforming django-admin.py to a shell script

2013-03-01 Thread Alon Nisser
and then it could be called as `django-admin somecommend` instead of `python django-admin.py somecommand`. since python (using setuptools entry points) makes making a python script into a shell script quite easy I guess this has been Discussed before but I didn't find the discussion and the exp