Fwd: Referencing models.User in my models

2009-01-13 Thread Devraj Mukherjee
Hi all, I have a few models classes that refer to the logged in user (such as NoticeBoardPost), at the moment I am using the "username" to record who created each object. Is this the right way of doing it in Django? Or can I refer to models.User as a ForeignKey? Thanks. -- "The secret impress

Re: Webservices using Django

2006-10-17 Thread Devraj Mukherjee
SOAP is what I was after. If I used SOAPpy could I still import the django model stuff in the SOAP service script? On 10/18/06, Mikhail Gusarov <[EMAIL PROTECTED]> wrote: > > > You ([EMAIL PROTECTED]) wrote: > > DM> Is there a chance that Django will support the provisions of > DM> Webservices

Webservices using Django

2006-10-17 Thread Devraj Mukherjee
Is there a chance that Django will support the provisions of Webservices in the future. It would be nice to use the same data models to provide WebServices for an application. Googled around but found nothing. Thanks -- "I never look back darling, it distracts from the now", Edna Mode (The Incr

Custom administration interfaces

2006-10-17 Thread Devraj Mukherjee
Hi Everyone, I wish to produce custom administration interfaces. For example, a list of all items that have been marked as containing inappropriate content by the public interface. I want administrators to be able to produce a list of these items and untick a box to re-enable the visibility of th

Customising administration interface

2006-10-10 Thread Devraj Mukherjee
Hi Everyone, Can one class have more than one administration interface? -- "I never look back darling, it distracts from the now", Edna Mode (The Incredibles) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Djang

Re: Recurring data model question

2006-09-27 Thread Devraj Mukherjee
Thanks James. On 9/27/06, James Bennett <[EMAIL PROTECTED]> wrote: > > On 9/27/06, Devraj Mukherjee <[EMAIL PROTECTED]> wrote: > > Well for the first category it doesn't. Has anyone come across this > > before? If so how did you solve it? Thanks for your tim

Recurring data model question

2006-09-27 Thread Devraj Mukherjee
I am trying to create a class I call "Category" that will contain Items, these Categories can be nested within each other (much like eBay or Amazon). I tried to use the following menthod to do that but the administration interface wont let me create entries because the ForeignKey must have a value