Download source-code feature.

2008-07-17 Thread J . Pablo Fernández
Hello, Is there any reusable or copyable implementation of download-source- code feature as it would be used when using the Affero GPL license? Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users"

1.0 branch

2008-09-15 Thread J . Pablo Fernández
Hello, Which one is the 1.0 branch on the SVN repo? Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe fr

Changing MEDIA_ROOT while running tests (as in ./manage.py test)

2009-04-21 Thread J . Pablo Fernández
Hello, I need to change MEDIA_ROOT while running tests, so that the files pointed to in fixtures in ImageFields can be found. I've tried settings.MEDIA_ROOT = "blah" in the test method and in the setUp method but still it tries to find the file in the wrong location. Any ideas how can I achieve t

Re: Changing MEDIA_ROOT while running tests (as in ./manage.py test)

2009-04-22 Thread J . Pablo Fernández
Hello Phil, Thanks for the answer. I already know about how to separate settings between development and production; but that's not what I'm trying to do and I couldn't find how to adapt for separating settings between development and test-time. That is, I haven't found any way to make './ manage

Re: Changing MEDIA_ROOT while running tests (as in ./manage.py test)

2009-04-22 Thread J . Pablo Fernández
On Apr 22, 10:13 pm, Phil Mocek wrote: > On Wed, Apr 22, 2009 at 12:46:32PM -0700, Phil Mocek wrote: > > [What you've repeatedly asked is] explained in the Django > > settings documentation that I referenced earlier, that you > > apparently did not read before asking your question or after I >

Re: Changing MEDIA_ROOT while running tests (as in ./manage.py test)

2009-04-22 Thread J . Pablo Fernández
On Apr 22, 9:46 pm, Phil Mocek wrote: > On Wed, Apr 22, 2009 at 12:22:08PM -0700, J. Pablo Fern?ndez wrote: > > I already know about how to separate settings between development and > > production; but that's not what I'm trying to do and I couldn't find > > how to adapt for separating settings

Email as primary key in users

2008-01-20 Thread J . Pablo Fernández
Hello, Is it possible to use email instead of username for users. So for logging in I would ask email and password (no username)? Thanks. -- J. Pablo Fernández <[EMAIL PROTECTED]> (http://pupeno.com) --~--~-~--~~~---~--~~ You received this message becau

Re: Email as primary key in users

2008-01-20 Thread J . Pablo Fernández
"Your username and password were incorrect." > > Sebastjan > > On 1/20/08, J. Pablo Fern�ndez <[EMAIL PROTECTED]> wrote: >> >> Hello, >> Is it possible to use email instead of username for users. So for logging >> in I would ask email and password

Models that are ordered lists

2008-01-21 Thread J . Pablo Fernández
class to inherit from)? Thanks. -- J. Pablo Fernández <[EMAIL PROTECTED]> (http://pupeno.com) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email

Printing only the radio input

2008-04-05 Thread J . Pablo Fernández
Hello, I have a ChoicesField defined like this: blah = forms.ChoiceField( choices=SOME_CHOICES, widget=forms.RadioSelect, initial=SOME_CHOICES[0][0]) and what I want to do is print the individuals without any label, list or anything. The reason to do that is because I have a very w

Re: Printing only the radio input

2008-04-05 Thread J . Pablo Fernández
Thank you Nathaniel, I gave this code a try and it didn't work. It seems to be on track but something is broken. I've submitted a comment about it to the issue itself. Thank you. On Apr 5, 4:36 pm, Nathaniel Whiteinge <[EMAIL PROTECTED]> wrote: > On Apr 5, 6:36 am, J. Pabl

Re: Printing only the radio input

2008-04-05 Thread J . Pablo Fernández
Just for the record, I kind of fixed it and submitted the new patch, with an added feature. On Apr 5, 8:42 pm, J. Pablo Fernández <[EMAIL PROTECTED]> wrote: > Thank you Nathaniel, > > I gave this code a try and it didn't work. It seems to be on track but > something is b

Widgets with an error class

2008-04-05 Thread J . Pablo Fernández
Hello, Is there some way to add a class="error" or wrap the inputs in a when the field has a validation error? Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, se

Re: Widgets with an error class

2008-04-20 Thread J . Pablo Fernández
No ideas on this? On Apr 6, 2:38 am, J. Pablo Fernández <[EMAIL PROTECTED]> wrote: > Hello, > > Is there some way to add a class="error" or wrap the inputs in a class="error"> when the field has a validationerror? > > Thanks. --~--~-~--~---

Custom management command

2008-05-14 Thread J . Pablo Fernández
Hello, I've made a custom management command like this: $ find -name "*.py*" ./manage.py ./__init__.pyc ./settings.pyc ./urls.py ./urls.pyc ./vortaro/management/commands/import_vortaro.py ./vortaro/management/commands/import_vortaro.pyc ./vortaro/management/commands/__init__.pyc ./vortaro/manage

Re: Custom management command

2008-05-14 Thread J . Pablo Fernández
On May 14, 10:23 pm, Alex Morega <[EMAIL PROTECTED]> wrote: > On May 14, 2008, at 23:37 , J. Pablo Fernández wrote: > > > I've made a custom management command like this: > > [...] > > but it is not being picked up. ./manage.py help doesn't list it

Re: Custom management command

2008-05-14 Thread J . Pablo Fernández
On May 14, 10:48 pm, George Vilches <[EMAIL PROTECTED]> wrote: > On May 14, 2008, at 5:23 PM, Alex Morega wrote: > > > > > > > On May 14, 2008, at 23:37 , J. Pablo Fernández wrote: > >> I've made a custom management command like this: > >>

Re: Custom management command

2008-05-14 Thread J . Pablo Fernández
r solution (and doesn't everybody have this same problem?) Thanks. On May 14, 9:37 pm, J. Pablo Fernández <[EMAIL PROTECTED]> wrote: > Hello, > > I've made a custom management command like this: > > $ find -name "*.py*" > ./manage.py > ./__init__.

Re: Custom management command

2008-05-15 Thread J . Pablo Fernández
It actually looks like a bug, If nobody did it, I'll try to reproduce it this afternoon and report the bug. On May 15, 7:52 am, J. Pablo Fernández <[EMAIL PROTECTED]> wrote: > Ok, debuging showed me a problem. > > ImportError: 'No module named bonvortaro' >

Re: Custom management command

2008-05-15 Thread J . Pablo Fernández
I would have thought Django did it by itself, or actually, manage.py. After all, when I do manage.py shell, the pythonpath seems to be correct for me to do import bonvortaro. On May 15, 8:20 am, Alex Morega <[EMAIL PROTECTED]> wrote: > On May 15, 2008, at 09:52 , J. Pablo Fernán