Forgive this question if the answer is overly obvious; but I have not yet
figured it out. I want to use the horizontal M2M widget from the admin
interface in my own template. The model looks like something this:
class Foo(models.Model):
bars = models.ManyToManyField(Bar, filter_interface=mod
addEvent(window, "load", function(e) {
SelectFilter.init("id_tags", "tags", 0, "/media/"); });
In the admin interface, inserting this code is handled by a template
tag called "filter_interface_script_maybe". That tag has admin-specifi
Django is a great framework for building custom web apps -- but I am not
sure it is the most sensible solution for your needs. If what you want is
standard ERP functionality, delivered over the web, there is no need for you
to reinvent the wheel. Quite a few existing open source projects may meet
I need to add real audit trail and change-notification support to an
existing Django app and to one that is under development. The best way to
do this, it seems to me, is to add audit support to the Django framework
itself. My requirements are similar to those named by Paul Childs in his
django-u
On 4/20/07, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote:
>
> In your descriptions below, you remove the ability for a developer to
> use manual primary keys, by the sound of it, since one of your special
> fields wants to be a single-column primary key. That's not invisible.
Does Django currentl
On 4/21/07, Ramashish Baranwal <[EMAIL PROTECTED]> wrote:
>
> TypeError: Cannot resolve keyword 'book' into field
This is a long-standing, well-known bug that apparently no one (including
me) knows how to fix.
Any time one defines a ManyToMany relationship, then calls all() on that
relationsh
On 4/21/07, Tim Chase <[EMAIL PROTECTED]> wrote:
>
> Todd Schraml authored a good article in Dr. Dobb's Journal
> (http://www.ddj.com/dept/database/184406340) titled _Table
> Patterns & Changing Data_ where he discusses five patterns for
> keeping historical data, and the requirements that would le
On 4/23/07, David Larlet <[EMAIL PROTECTED]> wrote:
>
> It's a bit ugly to declare instance hidden variables (pre) but we need to
> be
> sure that the save/delete is effective (post) before logging it.
>
It's not beautiful, perhaps, but I may end up doing something very similar.
However, one requi
On 4/24/07, robin_percy <[EMAIL PROTECTED]> wrote:
>
> What about doing both? Write a pre_save record indicating the
> operation about to be attempted. And a post_save indicating the
> success of the operation, using a unique identifier to identify the
> pair. Then if the post_save gets out of s
On 4/24/07, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote:
>
> I now have to sit down and work out a proper solution. That will take
> time and I don't have that at the moment because I have other
> priorities. Of course, anybody else should feel free to dive in and
> write a fix, too, but that hasn
On 4/24/07, Benjamin Slavin <[EMAIL PROTECTED]> wrote:
>
> I've posted a modified script of what I'm using internally for a
> script that had encountered this problem. [0] I'll be curious to hear
> if it this helps you out at all.
Ben, thank you very much for the script -- it fixed my problem!
On 4/25/07, Ramiro Morales <[EMAIL PROTECTED]> wrote:
>
> Try adding blank=False explicitely because it works
> at the admin UI level so it doesn't know about database
> primary keys and such.
I have experienced the same bug. I have a model that sets its primary key
like this:
CharField(blank=Fa
Here is my current thinking:
- No changes to main model tables
- Designate a model to be audited by including inner class "Audit"
- One shadow table per audited model
- Generate shadow tables for all audited models on post_syncdb
- Only write to one DB, until multi-db support is com
Another vote for Eclipse + PyDev + Subclipse. Not mentioned by the others:
it's easy to run the Django development server inside the PyDev debugger.
On 4/29/07, Sat <[EMAIL PROTECTED]> wrote:
>
>
> Hi,
>
> Is there a recommended editor or IDE for windows that is django savvy?
> Ideally, I am loo
On 5/1/07, MattW <[EMAIL PROTECTED]> wrote:
>
> I'm having problems with the Many-to-Many relations in my model.
You'll need to include the model.py code, so people can see what is going
on.
--~--~-~--~~~---~--~~
You received this message because you are subscribe
On 5/1/07, Michael K <[EMAIL PROTECTED]> wrote:
>
> Joe's post is on the money. You shouldn't need to use the shell at
> all, but can directly import django's pieces directly in another
> script (such as your streamer.py).
While it is entirely possible to use Django modules in scripts, you may
e
Check out Kettle (aka Pentaho Data Integration) from
http://kettle.pentaho.org. It's a heavy-weight tool, but it has a fairly
intuitive GUI and decent documentation. It's Open, of course, and very
multi-platform (I personally use it on Windoze, Solaris, and occasionally
Linux).
The function you
What is the right way to require a user be authenticated when using the
databrowse module? I tried adding @login_required decorators to both
functions in databrowse.views, but that did not work -- it appears
databrowse does not presently use its views.py. I also tried decorating
databrowse.Databr
On 5/29/07, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote:
>
> Or you could subclass DatabrowseSite -- in your own code somewhere; no
> need to even modify the source -- and override the root() method to do
> an auth-check first and then call DatabrowseSite.root(). Then you
> replace databrowse.site
On Nov 8, 2007 9:04 PM, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote:
> We're now at r6652 on trunk. So if that doesn't work for you, pick a
> revision halfway betewen 6300 and 6652, update to that and see if the
> problem appears. If so, go back halfway, otherwise go forwards halfway.
> Keep bise
My qualifications are a great match for this role. I'm available FT on-site
for $300/hr. Rate is negotiable for remote or less than full-time work.
-- sent from my robot
On Dec 4, 2014 3:55 PM, "Fred Stluka" wrote:
> Django programmers,
>
> Interested in a telecommute position for $80-100K/
21 matches
Mail list logo