On 9/3/07, Alex Koshelev <[EMAIL PROTECTED]> wrote:
>
> save() is method, so it must get at least one parameter - self.
> def save( self ):
>...
Sorry, I was sloppy. :-/
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
save() is method, so it must get at least one parameter - self.
def save( self ):
...
>
> TypeError at /admin/envwork/environment/12/
> save() takes no arguments (1 given)
>
> Any thoughts?
>
--~--~-~--~~~---~--~~
You received this message because you are
Thank you for the response Jeremy! Your solution seems the most
graceful and efficient. However it looks like I may be doing something
wrong... :-(
Here is the modification...
...
class Environment(models.Model):
short_name = models.CharField("Short Name", maxlength=8, blank=False,
On 9/2/07, Jack E. Wilkinson <[EMAIL PROTECTED]> wrote:
...
> I've got a very simple model, two databases and I'm using the admin
> interface. What I need is when one of the databases gets a change made
> to it, for an email to be sent out to a specific group (the group never
> changes, however,
> I've got a very simple model, two databases and I'm using the admin
> interface. What I need is when one of the databases gets a change made
> to it, for an email to be sent out to a specific group (the group never
> changes, however, the subject and message content should change).
Use Django
Good day,
Being a *VERY* new admirer of Django, I've started an application that
I've gotten slightly hung on due to a lack of understanding the
documentation.
I've got a very simple model, two databases and I'm using the admin
interface. What I need is when one of the databases gets a change
6 matches
Mail list logo