blog: archive / rss

carefully posted Thursday, March 18, 2010

Save Me

I recently had a need to modify the files associated with a ManyToManyField while saving the model in one of my django-based projects. I did some googling to see how to go about doing that, and realized that the ManyToMany data is saved after the save method is called. So, I thought I would outline what I did to work around that. I’m sure the code could be cleaned up a bit. So, suggestions are welcome.

read more / 0 comments

Tweet

Fri, Aug 27, 2010
at 1:22 p.m.
6 days, 6 hours ago

Tweet

Fri, Aug 27, 2010
at 1:09 p.m.
6 days, 6 hours ago

Tweet

Fri, Aug 27, 2010
at 12:08 p.m.
6 days, 7 hours ago

Tweet

Fri, Aug 27, 2010
at 11:49 a.m.
6 days, 8 hours ago

Tweet

Tue, Aug 24, 2010
at 12:04 p.m.
1 week, 2 days ago

Tweet

Mon, Aug 23, 2010
at 6:04 p.m.
1 week, 3 days ago

Tweet

Sat, Aug 21, 2010
at 12:26 p.m.
1 week, 5 days ago

Tweet

Sat, Aug 21, 2010
at 11:19 a.m.
1 week, 5 days ago

 

« Older | Newer »
(Page 1 of 221)

LastFM - Recently Played

“The Suburbs (Continued)”
by Arcade Fire
5 hours, 49 minutes ago
“Sprawl II (Mountains Beyond Mo…”
by Arcade Fire
5 hours, 55 minutes ago
“Sprawl I (Flatland)”
by Arcade Fire
5 hours, 58 minutes ago
“We Used to Wait”
by Arcade Fire
6 hours, 3 minutes ago
“Deep Blue”
by Arcade Fire
6 hours, 7 minutes ago
“Wasted Hours”
by Arcade Fire
6 hours, 10 minutes ago
“Month of May”
by Arcade Fire
6 hours, 14 minutes ago
“Suburban War”
by Arcade Fire
6 hours, 19 minutes ago
“Half Light II (No Celebration)…”
by Arcade Fire
6 hours, 23 minutes ago
“Half Light I”
by Arcade Fire
6 hours, 28 minutes ago

See history »