Re: Preprocess data before showing it on Admin

2012-04-01 Thread Pedro Vasconcelos
ields['your_field'].initial" with "self.initial['text']". Thanks again! Regards, On Sun, Apr 1, 2012 at 4:55 PM, Marc Aymerich wrote: > On Sun, Apr 1, 2012 at 9:42 PM, Pedro Vasconcelos > wrote: > > Hello Marc! > > > > Thanks for replying

Re: Preprocess data before showing it on Admin

2012-04-01 Thread Pedro Vasconcelos
> On Sun, Apr 1, 2012 at 9:25 PM, Pedro Vasconcelos > wrote: > > Hello! > > > > Anyone knows how preprocess data before showing it on Admin (change > page)? > > > > __ __ ___ > > / \/ \/

Preprocess data before showing it on Admin

2012-04-01 Thread Pedro Vasconcelos
human-friendly-format (my custom format) and store it in XML. So, when a user comes to edit data on Admin, it cant be the raw data from DB. It need to be converted (preprocessed) before and then showed. Anyone can help me? Thanks! -- Pedro Vasconcelos 85 8767.1843 ptronico (skype) -- You receive

Re: custom queryset with calculated field

2011-10-22 Thread Pedro Vasconcelos
I set > new_time = property(convert_time). If I iterate over the queryset I > can access each.new_time BUT I need the value in the queryset > (Model.objects.filter().values('new_time')). Unfortunately Iget an > attribute error. > > Thank you. > > On Oct 22, 2:10 pm, Ped

Re: custom queryset with calculated field

2011-10-22 Thread Pedro Vasconcelos
go-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > > -- Pedro Vasconcelos 85 8767.1843 ptronico (skype) -- You received this message because you are subscribed to the Google Groups "Django use

Admin Home Apps and Models ordering

2011-10-19 Thread Pedro Vasconcelos
Hello, I'm wondering how can I do personal Apps and Models ordering on Django Admin Home page. Thanks in advanced, -- Pedro Vasconcelos 85 8767.1843 ptronico (skype) -- You received this message because you are subscribed to the Google Groups "Django users" group. To pos

Serving/Tracking files

2008-09-05 Thread Pedro Vasconcelos
Changing this subject a bit... How is the better way to track links? (I'm talking about a big site) For links in general purpose? (Statics softwares based on server logs, services like google analytics, etc) Suggestion? For links more particularly like download/advertising/redirections? (Serving