# creating new instances
form.data[form.add_prefix(self._pk_field.name)] = None
# Remove the object id from the form's data
form.data[form.add_prefix(self.ct_fk_field_name)] = None
return form
On May 28, 12:36 pm, Stephen Sundell <stephen.s
Have you checked out http://code.google.com/p/django-tagging/ ?
On May 28, 12:54 pm, Streamweaver wrote:
> Still hoping someone has some insight here. I've been plugging away
> at it and am still not finding an answer I can live with as an
> engineer.
>
> Currently I'm
I'm using an InlineAdmin that is a generic relation, similar to django
tagging, with one of my model admins. The problem is on a save as
new, if the original object has tags, then the initial form count,
gotten from the management form, isn't zero, even though the new
object will have zero tags,
How would I get my content transfer encoding for emails sent through
the django emails system to be 7bit?
Stephen
--
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
Can I wrap something like : "Click here to go
back." inside a blocktrans tag? If not is there some sort of work
around for this? I know in this particular case it wouldn't be to bad
to make the whole text the link, but this is just and example.
Thanks
I'm trying to do a query filter with a regex expression where I want
to search for a word character. I'm using postgresql and if I do
Blog.objects.filter(post__regex=r'[\w]'), django ends up using [\\w]
in the query. I can't seem to get one backslash in the query. Is
there some way to do this?
I am trying to create one application with multiple modules in it.
What I have now is an application directory with multiple directories
each with its own models.py file. If I include the application in the
settings file and run validate it checks the models, but syncdb
doesn't add them to the
7 matches
Mail list logo