On 2/26/07, enquest <[EMAIL PROTECTED]> wrote:
>
> What should I do to add a model... So that you can type
>
> City = models.autoCompleet(City)
>
> If somebody would type "new" it should lookup all city's that start with
> "new" ... like "New York" and give also the country where this city is.
> N
Hi,
this ticket http://code.djangoproject.com/ticket/2400 covers this
issue and links to discussion about it.
On 3/6/07, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote:
>
>
> On 06-Mar-07, at 8:55 AM, Malcolm Tredinnick wrote:
>
> >>
> >> how do i get a list of all children who are not in Sponsorsh
Hi Mary,
Attached is a patch to get stuff.search and stuff testing framework
(not unlike the new django one) working. I've been using this in a
production django site for around a year.
On 3/20/07, Mary <[EMAIL PROTECTED]> wrote:
>
> I want anybody to help me and tell me where to find
> https://s
On 3/20/07, Mary <[EMAIL PROTECTED]> wrote:
>
> Hi Mathew
>
> I really appreciate this diff patch it solves all the problem and now
> i am just facing one error in the search.py
> xception Value: No module named helpers
> Exception Location: /var/www/test.net/test/search.py in ?, line
no attribute 'objects'
> Exception Location: /var/www/test/stuff/search/helpers.py in
> get_id_list, line 32
>
> Sorry for all my questions which may be stupid :(
> Thank you in advance for help
>
Which version of Django are you using? 0.95.x or trunk? there was a
de.djangoproject.com/changeset/3490
>
> On Mar 20, 10:21 pm, "Matthew Flanagan" <[EMAIL PROTECTED]>
> wrote:
> > On 3/20/07, Mary <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> >
> >
> > > here is my search.py
> >
> >
On 3/23/07, Scanner <[EMAIL PROTECTED]> wrote:
>
>
>
> On Jan 16, 12:32 pm, Jacob Kaplan-Moss <[EMAIL PROTECTED]> wrote:
> > On 1/16/07 4:05 AM, Russell Keith-Magee wrote:
> >
> > > Given the current push towards 1.0, it seems likely that this
> > > particular merge will not get the attention of t
On 3/23/07, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote:
>
>
> On 23-Mar-07, at 6:22 AM, Mike Stoddart wrote:
>
> > For example, I have a web app that defines a number of models. People
> > use the web interface but I also want to write some Python utils that
> > access the same database and data
On 3/23/07, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote:
>
> On Fri, 2007-03-23 at 14:14 +1100, Matthew Flanagan wrote:
> > On 3/23/07, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote:
> > >
> > >
> > > On 23-Mar-07, at 6:22 AM, Mike Stoddart wrot
On 20/09/06, James Bennett <[EMAIL PROTECTED]> wrote:
>
> On 9/19/06, Ramdas S <[EMAIL PROTECTED]> wrote:
> > Is anyone running Django dev version on Python 2.5? Will it work or are
> > there any issues?
>
> Python 2.5 doesn't break or remove anything, it just adds some new
> features. So it shoul
Hi Brad,
Have a look at http://code.djangoproject.com/wiki/AJAXWidgetComboBox
it seems to do most of what you are after.
On 02/10/06, brad <[EMAIL PROTECTED]> wrote:
>
> Hello. I am trying to build a view to lookup a model field and return
> an array based on the data sent to the view. The goal
Hi Will,
The patch I've submitted at
https://simon.bofh.ms/cgi-bin/trac-django-projects.cgi/ticket/226
makes it work with .95 and later.
regards
matthew
On 19/10/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> ok so im trying to update the code to work with .95 but admittedly i
> dont rea
Hi Will,
Are you using the 0.95 release or the latest development version? If
you are using 0.95 then it has a bug that was fixed in the development
version only a few hours after the 0.95 release was made (0.95 was
branched from changeset 3489 and the bug was fixed it changeset 3490).
Using the
Will,
Can you post your model and SearchDefinition for it?
On 20/10/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> I am using the django trunk (updated roughly twice a week). When I do a
> test server run(i usually use apache) it says pre-.96 so I think its
> the dev version. In case this
On 21/10/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> sure here is is:
> -
> conception.concept.models:
> -
> from django.db import models
>
> LEVEL_CHOICES = (
> ('A', 'Level A'),
> ('B', 'Level B'),
> ('C', 'Level C'),
> )
>
> class Con
On 15/11/06, James Bennett <[EMAIL PROTECTED]> wrote:
>
> On 11/14/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> > 2 date fields ("last_login","date_joined") are supposed to be added
> > automatically. But on
> > add such SQL error is being generated:
>
> The fields aren't "added automaticall
On 16/11/06, James Bennett <[EMAIL PROTECTED]> wrote:
>
> On 11/14/06, Matthew Flanagan <[EMAIL PROTECTED]> wrote:
> > scroll down a little further on that page and you'll see that the User
> > model has:
> >
> > last_login = mo
On 15/11/06, Todd O'Bryan <[EMAIL PROTECTED]> wrote:
>
> I've been running PyLint on my code and it has major trouble figuring
> out what's legal and what isn't. Specifically, MyModelClass.objects is
> always an error, even though the objects attribute exists, and similar
> things happen with othe
On 16/11/06, James Bennett <[EMAIL PROTECTED]> wrote:
>
> On 11/15/06, Matthew Flanagan <[EMAIL PROTECTED]> wrote:
> > You must be missing something:
> >
> > >>> from django.contrib.auth.models import User
> > >>> u = User(username=&
On 18/12/06, Don Arbow <[EMAIL PROTECTED]> wrote:
>
> On Dec 17, 2006, at 9:16 AM, Jamie wrote:
> >
> > Hello,
> >
> > I'm just wondering if there's a specific reason why IPAddressField is
> > defined as a 15-character string instead of a 32-bit integer? Using an
> > integer would reduce the stora
On 20/12/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Denis,
Thank you for your response some of the things that I have tried in
this area are listed below, yet still I cannot seem to get this to
work.
1) moved the django directory into the appropriate site-packages
directory
2) symlinked
On 28/12/06, Steve Hutton <[EMAIL PROTECTED]> wrote:
On 2006-12-22, Victor Ng <[EMAIL PROTECTED]> wrote:
>
> Hi, sorry for the long delay in replying. Holiday season and work
> craziness is getting in the way of writing free software - which is
> really the fun part isn't it? ;)
:-)
> It's
On 31/12/06, Adrian Holovaty <[EMAIL PROTECTED]> wrote:
On 12/30/06, Alex Koval <[EMAIL PROTECTED]> wrote:
> I found that pretty often I need a "description" being passed to field to
> display. I already subclassed
> a few widgets to get 'description' argument, and display it where needed.
> Fo
Hi
I've been porting a large application to MR since monday and have it
99% done except for a few issues. One of them is the
_manipulator_validate_FIELD(self, field_data, all_data) methods not
being call for my models. Is this intended behaviour?
I was able to turn some of the methods into regul
On 5/4/06, Matthew Flanagan <[EMAIL PROTECTED]> wrote:
> Hi
>
> I've been porting a large application to MR since monday and have it
> 99% done except for a few issues. One of them is the
> _manipulator_validate_FIELD(self, field_data, all_data) methods not
> bein
On 5/6/06, Ivan Sagalaev <[EMAIL PROTECTED]> wrote:
>
> Matthew Flanagan wrote:
>
> >Since MR merged the _manipulator_validate_FIELD() methods stopped
> >working. The solution I came up with was to write custom manipulators
> >(which was what I was trying to avoid
On 5/10/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> it is very difficult to select a record for a 1:n relation from a drop
> down listbox if the related table contains many (in my case 3000 today)
> records. is it possible to tell the admin fe to give a nice selection
> window with the us
On 6/7/06, Todd O'Bryan <[EMAIL PROTECTED]> wrote:
>
>
> On Jun 7, 2006, at 3:54 AM, Simon Willison wrote:
>
> >
> >
> > On 7 Jun 2006, at 05:33, Joseph Kocherhans wrote:
> >
> >> I think you want tocreate something like testsettings.py, and in that
> >> file do something like:
> >>
> >> from
On 6/10/06, Ned Batchelder <[EMAIL PROTECTED]> wrote:
>
> I am still using 0.91, and have a question about this Model Inheritance
> issue in the current trunk. We use model inheritance in our code, but in a
> specialized way: only the derived classes are used concretely. The base
> classes are
On 6/20/06, Joseph Kocherhans <[EMAIL PROTECTED]> wrote:
>
> 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.
On 6/20/06, Matthew Flanagan <[EMAIL PROTECTED]> wrote:
> On 6/20/06, Joseph Kocherhans <[EMAIL PROTECTED]> wrote:
> >
> > On 6/16/06, Tyson Tate <[EMAIL PROTECTED]> wrote:
> > >
> > > On Jun 16, 2006, at 3:02 PM, Joseph Kocherhans wrote:
> &g
On 6/22/06, Jeremy Dunck <[EMAIL PROTECTED]> wrote:
>
> On 6/21/06, Adrian Holovaty <[EMAIL PROTECTED]> wrote:
> > For that, you could use either the "limit_choices_to" or
> > "raw_id_admin" field options.
>
> I've seen the Ellington admin and the fact that it uses raw_id_admin a
> good bit. I wa
On 7/20/06, Neilen Marais <[EMAIL PROTECTED]> wrote:
>
> Hi
>
> A photo-app I'm working on has tags on an image defined as a many to many
> relationship:
>
> class Image(models.Model):
> filename = models.CharField(maxlength=255)
> description = models.TextField()
> tags = models.ManyT
Hi,
I have the following simplified models. Then I create a number of IP
addresses and interfaces, with not all IP addresses being related to
an interface.
class IPAddress(models.Model):
address = models.CharField(maxlength=15)
class Admin: pass
class Interface(models.Model):
name
Thanks Malcolm. I couldn't find a ticket for this particular
enhancement so I created http://code.djangoproject.com/ticket/2400.
On 7/22/06, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote:
>
> On Sat, 2006-07-22 at 19:43 +1000, Matthew Flanagan wrote:
> > Hi,
>
while you're at it
:)
On 29/07/06, Jay Parlar <[EMAIL PROTECTED]> wrote:
>
> On 7/28/06, Jacob Kaplan-Moss <[EMAIL PROTECTED]> wrote:
> >
> > On Jul 28, 2006, at 11:54 AM, Jay Parlar wrote:
> > > Not that I mind :)
> >
> > http://code.djangoproject.com/changeset/3477
> >
> >
> >
>
> Ha, vic
This looks like the same bug I filed in
http://code.djangoproject.com/ticket/2389.
On 12/08/06, Jeremy Dunck <[EMAIL PROTECTED]> wrote:
>
> On 8/11/06, Corey Oordt <[EMAIL PROTECTED]> wrote:
> >
> > I'll be happy to. I did put in a track item for this (although I can't
> > remember what the numbe
I saw this a while back:
"""
Python Web Developer Appliance
includes a complete set of tools for developing and deploying web
applications using Python
"""
http://www.vmware.com/vmtn/appliances/directory/289
It is 448MB but includes quite a lot more than just python, django and sqlite.
On 15/
On 18/08/06, Adrian Holovaty <[EMAIL PROTECTED]> wrote:
>
> On 8/17/06, Andy Dustman <[EMAIL PROTECTED]> wrote:
> > http://code.djangoproject.com/ticket/2559
> >
> > Implements ^ (istartswith), = (iexact), and @ (search). No prefix is
> > icontains (current behavior).
>
> I've checked in this patc
Hi,
I have a large revamp of this code that i've been meaning to upload to
the wiki for a while. I'll try to do it today or tomorrow. The new
code uses the newer dojo Select widget (which I wrote incidentally :).
I've also written a templatetag to make it easier to use the widget in
your template
Hi,
I've updated the tutorial and code for the AJAX Select widget [1] .
This code is extracted from a larger project so hopefully I've got
everything there. Let me know if you are missing anything.
regards
matthew
[1] http://code.djangoproject.com/wiki/AJAXWidgetComboBox
On 30/08/06, zenx <[E
Hi Richard,
Check out http://code.djangoproject.com/wiki/CookBookScriptsNoSuperUserSyncdb
On 14/09/06, Henhiskan <[EMAIL PROTECTED]> wrote:
>
> Hi fellows,
>
> How can I run manage.py syncdb without ask me for a user admin.
> I try with manage.py syncdb --noinput but didn't work.
>
> regards.-
>
Hi,
In one of my apps management.py files I'm trying to create a group and
assign permissions to it via a method connected to the post_syncdb
signal but it seems that all of the other models permissions haven't
finished being set up before my method gets triggered. Do these signal
triggered metho
(I accidentally sent this to the developers list before)
Hi,
In my model I have the field:
created_by = meta.ForeignKey(
User,
verbose_name='created by',
editable=False,
blank=True,
null=True
)
and the module method below to create a "validated" objec
On 1/16/06, Eric Walstad <[EMAIL PROTECTED]> wrote:
>
> Hey Zeb,
>
> On Sunday 15 January 2006 13:54, ZebZiggle wrote:
> > Hi again,
> >
> > I'm messing around with my Model and my views and putting a 'unittest'
> > jig around what I'm building. Certainly, I don't want to test at the
> > view laye
On 1/16/06, ZebZiggle <[EMAIL PROTECTED]> wrote:
>
> Matthew,
>
> Do you feel you can effectively test a web interface without dealing
> with Javascript in the client? I may be missing something, but I don't
> think twill supports javascript interpretation?
>
> -Zeb
>
>
Zeb,
At this stage my pub
On 1/18/06, David S. <[EMAIL PROTECTED]> wrote:
>
> I have some custom validation I want only on adding a record, not changing it.
> Is there a way to qualify my _manipulator_validate_FOO() method or to find out
> from within it if it is an add or change? I know I can create a custom
> manipulato
how do I get a a fields help_text in a template when i'm accessing it
via {{ form.myfield }}?
thanks
matthew
On 3/10/06, Matt <[EMAIL PROTECTED]> wrote:
>
> OK, I was confused about why Django still needs usernames in its
> database even though LDAP is the new authentication method. I thought
> it would require authenticating via LDAP, then checking for the user
> _and_ pass in Django's database. I did
On 3/29/06, Rudolph <[EMAIL PROTECTED]> wrote:
>
> I'm writing a _manipulator_validate_.() method. These methods
> become methods for the manipulator of a model and will be validated
> before save() is called. Any exception of validators.ValidationError
> will very nicely be displayed in the
I can confirm that i'm seeing this padding issue in safari and the
webkit inspector shows:
padding-top:10px;
padding-right:20px;
padding-bottom:10px;
padding-left:20px;
I've been seeing it since wilson did the split of all the css files a
while back but I thought it was something i had done. I ju
51 matches
Mail list logo