Re: Basic Django admin question

2011-10-25 Thread Aaron Spesard
Nevermind. On Tue, Oct 25, 2011 at 3:22 PM, Aaron Spesard wrote: > I've been doing a couple of django tutorials over and over again just learn > by rote, so to speak. They are the 'Writing your first Django App' and > 'djangoles-tutorial.pdf. Today I decided to just try and build a similar > pro

Basic Django admin question

2011-10-25 Thread Aaron Spesard
I've been doing a couple of django tutorials over and over again just learn by rote, so to speak. They are the 'Writing your first Django App' and 'djangoles-tutorial.pdf. Today I decided to just try and build a similar project from scratch and I've run into a couple of problems. When I tried to ad

Re: Django admin question

2009-04-16 Thread Daniel Roseman
On Apr 16, 2:47 pm, zayatzz wrote: > So this means, that i can return whichever other value with this > unicode method... even value from other models? > > Alan. If you want, and you've got a way of getting there from the current model - eg via a foreign key. Bear in mind though that this value

Re: Django admin question

2009-04-16 Thread zayatzz
So this means, that i can return whichever other value with this unicode method... even value from other models? Alan. On Apr 16, 4:22 pm, Daniel Roseman wrote: > On Apr 16, 2:18 pm, zayatzz wrote: > > >http://docs.djangoproject.com/en/dev/intro/tutorial02/#adding-related... > > > On that page

Re: Django admin question

2009-04-16 Thread Daniel Roseman
On Apr 16, 2:18 pm, zayatzz wrote: > http://docs.djangoproject.com/en/dev/intro/tutorial02/#adding-related... > > On that page is small picture of adding choice to a poll. There is > selectbox and textfields. > > My question is - how to choose which field of poll model will be shown > in this sel

Django admin question

2009-04-16 Thread zayatzz
http://docs.djangoproject.com/en/dev/intro/tutorial02/#adding-related-objects On that page is small picture of adding choice to a poll. There is selectbox and textfields. My question is - how to choose which field of poll model will be shown in this selectbox? Alan. --~--~-~--~~

Re: Django Admin Question

2009-03-28 Thread Wiiboy
Ok, just determined that all I'll be doing is changing existing entries. So this is solved. 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-us

Re: Django Admin Question

2009-03-27 Thread Wiiboy
I want to make it so that I can just add enter the ID, and it will mark it as accepted --~--~-~--~~~---~--~~ 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@googlegrou

Re: Django Admin Question

2009-03-26 Thread Briel
You can use 'list_filter' in admin.py to add which filters you want to set. so if you have a status reviewed/await review you can use that. You can also use 'search_fields' if you want to do some searching. Lastly you can use 'ordering' as well if you prefer. I would sugest you try to play around

Re: Django Admin Question

2009-03-26 Thread Wiiboy
Sorry, I wasn't very clear. The Administration's purpose is to let me decide, from the submissions that are pending review, which ones I want to accept (change the value for the column 'status' to 'accepted' for that row) and which ones I want to not accept (change the value for the column 'statu

Django Admin Question

2009-03-26 Thread Wiiboy
Hi, I've got a database of newsletter submissions from my users. Before using Django, I designed an Admin interface that listed the past 10 or so submissions that were still pending review by me, and asked for the ID of the one or ones that I wanted to accept or not accept. Is there a way to make