djangosnippets.org: Latest snippets posted by nirvdrumhttps://djangosnippets.org/users/nirvdrum/2007-07-27T18:40:23.461597-05:00nirvdrumDefault Template Loading
2007-07-27T18:40:23.461597-05:00nirvdrumhttps://djangosnippets.org/snippets/346/<p>One of the things about Django that has always irked me is that there seems to be no standard facility for just loading a page and displaying it, simply. Yes, there is the flatpages module, but it is primarily designed for loading content from a DB. While you specify a …</p>
Freely redistributablePull ID from arbitrary sequence
2007-07-07T07:45:14.346416-05:00nirvdrumhttps://djangosnippets.org/snippets/304/<p>Django does not currently allow one to pull ID values from arbitrarily named sequences. For example, if you did not create your ID column using the serial data type in PostgreSQL, you likely will not be able to use your sequences. This is quite a problem for those integrating with …</p>
Freely redistributable