/dev/howto/deployment/modpython/?from=olddocs
about configuring apache. My apache2.conf contains:
SetHandler python-program
PythonHandler django.core.handlers.modpython
SetEnv DJANGO_SETTINGS_MODULE WORD.settings
PythonDebug On
PythonPath "['/home/matthew/current/dj
ing to move it all across to my "production" server :\
That link does seem similar to trouble I'm having though, thanks for
that Karen.
On 22 Jul, 21:30, "Karen Tracey" <[EMAIL PROTECTED]> wrote:
> On Tue, Jul 22, 2008 at 2:17 PM, Matthew <[EMAIL PROTECTED
Hey all, I'm having a problem getting ifnotequal logic to work.
I have what is basically this layout:
{% ifnotequal activeusers|length 0 %}
{{ activeusers|length }} Friends Online
{% else %}
Friends
{% endifnotequal %}
in one of my templates. Its not quite as simple as that, theres some
Ah, d'oh - Very obvious, thanks very much!
On Jun 24, 1:28 pm, Marcin Mierzejewski
wrote:
> Hi Matthew,
>
> > I have what is basically this layout:
>
> > {% ifnotequal activeusers|length 0 %}
> > {{ activeusers|length }} Friends Online
> > {% else %
ore tables were created (like "auth") and the
directory's custom models (from the "cms" project). Nothing on the
PYTHONPATH was created.
The offending app, "coltrane" lives in /home/matthew/dev/source. An
third-party "tagging" app lives in /home/matt
['title']
verbose_name_plural = "Categories"
def __unicode__(self):
return self.title
def get_absolute_url(self):
return "/categories/%s" % self.slug
Thank you again for your help!
Matthew
--~--~-~--~~~---~--~
get
there :-)
Regards,
Matthew
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send em
Just did - I got the same message:
>>> c = coltrane.category()
Traceback (most recent call last):
File "", line 1, in
AttributeError: 'module' object has no attribute 'category'
Thanks,
Matthew
--~--~-~--~~~---~--~~
Yo
super(Entry, self).save(force_insert, force_update)
def get_absolute_url(self):
return "/weblog/%s/%s/" % (self.pub_date.strftime("%Y/%b/
%d").lower(),
self.slug)
==
Traceback:
I tried your suggestion and got this:
>>> from coltrane.models import Category
Traceback (most recent call last):
File "", line 1, in
File "/home/matthew/dev/source/coltrane/models.py", line 3, in
from django.db import models
File "/usr/local/lib
I tried your suggestion and got this:
>>> from coltrane.models import Category
Traceback (most recent call last):
File "", line 1, in
File "/home/matthew/dev/source/coltrane/models.py", line 3, in
from django.db import models
File "/usr/local/lib
It looks like the issue is resolved. Many thanks to Kenneth and
Daniel. Here's the summary to help others:
It looked at first like the PYTHONPATH was not picking any of my apps
or the third-party apps up when running syncdb. This was not the
case. Instead, coltrane's classes weren't loading b
full Entry
===
Output for http://localhost:8000/weblog/2009/ is a blank page (no
errors). There should be at least 3 entries, demonstrated by
August.
===
Thanks,
Matthew
--~--~-~--~~~---~--~~
You received this message because
bject_list'.
I know that 'archive' uses a 'latest' list instead of 'object_list',
but that's not the case with 'archive_year', correct?
Thanks,
Matthew
--~--~-~--~~~---~--~~
You received this message because you are su
Is it possible to do this?
I'm using a custom MultiQuerySet snippet to merge a bunch of querysets
from different models, and then I want to iterate over the resultant
list, but I want to be able to pull out from each object in the list
its own Model type so I can perform a few comparisons/functio
> > just wrong.
>
> > Brad
>
> > On Apr 16, 2:00 pm, Daniel Roseman
> > wrote:
>
> > > On Apr 16, 6:02 pm, Matthew wrote:
>
> > > > Is it possible to do this?
>
> > > > I'm using a custom MultiQuerySet snippet to merge a
ave objects
> available in the given year.
>
> To add object_list to the context, use the optional argument
> make_object_list=True when calling archive_year.
>
> For more info, look at the docs
> athttp://docs.djangoproject.com/en/dev/ref/generic-views/#django-views-...
>
> Al
See thread
http://groups.google.com/group/django-users/browse_thread/thread/f6f78545989cfbab
On Aug 9, 1:31 pm, Matthew wrote:
> I am using Django's generic views to create a blog site. The
> templates I created, entry_archive_day, entry_archive_month,
> entry_archive, and en
D'oh! Thanks. M
On Jun 8, 2:40 pm, Forest Bond <[EMAIL PROTECTED]> wrote:
> On Fri, Jun 08, 2007 at 06:35:33AM -0700, matthew wrote:
>
> > Hi,
>
> > This is my model:
>
> > class Fish(models.model):
> >species = models.ForeignKey('S
ies primary key. How can I get the value without an
unnecessary query?
Thanks in advance,
Matthew
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, s
Hi,
Looking at the documentation, I see that you can do "include
template_name" or "include 'template.html'". I'd like to combine these
- concatenating a couple of strings and a variable to make the template
name - but it's not working (no error, but no template included).
This template displays
Will do.
Thanks,
Matthew
On Dec 4, 9:57 pm, "James Bennett" <[EMAIL PROTECTED]> wrote:
> On 12/4/06, matthew <[EMAIL PROTECTED]> wrote:
>
> > This is the bit that's not working (viewsurvey.html):
> > {% for question in questions %}
> >
is invalid.”
“ERROR: WSGIPath refers to a file that does not exist.”
I’ve tried everything I can think of but nothing seems to work.
I look forward to hearing back from you and hope that you can help me with this.
Matthew Bates
VOG Calgary Developer Inc - We Are Mobile Development
is invalid.”
“ERROR: WSGIPath refers to a file that does not exist.”
I’ve tried everything I can think of but nothing seems to work.
I look forward to hearing back from you and hope that you can help me with this.
Matthew Bates
VOG Calgary Developer Inc - We Are Mobile Development
Hi all,
I'm working through the masteringdjango book, and am struggling in the
Templates area.
I created a base.html base template, and am attempting to include a child
template.
This is the child template:
{% extends “base.html” %}
{% block title %}The current time{% endblock %}
{% block c
Hi James,
I turned smart quotes off and am still having the error. I wasn't aware
that could cause future errors though, so thanks for the heads up!
On Saturday, January 2, 2016 at 12:44:22 AM UTC-5, James Schneider wrote:
>
>
> On Jan 1, 2016 8:08 PM, "Matthew"
Actually it turned out this works!! My TextEdit app was being finnicky and
made me re-write the entire code instead of just the quotation marks.
Thanks for the help!
On Saturday, January 2, 2016 at 10:52:22 AM UTC-5, Matthew wrote:
>
> Hi James,
>
> I turned smart quotes off and am
not
a lot else.
4. I welcome any other comments, thoughts, opinions, or references as to the
suitability of Django for this project.
I apologize if any/all of this is redundant. I am a big fan of Django, so
thanks to all the developers and comm
nd
> then only the sky is the limit.
> If there's a Python module for ODBC, Access, etc. then YES it can be
> used in Django.
>
I am already sold on Django/Python, but my question is are there good
descriptions of the benefits written for non-technical people?
Benefits
Thanks, Dj, that is helpful.
> A project I worked on over the summer used a Database that was 130
> tables, and getting 1gb updates every 2 minutes. I was witting a new
> web app to do calculations on the data and the company wanted to use
> Java since thats what they knew best and had spend huge
to know if there has been any progress with this, or
if the solution is still either run in separate processes, or patch
and compile my own version of psycopg2.
Thanks
Matthew
I might note that there is currently no bug tracker for psycopg, so
I'm unaware of any way to check on the pr
I am trying to figure out templatetags, and I keep getting the
following error:
'get_latest' is not a valid tag library: Could not load template
library from django.templatetags.get_latest, No module named
get_latest
I started with this guide:
http://www.b-list.org/weblog/2006/jun/07/django-tip
Here's my template:
{% load get_latest %}
My Site - {%block pagetitle %}{% endblock %}
My Site
home
Blog
e found.
>
> On Sep 25, 10:29 pm, Matthew Crist <[EMAIL PROTECTED]> wrote:
>
> > Here's my template:
>
> > {% load get_latest %}
> > > "http://www.w3.org/TR/html4/loose.dtd";>
> >
> >
> > M
It was the quotes.
Thanks for the tips!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send em
t.user.is_authenticated():
return HttpResponseRedirect()
return post_comment(request)
ATB,
Matthew
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this
27;t
printing out the error messages correctly. That's just a guess.
> Am I doing a good practice anyway for doing registration using this
> django.contrib.auth.models.User object?
I believe that's what it's for, yes :) The code you give looks fine in
its structure.
AT
s you want to use from User using the Meta class as
described at
http://docs.djangoproject.com/en/dev/topics/forms/modelforms/#using-a-subset-of-fields-on-the-form
Then you can just display the form with form.as_p and it will know it
only cares about those fiel
ad.
>
> That works, thank you.
>
> Why does it work?
http://docs.djangoproject.com/en/dev/ref/forms/validation/#form-subclasses-and-modifying-field-errors
explains the _errors variable, but I don't think you need it in this case.
ATB,
Matthew
--~--~-~--~~~---~--~--
Jack Orenstein wrote:
> On Mar 29, 2009, at 9:35 AM, Matthew Somerville wrote:
>> For more information, see
>> http://docs.djangoproject.com/en/dev/ref/forms/validation/
>
> Thanks, that's really useful to know about. This works for most of
> the additional
_values() in django/db/backends/__init__.py
(called from django/db/models/sql/query.py in resolve_aggregate()). This
function appears to only want numbers/datetimes to go in, and in this
case I'm obviously returning text. Not sure what to suggest as a
solution, as there are presumably other things g
s'
cursor = connection.cursor()
cursor.execute(sql, ['%'+forge+'%'])
which then means forge will be quoted/escaped for you as necessary
automatically.
ATB,
Matthew
> not enough arguments for format string
--~--~-~--~~~---~--~~
onse expects a
string, as explained at
http://docs.djangoproject.com/en/dev/ref/request-response/#django.http.HttpResponse.__init__
> 3.How to solve the problem
Pass in the first element of the tuple, not the tuple. Though you should
probably check that guess_type() is actually returning
password'] - see the UserCreationForm in
django/contrib/auth/forms.py).
ATB,
Matthew
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users
I got hit by this same bug and here's the workaround I used, for
future reference. Basically you need to specify a formfield_callback
kwarg to modelformset_factory that just passes along any kwargs it
receives (namely, in this case, the 'widget' argument) to
Field.formfield():
def create_formfield
I have found the issue, it appears that I didn't have the compression
development libraries installed while compiling mod_wsgi. After installing
those and recompiling, the issue has gone away.
Thanks for the help.
On Oct 28, 2010, at 3:07 PM, kicker wrote:
> I'm having an odd issue when I star
Sounds like AJAX is your answer, there are lots of AJAX libraries out
there that have examples on this.
J
On Nov 2, 10:31 am, d wrote:
> URGENT!
> The following is my django code. I would like to have 3 column drop-
> down list.
>
> a member can select his location.
> when a country is selected,
I am new to Django and loving it. I am using v1.2 locally and have an issue
with my first project from scratch: The CSRF token is not being sent with
my form post. I have {% csrf_token %} inside the tag and have
verified that a csrf cookie does exist for the browser. However, I get the
error m
I guess the aim of documaentation is to be helpful and assist the end user.
While it makes no sense to document mysql within Django, wouldn't it make
sense to document specific interactions between Django and it's supported
back-end DB's that are likely to catch people out? - maybe just as
annotat
Hi,
I have a model like the following;
class elements(models.Model):
name=models.CharField(max_length=21)
class grouping(models.Model):
name=models.CharField(max_length=48)
elementgroup=models.ForeignKey(elements)
I'm assuming this means that a grouping may relate to multiple ele
>From what you've written, my best guess would be something like,
select car.id where car.id in (Select CarOperation.id_car where
CarOperation.status='exact') and car.id not in (select CarReservation.id_car
where GIVEN_DATE > CarReservation.ariv_date and GIVEN_DATE <
CarReservation.dep_date)
That
to look at writing a new view say, 'manage groupings' , or
would it be better to find similar functionality in a relevant class and
extend it?
thanks,
Matt.
On 6 March 2010 19:44, Christophe Pettus wrote:
>
> On Mar 6, 2010, at 10:37 AM, Matthew Warren wrote:
>
&g
On 6/21/07, Matthew Nuzum <[EMAIL PROTECTED]> wrote:
> My goal is to get a list of unique countries referenced through a
> table. My model has:
>
Nice typo there... the subject should be:
using .values when spanning relationships
:-(
--
Matthew Nuzum
newz2
My goal is to get a list of unique countries referenced through a
table. My model has:
class Country(models.Model):
Abbreviation = models.CharField(maxlength = 2, primary_key=True)
Country = models.CharField(maxlength = 50)
class TrainingEvent(models.Model):
Country = models.Foreign
I've recently deployed my first non-trivial (by my standards) world
accessible django app. Its not perfect. However, there comes a point
when you just have to get'er done, and so it is.
I bugged a lot of people on #django and got some good feedback, but
just couldn't communicate my question well
Just wondering if there's any additional information I can give that
might help get some suggestions on this topic. I'd really love to get
some advice.
On Jun 28, 4:30 pm, Matthew Nuzum <[EMAIL PROTECTED]> wrote:
> So here it is:http://webapps.ubuntu.com/course_locator/
>
Russ,
This is GREAT stuff, thank you so much.
Since I'm so new to this web stuff, and django is really the only thing I've
ever used for web programming, I hadn't gotten into the GET dictionary (or
parameters as I call them).
Given that, I assume that the cache will look at the http://.../model3
I believe that the file should reside in project_name/templates/admin/widget
as I am customizing the admin templates in one of my projects, specifically
base.html and it resides in project_name/templates/admin
Refer to the documentation http://www.djangobook.com/en/beta/chapter18/
On Jan 15, 20
I would like to install geodjango but have an existing django 0.96 installed
on my devel server. The instructions for geodjango say check the svn then ln
-s to /path/to/sitepackages/django. My question is will this in any way
affect the current install. If I am running .96 of django and I install
g
this rocks. i especially like the #2 of the series as this helps my web
development team; who dont know or care about python,..
thanks for the great screencast.
On Thu, Feb 14, 2008 at 10:15 AM, Siddhi <[EMAIL PROTECTED]> wrote:
>
> Hi, I'm doing a series of basic intro screencasts for Django.
You could always download your project and work locally with some dummy
data, using SQLite and use: python manage.py runserver. Upon deployment
dont forget to switch the settings.py file back.
notfound wrote:
> 2008/4/27 James Bennett <[EMAIL PROTECTED]>:
>
>> On Sun, Apr 27, 2008 at 7:17
f you
interested or can recommend someone that may be interested.
Respectfully,
Matthew Haver CIR ACIR CDR
Senior IT Recruiter
Yoh IT
Know greater talent (R)
10251 Vista Sorrento Parkway Suite 150
San Diego, CA 92121
858.622.9005 x228 Office
858.922.4484 Mobile
858.922.9048 Fax
*Click Here t
t
> the name "New York"... I suppose autoCompleet is a ForeignKeyField...
>
> Enquest
>
>
Hi, I've written a tutorial on doing this with dojo at
http://code.djangoproject.com/wiki/AJAXWidgetComboBox. The only thing
is I've never got t working within the Djang
should be obvious
>
> --
>
> regards
> kg
> http://lawgon.livejournal.com
> http://nrcfosshelpline.in/web/
>
>
>
> >
>
--
matthew
http://wadofstuff.blogspot.com
--~--~-~--~~~---~--~~
You received this message because
here on your PYTHONPATH. There are
> > complete instructions on the DjangoStuff track wiki, and in the code
> > its self. You may need to modify some of the code in order to get it
> > to work with your site.
> >
> > -Doug
>
>
> >
>
--
matthew
h
; site:http://www.djangosnippets.org/snippets/31/http://www.djangosnippets.org/snippets/32/
> >
> > It is no where near as nice nor as comprehensive as the old django
> > stuff abstract search interface, but it does get the job done in a
> > pinch.
> >
> > -Doug
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
> >
> >
y one else working with these branch and interested in the results
> of my attempts to keep it up to date with the mainline, as well as
> some potential fixes?
>
I'm definitely interested in the results. Why don't you apply to get
check-in permissions on the per-object-permis
l Django api is available on the system then this kind of
thing is difficult to prevent.
> --
>
> regards
> kg
> http://lawgon.livejournal.com
> http://nrcfosshelpline.in/web/
>
>
>
> >
>
--
matthew
http://wadofstuff.blogspot.com
--~--~-~--~~--
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
James, thanks for the quick reply!
Ok, I like what you have there, but it doesn't solve the problem of when I
want to edit an existing record, how do I use the customform? I guess I'm
just missing something super simple here, no?
I would think code like
instance = objects.get(id=1)
form = Order
Ah Ha, now we're getting somewhere!
Let me start searching for that, thank you!!
John
On 5/15/07, James Bennett <[EMAIL PROTECTED]> wrote:
>
>
> On 5/15/07, John M <[EMAIL PROTECTED]> wrote:
> > I wish the custom form option would allow me to bind to a data object,
> > based on field names being
Thank you Grigoriy, It's given me some new ideas.
John
On 5/16/07, Grigoriy Petukhov <[EMAIL PROTECTED]> wrote:
>
>
> John M wrote:
> > I have checked the forum, and still can't believe I can't find a
> > solution to what I perceive as a simple problem:
> >
> > I have two models:
> >
> > Custome
James,
Thanks again so much.
I think i tried the commit=False bit but it still didn't like my FK being
blank for some reason. I'll have to look through the django source and
double check.
So, assuming my commit=false works, i should be able to say something like:
form.clean_data['fk_id'] = fko
WOW, I hadn't seen that first one, and the second one is the 'standard' for
most newforms replies, great work!
Thanks again Michael.
John
On 5/16/07, Michael Trier <[EMAIL PROTECTED]> wrote:
>
>
> These two posts gave me everything I needed to tackle these type of
> issues:
>
> http://weblog.big
Wow, very cool, I didn't know that James! Again, thank you!
I was trying
obj.portfolio = portid and then
obj.portfolio.id = portid < that was really bad according to django :-)
J
On 5/16/07, James Bennett <[EMAIL PROTECTED]> wrote:
>
>
> On 5/16/07, John M <[EMAIL PROTECTED]> wrote:
> > p
Make sure that /path/to/django/bin is in your $PATH and also that django is
accessible through your /path/to/python/site-packages directory.
Can you successfully run this:
[EMAIL PROTECTED] python
>>> import django
?
Matt
On 10/22/07 9:34 AM, "johannes" <[EMAIL PROTECTED]> wrote:
>
> Ok. A
$ sudo updatedb
$ locate django
Look for:
/path/to/django/bin/manage.py
/path/to/django/bin/django-admin.py
...
That /bin should be on your $PATH.
If you feel comfortable with it, I recommend using SVN to check out the
latest django development version:
/wherever/you/want$ sudo svn co http://
I am flying along with plenty of polygons using GeoDjango and PostgreSQL.
Not sure about MySQL, however.
On 10/25/07 11:47 AM, "Greg_IAP" <[EMAIL PROTECTED]> wrote:
>
> does django works with spatial queries(PolygonField and
> multipolygonField) when applications are developped to work with a
I've dealt with that exact error before, just yesterday, incidentally. What
I did to fix:
$ locate libpq.5
If this returns nothing, try running:
$ sudo /usr/libexec/locate.updatedb
And then $ locate libpq.5 again.
Go to the directory containing libpq.5 (for me it was /usr/local/pgsql/lib,
an
. I think the ports way is better. :-)
>
> Just my 2 cents.
>
> On 10/26/07, Matthew Wensin <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> > wrote:
>>
>> I've dealt with that exact error before, just yesterday, incidentally. What
>> I did to fix:
Jython.
On 12/11/07 11:08 AM, "Hugh Bien" <[EMAIL PROTECTED]> wrote:
> Ttry using pyobfuscate. It works really well with python 2.3 (run it using
> python 2.3 and only use it on python 2.3 compatible code).
>
> - Hugh
>
> On 12/10/07, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote:
>>
>> try ja
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
I'd be glad to maintain it for kate!
I just uploaded a new version. It highlights mismatched
block/for/if/etc tags as errors. (Something I tend to do a lot.)
I also changed the priority to 9, so that it doesn't compete for the
html extention.
(Sorry it took me so long to reply... I've been pr
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 ad
the development version will fix your issue.
regards
mattthew
On 20/10/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Matthew,
>
> this is the error I was talking about in the last post I made:
>
> Request Method: GET
> Request URL:http://myip/concepti
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
d'),
default=models.LazyDate())
So Alex *is* seeing broken behaviour here as it relates to
http://code.djangoproject.com/ticket/2993 where use of LazyDate was
broken in changeset 3960.
Alex, there is a patch attached to that ticket that reverts that
checkin until the django devs get arou
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=&
at functionality, you could post a ticket and/or a
> suggested fix.
>
> Don
>
Django's use of Postgres' inet data type is bad. See
http://code.djangoproject.com/ticket/708 for previous threads on this
and where things start to break. Django should use char(15) or
integers con
evor
Hi Trevor,
Which apache version?
Have you tried the simple modpython test at
http://modpython.org/live/current/doc-html/inst-testing.html ?
regards
matthew
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups &qu
out it.
Victor, have you got a ticket open with your patch? It would be worth
opening one so that other people could try it out while you are
waiting for commit access to be granted.
regards
matthew
--~--~-~--~~~---~--~~
You received this message because you are
ily available to template
designers without writing a custom template tag to extract it. I think
it would be very useful if the newforms fields had the ability to
display the help_text without having to resort to writing a custom
tag.
regards
matthew
--~--~-~--~~~---~--~-
Now you're talking!!! Thanks for that, it's exactly what I was thinking.
Basically I am trying to make a system where you show a list of records,
allow the user to view the record, edit the record or add a new one.
Similar to the admin interface, but with only a view option, so in case your
a 'p
Thank you for the reply.
On 1/10/07, Brian Beck <[EMAIL PROTECTED]> wrote:
>
>
> Hi,
>
> object_list takes an allow_empty argument, try settings it to True.
> >From the docs:
>
> allow_empty: A boolean specifying whether to display the page if no
> objects are available. If this is False and no ob
1 - 100 of 538 matches
Mail list logo