On Tue, Jul 22, 2008 at 5:12 PM, Huuuze <[EMAIL PROTECTED]> wrote:
>
> I'd appreciate it if someone else chimed in, but it appears as though
> the HOWTO contains a typo. I've looked at the older versions of
> Django and the NFA branch and none of them include the "model"
> parameter in the "save_
On Wed, Sep 10, 2008 at 6:59 AM, Michel Thadeu Sabchuk
<[EMAIL PROTECTED]> wrote:
>
> Hi guys,
>
> What is the best way to work with 2 models on the same forms? Suppose
> I have the following case:
>
> class Profile(models.Models):
>user = models.ForeignKey(User)
>some_data = models.CharFi
On Mon, Sep 22, 2008 at 8:57 AM, diN0bot <[EMAIL PROTECTED]> wrote:
>
> Seems like Joseph's problem is typical for User/Profile work.
>
> Initially I used the same inheritance model as he does. Working with a
> single form in the view and template is a win for code re-use and
> simplicity.
>
> I l
On Feb 9, 2010, at 9:12 AM, Karen Tracey wrote:
> On Tue, Feb 9, 2010 at 2:11 AM, Kenneth Gonsalves wrote:
> On Tuesday 09 Feb 2010 12:29:48 pm Karen Tracey wrote:
> > > simplest validation possible is giving me an error - if the data is
> > > valid, no
> > > error, but on invalid data I get the
On Feb 9, 2010, at 12:47 AM, Kenneth Gonsalves wrote:
> hi,
>
> I am using the latest revision 12398. I am trying model validation - but the
> simplest validation possible is giving me an error - if the data is valid, no
> error, but on invalid data I get the traceback appended below. Am I doi
On 8/9/07, eXt <[EMAIL PROTECTED]> wrote:
>
> Sorry that I'm not exacly on the topic but I'd like to know what is
> current state of newforms-admin. Is it safe to use it in application
> or is it still too early?
I would say it's too early unless you are comfortable fixing bugs and
maintaining pa
On 2/1/07, Jakub Labath <[EMAIL PROTECTED]> wrote:
>
> Is there a way to detect in my code if I'm running in prefork or threaded
> mode?
Your best bet is probably through mod_python. I'd probably start by
looking here first:
http://www.modpython.org/live/current/doc-html/module-apache.html
Jos
On 2/27/07, va:patrick.kranzlmueller <[EMAIL PROTECTED]> wrote:
>
> why doesn´t this work?
> (r'^stars/', 'django.views.generic.simple.direct_to_template',
> {'template': 'site/stars/stars_overview.html'}, extra_context=
> {'category': 'stars', 'subcategory': 'none'}),
>
> the error is "invalid
On 2/27/07, va:patrick.kranzlmueller <[EMAIL PROTECTED]> wrote:
>
> from django.conf.urls.defaults import *
>
> urlpatterns = patterns('',
> (r'^stars/', 'django.views.generic.simple.direct_to_template',
> {'template': 'site/stars/stars_overview.html'}, extra_context=
> {'category': 'stars',
On 2/28/07, MattW <[EMAIL PROTECTED]> wrote:
>
> Dear All,
>
> I am trying to use the users/ authentication framework supplied with
> Django. I wrote something very simple myself, but would arther use the
> bundled system.
>
> I have a urls.py file with:
>
> (r'^login/$', login),
> (r'^logout/$',
On 2/28/07, akaihola <[EMAIL PROTECTED]> wrote:
>
> It must be a common need to allow the user to change only some fields
> of an object and keep old values for the rest.
>
> So far with newforms this has involved copying values explicitly from
> the database object to the form object. Looking at
On 3/6/07, Austin Govella <[EMAIL PROTECTED]> wrote:
>
> What does this mean?
>
> "unbound method contribute_to_class() must be called with TextField
> instance as first argument (got ModelBase instance instead)"
>
>
>
> And how do I know where to look to find the problem?
It looks like an error
On 3/14/07, Grupo Django <[EMAIL PROTECTED]> wrote:
>
> Hello, I have noticed that the field DateField in the newforms library
> doesn't validate all right when introducing data.
> I have this code:
>
> FormClass = forms.models.form_for_model(Model)
> form = FormClass(data)
> data = request.POST.c
On 3/16/07, Todd O'Bryan <[EMAIL PROTECTED]> wrote:
>
> On Fri, 2007-03-16 at 17:41 +, Rubic wrote:
> > Just use a ChoiceField with a radio or checkbox widget.
> >
> > http://www.djangosnippets.org/snippets/26/
> >
> > --
> > Jeff Bauer
> > Rubicon, Inc.
>
> Sorry, wasn't clear. I know how t
On 5/15/07, canen <[EMAIL PROTECTED]> wrote:
>
> This changed was committed yesterday. See here
> http://groups.google.com/group/django-developers/browse_thread/thread/c87a893a4d7c50a0/32f777bafd3cdb35#32f777bafd3cdb35
> for the discussion that lead to the change.
>
> On May 15, 10:43 pm, corneli
On 5/31/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> I have the common scenario where if the user selects "other", then I
> need an "explain" box to become required. How can I do this?
> Additional validator on the field or something?
You probably want django.core.validators.RequiredIfOt
On 6/1/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Thanks... that does look like what I'm looking for. I don't really
> understand how I'd put it in a model, though... I've got a situation
> where if the choose a, they need to choose from one list, if they
> choose b, they need to choose
reviously; I believe
> > the sticking point has been finding a syntax that is backwards
> > compatible, but also elegant and intuitive.
>
> This is closed to sovle, form memory .There is a ticket somewhere, but I
> can't find it at the moment. Joseph Kocherhans
On 9/21/07, A. Reppel <[EMAIL PROTECTED]> wrote:
>
> I'm using newforms-admin, and i've put into the model option class a function:
>
> def has_add_permission(self,req): return False
>
> but I still see the "add' button in the admin index page and in other places.
>
> Are these options actually wo
On 9/26/07, Przemek Gawronski <[EMAIL PROTECTED]> wrote:
>
> I'm using several forms (newforms) to build one html form. One thing to
> watch out for is common field names in your django form classes. So if
> you have two django forms and they both have a field 'date' for example,
> then handling i
On 9/26/07, Mark Green <[EMAIL PROTECTED]> wrote:
>
> I say thanks for the pointer, too.
> A quick question (since you seem to be involved with this), is there any
> reason to have django not prefix the form fields by default with, say,
> the model-name (so prefix='' or prefix='somethingelse' can
On 10/9/07, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote:
>
> This raises some alarm bells. Why on earth are we futzing around in
> ChangeManipulators here? They are entirely oldforms-related and the
> whole point is to remove any reliance on them.
>
> This might well be a bug and in an area that
On 10/9/07, Brian Rosner <[EMAIL PROTECTED]> wrote:
>
> On 2007-10-09 14:39:57 -0600, "Joseph Kocherhans" <[EMAIL PROTECTED]> said:
>
> >
> > On 10/9/07, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote:
> >>
> >>
On 10/10/07, machineghost <[EMAIL PROTECTED]> wrote:
>
> I recently attempted to implement a very large form using the newforms
> library, and I discovered that if a form contains more than 45 fields
> it generates a "too many values to unpack" error when you try to
> render it in a template. Doe
On 10/11/07, arv43 <[EMAIL PROTECTED]> wrote:
>
> Does anyone know how and if Generic Authorization and RLP are going to
> fit together? It says on the RLP page to look at Generic Authorization
> to know how they do, but I am not sure how they do. Maybe am missing
> something.
> Are they both goin
On 11/10/07, Karen Tracey <[EMAIL PROTECTED]> wrote:
> Was it intended to change the type of the 'classes' value in an Admin field
> (now fieldset in newforms-admin) specification from string to tuple? The
> old doc here:
>
> http://www.djangoproject.com/documentation/model-api/#classes
>
> state
On 11/13/07, Ken <[EMAIL PROTECTED]> wrote:
>
> I'm using 0.96. I define the following form
>
> class TForm(forms.Form):
> admin = forms.ChoiceField()
> x = forms.IntegerField()
>
> def __init__(self, data=None, **kwargs):
> super(TForm, self).__init__(data, kwargs)
>
On 11/20/07, michel bruavics <[EMAIL PROTECTED]> wrote:
>
> Hi djangos,
>
> I check out the django.test.client and want to load a fixture file
> called "myfixture.xml".
>
> I added in my project setting a folder (called fixtures):
> FIXTURE_DIRS = ('/workspace/project/fixtures/')
>
> myfixture.xml
On 12/11/07, John M <[EMAIL PROTECTED]> wrote:
>
> I love newforms, and as soon as I 'master' form_for_instance/model,
> you guys come out with something totally awesome, sub-classing
> something called ModelForm, wow.
>
> now, where do i get 'docs' for this? Would the developer group be
> best,I
On 12/12/07, l5x <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> I have a model with two ForeignKeys (User and another model). I cannot
> set them to editable=False, because Admin needs to see them and
> modify.
>
> So I've created ModelForm and excluded those two fields. And now:
>
> 1) when I'm tryin
On 12/12/07, l5x <[EMAIL PROTECTED]> wrote:
>
> Unfortunately, it creates second record, when using your solution,
> instead of updating.
Well then instead of instantiating a new object will 'Full()', why
aren't you getting an existing object and passing it into the form
instead of a new object?
On 12/22/07, Yatla <[EMAIL PROTECTED]> wrote:
>
> I need to initialize a selection in a M2M field of the Document
> ModelForm during the first GET of a form that creates a new Document -
> classes and view as follows:
>
> class DocumentForm(forms.ModelForm):
> class Meta:
> model = Doc
On 12/23/07, Julien <[EMAIL PROTECTED]> wrote:
>
> Hi there,
>
> I don't understand why the form doesn't validate when I don't fill out
> a ManyToManyField.
>
> Here's the code:
>
> class Participant(models.Model):
> project = models.ForeignKey(Project, related_name='participants')
> roles
On 12/25/07, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote:
>
> hi,
>
> using ModelForm for an ImageField, and following the documentation, I
> find that all the other data gets transferred to the form except the
> filename. The form loads with an error on the file input: 'this field
> is required'.
On 10/9/06, SanPy <[EMAIL PROTECTED]> wrote:
>
> Chris Moffitt wrote:
> > >
> > I've was tripped up by this too. Can you try something like this:
> >
> > user = authenticate(username=data[*'user_name'*],
> > password=data[*'password'*])
> > login(request, user)
> >
> > This seems to
On 10/11/06, patrickk <[EMAIL PROTECTED]> wrote:
>
> when assigning permissions, there´s a list of installed apps/models,
> like:
> posting | can add posting
> posting | can change posting
> ...
>
> the problem is, if I have several models with the same name (e.g.
> category) within different apps
On 10/11/06, AlexK <[EMAIL PROTECTED]> wrote:
>
> I have multi user access issue in my app.Logs show, that 1 request
> closes DB connection, which can be used by other request. May be reason
> of apache Win version is not thread-safe..has anybody idea, how to
> workaround it?
> I consider moving t
On 10/23/06, Florian Heinle <[EMAIL PROTECTED]> wrote:
>
> I created my own authentication backend which gets users from another
> table (webforum). I used
> http://www.djangoproject.com/documentation/authentication/#writing-an-authentication-backend
> as a starting point and the final backend loo
On 12/1/06, dchandek <[EMAIL PROTECTED]> wrote:
>
> I've spent a few hours digging around, but can't seem to find a
> straightforward answer ...
>
> I have an Apache module that does user authentication and sets the
> REMOTE_USER variable with the user name. This is completely independent
> of Dja
On 5/4/06, Kumar McMillan <[EMAIL PROTECTED]> wrote:
>
> Hi, I'm still new to django and have googled high and low for a way to
> use a single dsn in the settings file instead of DATABASE_HOST,
> DATABASE_USER, DATABASE_NAME, etc. No metion of it. Is there built
> in support for this that I'm mi
On 5/4/06, jbrewer <[EMAIL PROTECTED]> wrote:
>
> raise ImproperlyConfigured, "Could not load database backend: %s.
> Is your DATABASE_ENGINE setting (currently, %r) spelled correctly?
> Available options are: %s" % \
> django.core.exceptions.ImproperlyConfigured: Could not load database
> bac
On 5/4/06, jbrewer <[EMAIL PROTECTED]> wrote:
>
> I have tried to install the MySQLdb and keep getting this error:
>
> error: command 'gcc' failed with exit status 1
>
> at the end of a bunch of stuff.
>
> When I do a "locate MySQLdb" command nothing comes back, so I am
> assuming it isn't install
On 5/4/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> I want to use Model Inheritance, so I read this article
> http://code.djangoproject.com/wiki/ModelInheritance
> but it seems that it's only a proposal and has not been implemented,
> right?
> Does it mean that I can't use it at this time?
On 5/5/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> I'm new so bear with me :) What should I be using instead of
> "manage.py syncdb" for the DB stuff? I am attempting to do the
> Tutorial on the site but i have noticed there have been changes to the
> Framework since the tutorial was ma
On 5/5/06, Davide Bertola <[EMAIL PROTECTED]> wrote:
>
> Victor : in that post it says that _post_save() is called twice, I
> tryed to create that _post_save() but I see nobody calls it.
_post_save is a hook method that was used before the magic-removal
branch was merged. Now you just override sa
On 5/5/06, Glenn Tenney <[EMAIL PROTECTED]> wrote:
>
> On Fri, May 05, 2006 at 06:23:48PM -, jbrewer wrote:
> > But when I used DarwinPorts of SQLite it installed Python 2.4 here:
> >
> > /opt/local/bin - and located here also is sqlite3
>
> Remember, I said to look at ALL of the comments from
On 5/5/06, jbrewer <[EMAIL PROTECTED]> wrote:
>
> If I just run "port install py-sqlite" I get a -bash: port - command
> not found. But if I use PortAuthority (GUI) then it does it.
>
> I am wondering if the darwin port folder is located in /opt/local/bin
> and the other stuff (svn, fcgi) is in /u
On 5/5/06, Jason F. McBrayer <[EMAIL PROTECTED]> wrote:
>
> "Joseph Kocherhans" <[EMAIL PROTECTED]> writes:
>
> > Yeah, it hasn't been implemented yet. I'd be (pleasantly) surprised to
> > see it finished before the end of the summer. Your b
On 5/5/06, jbrewer <[EMAIL PROTECTED]> wrote:
>
> How do I get things "on my path"? Where is the file that points all
> this stuff together?
This is drifting waaay off topic but here's the short answer :)
http://wiki.opendarwin.org/index.php/DarwinPorts:Getting_Started#Adding_DarwinPorts_to_your
On 5/7/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> I've created the following model:
>
> class Place(models.Model):
> name = models.CharField(maxlength=100)
>
> class Continent(Place):
> pass
>
> class Country(Place):
> superLocal = models.ForeignKey(Continent)
>
> In the inte
On 5/9/06, tomass <[EMAIL PROTECTED]> wrote:
>
> The subject says it, really. Is there any way to access the
> request.user in the urls.py.
Nope, and there won't be due to decoupling and all. I'd recommend
creating your own view that just wraps the generic view. Something
like this:
from django.
On 5/11/06, Alan Trick <[EMAIL PROTECTED]> wrote:
>
> I was wondering if anyone has thought about providing OpenID support in
> django. I'm writting an app and I really want to use django, but OpenID
> is somewhat important for technical reasons.
There is a new branch that provides the infrastruc
On 5/6/06, Jason F. McBrayer <[EMAIL PROTECTED]> wrote:
>
> Let me know when and how I can help on the new-auth branch.
I've commited the code at this point, but I still need to revise the
docs I've written. I hope to commit those tonight. For an example of
how to write a backend you can check ou
On 5/11/06, Ned Batchelder <[EMAIL PROTECTED]> wrote:
>
> Is there some way to put the model and the logic in two separate places
> but somehow end up with an object class with real methods? Am I making
> any sense?
I think what you may want to do there (and this may be a shot in the
dark) is to
On 5/12/06, hernan43 <[EMAIL PROTECTED]> wrote:
>
> Some time ago there was a
> thread(http://groups.google.com/group/django-users/browse_thread/thread/d08f4975da831bb/42a458eba506cda9?q=database+replication&rnum=1#42a458eba506cda9)
> on the Django list that alluded to adding this type of capabili
On 5/12/06, tomass <[EMAIL PROTECTED]> wrote:
>
> Installed from subversion. Ran "django-admin.py startproject
> greenleaftech; cd greenleaftech; python manage.py runserver" and I get
> the following. Can anyone help out?
>
> Thanks, Tom
>
>
> python manage.py runserver
> Validating models...
> ad
On 5/16/06, Douglas Campos <[EMAIL PROTECTED]> wrote:
> Does anyone have news about it? progress, etc
The implementation is pretty much finished and committed. I have most
of the docs written, but I still need to review and commit them.
Someone has already written an LDAP backend and posted it
On 5/16/06, Filipe <[EMAIL PROTECTED]> wrote:
> Do you think I'll find difficulties in using model classes with my own
> data persistency logic? In such case, will I loose other features
> besides the ORMapping itself? (I've read something about loosing
> autogenerated admin pages, form validation
On 5/16/06, Douglas Campos <[EMAIL PROTECTED]> wrote:
> the multi-auth branch targets some kind of 100% external auth? because
> i've seen some approach using ldap+django users
I'm not sure what you mean by "100% external" but the backends that
get used are controlled by the AUTHENTICATION_BACKEN
On 5/16/06, gabor <[EMAIL PROTECTED]> wrote:
>
> Joseph Kocherhans wrote:
> > On 5/16/06, Douglas Campos <[EMAIL PROTECTED]> wrote:
> >> the multi-auth branch targets some kind of 100% external auth? because
> >> i've seen some approach using ldap+
On 5/17/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> I am trying the lastest .95 django but it fails when calling the admin
> interface with the message:
>
>
> WSGIRequest' object has no attribute 'user'
>
>
> it has an attribute USER though
> looking at the code in core/handlers/wsgi.py a
On 5/18/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> errr, kind of confused:
>
> /Library/Python/2.3/site-packages/Django-0.91-py2.3.egg/django/
>
> The .egg is a directory with the django stuff in it? If I remove that
> directory and try to start a django project, I get:
I would have th
On 5/18/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Still the same error... maybe this is an indication that my svn install
> didn't work as I thought it did. If I do have teh dev build of django,
> where would I find it?
That error is definitely related to the egg though. The newest de
On 5/18/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Okay, my easy-install.pth only has one line now:
> /Library/Python/2.3/site-packages/setuptools-0.6a9-py2.3.egg
>
> I found my newer installation of django at:
> ~/Development/django_src
>
> and my PYTHONPATH variable in .bashrc:
> PYTHO
On 5/18/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> I think we're getting closer... fixed my .bashrc file, both the PATH
> and PYTHONPATH var's as follows:
>
> PATH=$PATH:$HOME/bin:/usr/local/bin:/usr/local/mysql/bin:$HOME/Development/django_src/django/bin
> PYTHONPATH=$HOME/Library/Frame
On 5/18/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> same thing:
>
> File
> "/Users/Stirman/Development/django_src/django/bin/django-admin.py",
> line 2, in ?
> from django.core import management
> ImportError: No module named django.core
>
> Man, didn't know we would be jumping down
On 5/19/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> >>> import sys
> >>> print sys.path
> ['',
> '/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python23.zip',
> '/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3',
> '/System/Library/Frameworks/Python.fr
On 5/19/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Stirman$ echo $PYTHONPATH
> /Users/Stirman/Library/Frameworks/Python.framework/Versions/2.4:/Users/Stirman/Development/django_src
>
> still same issue?!
>
> On #2, I assume you were referring to the PYTHONPATH, not the PATH,
> right?
Ye
On 5/22/06, Douglas Campos <[EMAIL PROTECTED]> wrote:
> i have a model formed by :
> vendor = foreign key
> name, ver, rev, etc
>
> how can i order by vendor first?
> ordering = [ 'vendor', 'name' ] fails
>
> any ideas?
Ordering by a foreign key isn't technically supported at this point,
but you
On 5/25/06, qhfgva <[EMAIL PROTECTED]> wrote:
>
> In order to fit more columns of data on the screen in the admin, I
> tried the following:
>
> # for use in list_display
> def combined_cols(self):
> return '%s%s%s' % (self.col1, self.col2,sel.col3)
>
> Which displayed the '' in the output.
>
>
On 5/25/06, Eric Walstad <[EMAIL PROTECTED]> wrote:
>
> My 'Projects' admin form has 'Notes'. Notes have a non-user-editable 'note
> date' DateTimeField. I haven't been able to figure out how to get the note
> date to get displayed in the admin interface in such a way that it's visible
> but not
On 5/25/06, Eric Walstad <[EMAIL PROTECTED]> wrote:
>
> Yes, I suspect this is more than a one-off issue. I'd also like to see the
> last modified timestamp on the Project's related ProjectFiles. Can you point
> me to documentation on how to whip up a new admin widget and direct the admin
> code
On 5/26/06, Rob Hudson <[EMAIL PROTECTED]> wrote:
>
> I've built a small website for a club with Django trunk so far and it's
> working very well. I'm ready to start thinking about member management
> -- user account creation, logins, member list and details pages, etc.
>
> IIRC, there was some m
On 6/6/06, Nagy Károly <[EMAIL PROTECTED]> wrote:
>
> 1. what are those areas of api or framework where we encounter major
> rewrites interfacing with it
> 2. arrival time of 1.0
This is the most up to date plan for 1.0
http://code.djangoproject.com/wiki/VersionOneFeatures
When will it be
On 6/6/06, Todd O'Bryan <[EMAIL PROTECTED]> wrote:
>
> Does anyone know of a way to get all attributes of a module into
> another module while overriding just a few?
I think you want tocreate something like testsettings.py, and in that
file do something like:
from myproject.settings import *
On 6/8/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> David Reynolds wrote:
> > I can't recreate the behaviour that
> > replaces_model='modelname' used to do. Is this going to be readded,
> > or a better way of doing it added and what sort of timescales are on
> > this?
>
> I was
On 6/16/06, Tyson Tate <[EMAIL PROTECTED]> wrote:
>
> How do I allow, in something like the following model, for "Tag" to
> be inline edited and only inline edited from Entry's edit page. I've
> tried many of the usual methods given in the Docs (core=True,
> edit_inline=models.STACKED, etc.), but
On 6/16/06, Tyson Tate <[EMAIL PROTECTED]> wrote:
>
> On Jun 16, 2006, at 3:02 PM, Joseph Kocherhans wrote:
>
> > Get rid of the inner Admin class on your tag object. That's what
> > causes it to show up on the main admin page.
> >
> > Joseph
>
>
On 6/27/06, Patrick J. Anderson <[EMAIL PROTECTED]> wrote:
>
> I've heard that the problem might be related to md5 hashing (someone
> just recently posted it here in the groups with the same error
> message).
I suspect that it is. I've run into the same problem when I
inadvertently changed the SE
On 7/10/06, mamcxyz <[EMAIL PROTECTED]> wrote:
>
> The login method in django\django\contrib\auth__init__.py
>
> say:
>
> def login(request, user):
> """
> Persist a user id and a backend in the request. This way a user
> doesn't
> have to reauthenticate on every request.
> """
>
On 7/28/06, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote:
>
> Once we take one thing, where does it stop? Ultimately, we are going to
> have to draw the line and it will seem arbitrary to people who aren't
> thinking of this as "every single presentation item in a model is there
> as a slight wart
On 8/8/06, Pawel J. Sawicki <[EMAIL PROTECTED]> wrote:
>
> So my question is the following :)
>
> Does the new "Multiple Auth Backend" model really make the "middleware
> approach" for the http authentication obsolete?
It doesn't make the middleware approach obsolete, though it should.
The login
On 8/15/06, Seth Buntin <[EMAIL PROTECTED]> wrote:
>
> When I restart my server, and go to /ncate/manager I get the right
> application. But if I log out of that application and go to
> /kate/tick/ I get the /ncate/manager application. This will happen
> visa-versa. I first go to /kate/tick, lo
On 8/17/06, halmcelroy <[EMAIL PROTECTED]> wrote:
>
> It seems the api for the login method has changed. When I try to use
> the login method like so:
> login(request,user), I get an error that login has just 1 argument, and
> 2 are provided. When I provide just the request object to the login
> m
On 8/18/06, Mike <[EMAIL PROTECTED]> wrote:
>
> We have been creating a content management system in Django which
> (despite a few learning bumps) has gone swimmingly. Now, we have
> reached an impasse. We have some applications running elsewhere on the
> site whose xml data we need to access and
On 9/8/06, Andy Robinson <[EMAIL PROTECTED]> wrote:
>
> I have just added an article to the Wiki on how to create charts using
> ReportLab's graphics library I hope this helps!
>
> http://code.djangoproject.com/wiki/Charts
Very cool. Thanks Andy! I didn't know ReportLab did anything but pdf befo
On 9/13/06, keukaman <[EMAIL PROTECTED]> wrote:
>
> I am in the market for a notebook computer that I will be doing my web
> design work on. Could I get some comments related to which is better
> for Django work - P.C. or Mac, as well as some pros & cons of each?
I use OS X as well for all my dev
On 9/15/06, Rob Hudson <[EMAIL PROTECTED]> wrote:
>
> Here's something I realized we're going to have to face one day as I
> read the post on the new Forms and Manipulators...
>
> We have an active project we're coding against 0.95. Fast forward to 6
> months or so after 1.0 is released and we ha
On 9/15/06, Jason Murray <[EMAIL PROTECTED]> wrote:
>
> I'm a django newbie (still working on the first app). I'm trying to figure
> out how to do something, only conceptually at this point. So I have no
> errors to send.
>
> I host a few apps on my home machine. They each use their own DB (on the
On 12/21/05, Michael Hipp <[EMAIL PROTECTED]> wrote:
The documentation says "Django comes with its own Web server for developmentpurposes." I'd like to use this for development and experimentation. But I canfind nothing about where it lives or how to configure and run it. Any pointers?
You're proba
On 12/27/05, Dody Suria Wijaya <[EMAIL PROTECTED]> wrote:
>
> 2. why create a "virtual" module at runtime for each model (the
> plural+lowercase of model class name)?
> I suppose binding the methods (get_XXX) to the model's class (class
> method) is more easily understood, and can be implemented i
On 1/6/06, Kevin <[EMAIL PROTECTED]> wrote:
>
> The main issue is, I'm trying to add a constraint that the user enter
> EITHER a phone number OR an email. So I thought I could write a custom
> validator that took the all_data param and did the check.
Have you looked at django.core.validators? Th
On 1/8/06, patrickk <[EMAIL PROTECTED]> wrote:
>
> > when using AddManipulator or ChangeManipulator, is there a convenient
> > way of logging actions in admin_log?
>
> hmm, something wrong with this question?
> i´d really appreciate some help.
Could you be a little more specific? Currently, admin
On 1/9/06, patrick kranzlmüller <[EMAIL PROTECTED]> wrote:
>
> we´re working on a basecamp-like project management system which we´ll
> include into the admin-interface.
> therefore, we´re having custom views (based on Add- and
> ChangeManipulator) and we´d like to log user-actions. maybe i should
On 1/11/06, Mike <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> With models, is it common practice to place all models in a single file
> or multiple files? (I have a huge model)
>
> With views, is it common practice to place all views in a single file?
> It seems like django encourages that by removing t
On 1/12/06, Jeremy Dunck <[EMAIL PROTECTED]> wrote:
>
> On 1/12/06, Rich Bakos <[EMAIL PROTECTED]> wrote:
> > The pymssql driver only supports DB-LIB, which is way outdated and you
> > wont have access to functionality added to MSSQL after version 6.5.
> > This is not the best option IMHO.
>
> Ada
On 1/14/06, The Boss <[EMAIL PROTECTED]> wrote:
>
> but when I try to put a check into add_related that says to create a
> new group if the person doesn't yet have one
> (by using
> g=group.Group(name='x')
> g.save()
>
> it tells me that global name groups is not defined, despite having
> defined
On 1/18/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Dear ALL
> I still have a problem with the picture feild here what i have done
> 1- I write this in my page.py: full_image = meta.ImageField(upload_to
> ="/media/images/", null = True, blank = True )
> 2-i opened the admin page and load
On 1/22/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Hi!
>
> I'm trying to use class 'collapse' in 'fields' option, like this:
> class META:
> ordering = ['title']
> admin = meta.Admin(
> list_display = ('title',),
> fields = (
> (Non
On 3/5/06, Jeremy Jones <[EMAIL PROTECTED]> wrote:
>
> Is it bad form to put a database object in a session variable? It
> really just feels wrong, but it works. Typically, I would just put the
> object's ID in a session variable and retrieve the object when I next
> needed it, but I accidentall
1 - 100 of 114 matches
Mail list logo