new to django

2010-07-25 Thread ionut cristian cucu
Hi list! I just started on django and so far my project went very well: I've created an admin site that will allow the user some data into a postgres db. Cool me, my first site. Now I want to do the following: make in admin interface a custom widget that will have a charfield or integerfield but al

dashboard question

2010-08-13 Thread ionut cristian cucu
Hello list, I customized my first dashboard like so: http://paste.pocoo.org/show/250028/, but when I added Group, the site gets rendered weird: http://img705.imageshack.us/img705/8148/djangositeadmin12817724.png. Could you please help me find what have I done wrong? Thanks! -- You received this m

Re: dashboard question

2010-08-14 Thread ionut cristian cucu
Sorry wrong list -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visi

reverse ForeignKey

2010-09-23 Thread ionut cristian cucu
Hi list, I just came to django, and to web programming for that matter, so my question is from a n0b: I have to models: class Pacient(models.Model): name=models.CharField('name', max_length=123) class Exit(models.Model): pacient=models.ForeignKey(Pacient) How to I get the admin interf

Re: reverse ForeignKey

2010-09-25 Thread ionut cristian cucu
/2618893/how-to-filter-queryset-in-changelist-view-in-django-admin, > looks like a similar (solved) problem. > In short, it's about overriding the queryset() method of ModelAdmin. > > On Thu, Sep 23, 2010 at 11:33 AM, ionut cristian cucu > wrote: >> >> Hi list, >> I

Re: [Announcement] Vim for Python and Django

2010-09-26 Thread ionut cristian cucu
Very helpful, thanks alot! 2010/9/26 Piotr Zalewa : >  Hi Antoni, > > Thanks for that! > > zalun > > On 09/26/10 10:36, Antoni Aloy wrote: >> Hello all! >> >> In this list we have a recurrent thread: "What'ts the best IDE for >> Django and Python development?" trespams-vim is my try to answer this

Re: reverse ForeignKey

2010-09-26 Thread ionut cristian cucu
2010/9/25 Daniel Roseman : > > > On Sep 25, 9:51 am, ionut cristian cucu wrote: >> I've tried to do something like that: >> class Pacienti_manager(models.Manager): >>   def get_visible(self): >>     return(super(Pacienti_manager, >> self).get_que