On Nov 20, 2007, at 3:18 PM, Jeremy Dunck wrote:
>
> On Nov 20, 2007 3:26 PM, hajo <[EMAIL PROTECTED]> wrote:
>>
>> Thanks a lot; will defintely look into this one!
>> The other solution I looked at was to send an address to google (We
>> have a commercial deal with them; I work for a failry
> On Nov 7, 2007, at 4:45 PM, Don Arbow wrote:
>>
>> I usually go to the Google Groups web site for this and the dev
>> group. There is a link in each message that you can use to report
>> it as spam. I find that Google seems to be pretty quick to ban a
>>
On Nov 7, 2007, at 2:08 PM, Todd O'Bryan wrote:
>
> Does anyone know if those of us with gmail clicking the Report Spam
> button connects back to Google Groups, or are we just protecting
> ourselves?
I usually go to the Google Groups web site for this and the dev group.
There is a link in
On Oct 3, 2007, at 7:55 AM, Xan wrote:
>
> In http://code.djangoproject.com/ticket/5534 there is a howto for
> doing that.
> But it's only when the script is in the root project directory.
> What happens if we want the script in other location? What line we
> have to add?
>
> Thanks a lot,
> Xan.
On Aug 2, 2007, at 2:01 AM, Jens Diemer wrote:
>
> We have the shortcut get_or_create() [1], but whats about a
> create_or_update() ?
>
> [1] http://www.djangoproject.com/documentation/db-api/#get-or-
> create-kwargs
The shortcut already exists, it's called save().
On Jul 12, 2007, at 6:03 AM, Jeremy Dunck wrote:
>
> You might want to check out DjangoAMF:
> http://djangoamf.sourceforge.jp/index.php?DjangoAMF_en
>
> It's specifically for Adobe XML messaging. It adapts Flex's requests
> to regular Django views.
Actually, AMF is a compact binary format that
On Jul 4, 2007, at 3:52 PM, Steve Bergman wrote:
> I'd like to be able to render a template straight down the wire to the
> browser on the fly.
>
> Is this possible?
This was discussed a few weeks ago on the developer list:
http://groups.google.com/group/django-developers/browse_frm/thread/
On Jun 11, 2007, at 3:22 PM, Mike Schinkel wrote:
> But I've found a workable solution (note the subject of
> my reply), so I can stay subscribed. I just know now not to ever ask
> for anything to be changed. ;-)
You previously mentioned that one-key filtering only works with
subject, body,
On Wednesday, June 6, 2007, at 01:58 PM, [EMAIL PROTECTED] wrote:
>
> I'm trying to push a beta build of an App I wrote to my Apache server
> but, I'm running into some problems (I'm pretty sure it's permission
> related)
> [code]
> [EMAIL PROTECTED] alpha1]# ls -al
> total 24
> drwxr-xr-x 3
Well, just a follow up for future spelunkers to this list.
Updating my code to the changes in 5173 and 5211 worked (it now loads
fixtures that are not named initial_data.json). For some reason,
straight code from 0.96 doesn't work, I never figured out why.
And I patched get_sql_flush() to use
On Tuesday, May 29, 2007, at 05:25 PM, Russell Keith-Magee wrote:
> The only other cause I can think of would be an error in the fixture
> file that might be getting eaten by the test process. Does the fixture
> load ok if you run './manage.py loaddata myfixture' (where myfixture
> is the name of
You stated you got a python traceback and yet you only show us the
error message. What Malcolm was trying to say was that it would be
helpful to print out that traceback, rather than your Apache
configuration, at least to start with.
When debugging a problem it's always best to start with
I've dabbled in Flex with Django on the backend, using JSON as the
transport mechanism. It's not that difficult, you just skip all the
HTML template stuff and handle data requests and serve them
accordingly. No different than implementing AJAX in the traditional
way. I used the Cairngorm
Django's equivalent are signals. Here's a few links:
http://code.djangoproject.com/wiki/Signals
http://www.mercurytide.com/whitepapers/django-signals/
http://feh.holsman.net/articles/2006/06/13/django-signals
Don
On May 4, 2007, at 9:06 PM, Mambaragi wrote:
>
> I need to start a thread when
On Mar 29, 2007, at 4:46 PM, Karen Tracey wrote:
>
> So actually the server continues to "run" but it is pretty useless
> given model validation failed. The annoying thing is that when I
> correct the error in my models.py file and re-save, the development
> server does not auto-reload the
On Feb 15, 2007, at 10:30 AM, Jakub Labath wrote:
> Hi,
>
> Thanks, but that is not what I'm looking for.
>
> I need to find out at runtime from within my code. Something like.
Since, you can't change modes during runtime, I would set an
environment variable when you start the server and
On Feb 14, 2007, at 2:46 PM, James Tauber wrote:
> If the formatting could be applied to different classes, I'd use a
> filter. If the formatting only makes sense for Houses, I'd make it a
> method on House.
And you might even want to make it a __str__() method, I do that for
some of my
On Feb 12, 2007, at 6:30 AM, limodou wrote:
> I'v setup a demo site for open book platform project. So you can visit
> it : http://limodou.51boo.com
> This site is just for testing and demo, so don't put important
> things in it.
I would refrain from using other's images on your site (you
On Feb 4, 2007, at 8:44 AM, Ramiro Morales wrote:
>
> On 2/4/07, Tom Smith <[EMAIL PROTECTED]> wrote:
>>
>> I have a model that looks roughly like this...
>>
>> class Client(models.Model):
>> name = models.CharField(maxlength=200, default='')
>>
>> class Competitor(models.Model):
>>
On Jan 30, 2007, at 2:45 PM, Curtis W. Ruck wrote:
> We have a model with a DateTimeField, and two FloatField's. These
> three fields are unique_together in the database.
>
> Why when using get_or_create(datetimefield=someDatetimeObject,
> floatfield1=float(-34.2412),
On Jan 29, 2007, at 4:22 AM, innervision wrote:
>
> How can I tell the queryset to use an OR operator between the 'where'
> clause and the conditions set-up in the Q object?
http://www.djangoproject.com/documentation/models/or_lookups/
Don
On Jan 27, 2007, at 8:57 AM, Filipe Correia wrote:
>
>>> Having to change the source code to debug it doesn't feel very
>>> right...
>> And adding print statements is...what?
>
> I agree :) And that's why, to me, neither seem the right way to go...
> (then again, using prints is the most
On Jan 23, 2007, at 4:21 PM, speleolinux wrote:
>
> Hi all
>
> Having got the tutorial working I have been looking at the docs
> covering what's meant by a site, projects, apps etc. It looks like
> there is a lot to read there to really understand the framework.
> Anyhow
> what I'd like to do
On Jan 22, 2007, at 12:22 PM, ashwoods wrote:
>
> hmm... i guess everybody is tired of translation discussions :)
You might have better luck in the Django internationalization group:
http://groups.google.com/group/django-I18n/
Don
--~--~-~--~~~---~--~~
On Jan 19, 2007, at 7:40 AM, LD 'Gus' Landis wrote:
If the spam can't be stopped, the unsubscribe is the only option I
guess, eh?
No, you go to the Google Groups web page and report the spam. In the
title of the message is a "Show Options" link, click that, then click
the "Report
On Jan 17, 2007, at 12:19 PM, Jacob Kaplan-Moss wrote:
>
> I'm really excited about these changes; I think they'll really help
> us be more
> efficient.
Whoo, hooo! And with the upgrade, you fixed the Safari bug in the
ticket search results page, no more crashing when mousing over the
What you are asking is how to use a variable as a key into a
dictionary, you cannot normally do this with Django template. You
can get around it by using a template tag or try this:
{% for date in date_list.items|dictsort:"0" %}
{{ date.1 }}
{% endfor %}
Here's an explanation of how the
On Dec 27, 2006, at 5:44 PM, Jason C. Leach wrote:
Specifically, I'm curious how you do it without putting SQL in the
view. From what I understand about the methodology of MVC this should
not be done.
I would only worry about that if you are concerned about
maintainability or want to avoid
On Dec 26, 2006, at 7:46 PM, Adrian Holovaty wrote:
On 12/26/06, Don Arbow <[EMAIL PROTECTED]> wrote:
Read the comments in chapter 3 where it says "Let's edit this file
to expose
our current_datetime view:". According to people that have commented,
there's a small bug where
On Dec 26, 2006, at 7:13 PM, Mike Tuller wrote:
I seem to have everything installed correctly, and the python paths
seem to be correct. I am going through the tutorial in the online
book, and I run into a problem. When I run the first application
http://127.0.0.1/now/ I get the following
On Dec 25, 2006, at 11:03 PM, Saurabh Sawant wrote:
I think this is the best place to ask this question because many a
times, the people who start saying negative things about a
framework is
when they find out it doesn't suit their need. If we can compile a
list
where another framework is
On Dec 22, 2006, at 10:21 PM, Russell Keith-Magee wrote:
Same result, different composition. Personally, given Guido's
predisposition to eliminating reduce() in Python 3000 [1], I'd be
avoiding using reduce in new code.
Python 2.5 has any() and all() to replace reduce(). So I believe you
On Dec 21, 2006, at 10:35 AM, Jeremy Dunck wrote:
Where does one find this tiny shim?
Well, the url is in the screencast:
http://aspen-commons.googlecode.com/svn/stephane/
Don
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
On Dec 19, 2006, at 10:49 PM, James Bennett wrote:
...
So we generally recommend using a separate instance of Apache (with no
mod_python) or some other web server (lighttpd is very good at this)
to handle serving static CSS files, JavaScript, images, etc.; the
result is *much* more efficient
On Dec 18, 2006, at 10:52 PM, Denis Frère wrote:
>
> I've just found a bug that made me searching for hours... I'll tell
> you
> the story in case it could help someone else.
>
> I got a strange behaviour with Django views recently : some pages of a
> website I'm developping were empty apart
On Dec 17, 2006, at 12:22 PM, Ramdas S wrote:
> Hi,
>
> Is there anyone working on Django based web control panel/ or an
> extended user panel for simple network management
This was started as a replacement for webmin. Don't know how far
along the project is, though.
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 storage size by 15 bytes to only four bytes
> and make it easier to
On Dec 14, 2006, at 12:49 AM, MC wrote:
>
> Problem:
> I order dates and null values in ascending order under MySQL. To my
> surprise, null values are listed first, then actual dates. Turns out
> that in MySQL, null values are LOWER than non-null values, whereas
> Postgresql is the reverse. As
On Dec 11, 2006, at 7:48 AM, Bob wrote:
>
> http://www.djangoproject.com/documentation/testing/ indicates that
> unittests can be run with
> ./manage.py test
>
> However, when I run it, "test" is not known as an action. I get this
> output:
> ---
> $ c:/Python24/Python manage.py test
On Dec 9, 2006, at 10:56 AM, mezhaka wrote:
>
> try
> {% extends "/blog/base.html" %}
> instead of
> {% extends "/blog/base" %}
In addition, he should remove the leading '/' from the path in the
extends clause. If you code a leading slash, os.path.join() ignores
the template path.
Don
On Dec 7, 2006, at 8:15 AM, [EMAIL PROTECTED] wrote:
>
> Right off the top, I'd suggest alot of your slowdown is in the number
> of http requests. It appears you're making quite a few javascript and
> css calls. I'd see if i could pare that back.
>
>
> Also, temporarily remove your google
On Nov 29, 2006, at 10:50 AM, Clint74 wrote:
>
> Hi,
>
> I need to send the password to the user(email), but how recover the
> raw
> password once the database stores in this format:
>
> hashType$salt$hash
> sha1$6070e$d3a0c5d565deb4318ed607be9706a98535ec7968
You cannot recover the password
On Nov 27, 2006, at 4:59 PM, [EMAIL PROTECTED] wrote:
> I think that may be it, but something's still not right.
>
> I now have:
> DEBUG = False
> TEMPLATE_DEBUG = False
>
> ADMINS = (
> ('Tim Baxter', '[EMAIL PROTECTED]'),
> )
>
> MANAGERS = ADMINS
> EMAIL_HOST='mail2.webfaction.com' #
On Nov 27, 2006, at 3:00 PM, [EMAIL PROTECTED] wrote:
>
> I understand Django should send an email when there's an error and
> debug=False.
>
> It doesn't. Not for me anyway.
Do you have an email server defined? If not, Django tries to use the
localhost to send. Do something like this in your
On Nov 27, 2006, at 5:29 AM, favo wrote:
> I can't submit or change ticket, this block me to contrib. could we
> fix
> the problem of the ticket system? I heard someones have the same
> problem. thanks a lot.
Did you click the settings link at the bottom right of the page and
enter your
On Nov 19, 2006, at 11:29 AM, Jeremy Dunck wrote:
> In the simplest case, __init__.py can just be an empty file, but it
> can
> also execute initialization code for the package or set the __all__
> variable, described later.
it's also handy to store code where you don't want another namespace
On Nov 15, 2006, at 9:58 PM, simonbun wrote:
>
> The problem with getting the last record's id and using it, is that
> someone might have inserted yet another record while you're still
> working on the previous one.
>
> For single user scenario's it's ok, or if you're using table level
> write
On Nov 14, 2006, at 8:17 AM, benstewart wrote:
>
> I suppose nobody has the time to help... or maybe nobody has desire to
> help.
>
> This is sad since I have already searched and tried everything that I
> could find here, at the django project website, in the django book,
> and
> on the web. I
On Nov 8, 2006, at 12:13 AM, Pythoni wrote:
>
>
> Now when I try:
> words.get_list(order_by=('Word'))
>
> I will get the error:
> OperationalError: (1054, "Unknown column 'mimi_words.W' in 'order
> clause'")
This is a basic Python error. You have a tuple with only one item, so
you need
On Nov 6, 2006, at 12:03 AM, Carl Holm wrote:
> Thanks. I should clarify that I am looking for the string "Site
> administration" which I did not find in the base_site.html
> template. Is should also mention that I am running the dev version.
The actual physical location of the string "Site
On Nov 1, 2006, at 4:19 PM, Shannon -jj Behrens wrote:Hi,I'm looking at ttp://code.djangoproject.com/browser/django/trunk/django/http/__init__.py#L199. It seems very natural to pass a value of False to the secure argumentinstead of None, but if you do this, it gets treated as if you
On Oct 29, 2006, at 8:49 PM, Rares Vernica wrote:
>
> Where is the django function that does the "first_name" -> "First
> Name"
> transformation? (The function is used by the Admin interface.)
It's in the result_headers method in django/contrib/admin/
templatetags/admin_list.py. If you have
On Oct 27, 2006, at 9:45 AM, Merric Mercer wrote:
>
> Many thanks Don. I figured it out, but because of issues with google
> have had problems posting back.
>
> It turns out that I don't even have to use get_profile. Something
> like
> {{ user.userprofile.postcode }} works fine, where
On Oct 26, 2006, at 6:12 AM, MerMer wrote:
> 1) I am able to add fields from the User class directly to a
> template.
> e.g. {{ user.email }}. However, I can't see a way to add the extra
> fields from the UserProfile class directly to the template, even
> though
> it has a one-to-one
On Oct 26, 2006, at 3:24 AM, MerMer wrote:I am trying to get the Logout Method to work, but I keepgetting"Exception Value: maximum recursion depth exceeded!".The view is very straightforward, so I can't understand where I'm goingwrong.from django.contrib.auth import logout, authenticate,
On Oct 25, 2006, at 6:50 AM, MerMer wrote:
>
> I've looked through the official docs regarding sending an email but I
> can't find any explanation on how to point to a particular SMTP
> server.
In your settings file, you need to override the global setting
EMAIL_HOST. Look in the file
On Oct 24, 2006, at 10:05 AM, orestis wrote:
>
> http://code.djangoproject.com/wiki/DjangoFriendlyWebHosts
In addition, this question is asked very frequently, you can search
google groups and find a bunch of answers in just the last month or two.
Don
On Oct 23, 2006, at 10:32 AM, orestis wrote:
>
> Thanks, but that will not do. I want the fields to show up in the
> admin
> list display. I don't want to add any new fields. I just want to view
> more fields in the list, and be allowed to sort on them (eg. to
> sort by
> date of creation
On Oct 22, 2006, at 9:29 AM, Adrian Holovaty wrote:With that said, I'm wondering whether we can completely disable thatfield. Any Trac experts around?Should be easily doable:http://trac.edgewall.org/wiki/TracTicketsMany of the default ticket fields can be hidden from the ticket web interface
On Oct 21, 2006, at 1:47 PM, Ed wrote:
>
> Hello, currently url patterns are hard coded into urls.py, in the
> templates, and in some cases the views which return redirects. This is
> becoming a dangerous practice in our application development. If one
> url needs to be changed due to an update
On Oct 21, 2006, at 2:39 AM, [EMAIL PROTECTED] wrote:Just a quick question: has anyone tried to start a Django-poweredwebsite at this hoster (www.nearlyfreespeech.net) yet? If so, anycomments?I doubt it:What are the most common things that do not work on your system?Here are the things we are most
On Oct 19, 2006, at 3:21 PM, zenx wrote:
>
> hi,
>
> just tried this but doesn't work:
>
> q = ArtistaTag.objects.all()
> nums=['']
> for tag in q:
> num = tag.artista_set.count()
> nums.append(num)
>
> max_art = max(nums)
> min_art = min(nums)
>
> i get a TypeError
On Oct 19, 2006, at 5:03 AM, zenx wrote:
>
> I want to get the maximum and the minimum values of various
> numbers. Is
> the following method the best way to do it?
Python already has min and max functions available. Just feed as many
values in a tuple and it will return the min or max
On Oct 19, 2006, at 7:35 AM, [EMAIL PROTECTED] wrote:
>
> Cycle is interesting (haven't used it), but here's how I do it: Works
> well, and it appears to me it may have some advantages over cycle.
>
>
Note that cycle is not restricted to just two rows, you can have as
many alternating
On Oct 18, 2006, at 5:29 AM, Lucas Vogelsang wrote:
> ...[snip]...
> "/usr/lib/python2.4/site-packages/django/db/models/fields/__init__.py"
> in get_db_prep_save
> 446. value = value.strftime('%Y-%m-%d')
>
> AttributeError at /addressbook/new/
> 'str' object has no attribute 'strftime'
On Oct 16, 2006, at 1:30 PM, Rob Hudson wrote:
>
> On Oct 16, 1:00 pm, "Terry" <[EMAIL PROTECTED]> wrote:
>> Easiest way I've found to do it is to add the following as the first
>> two lines of the view function that you want to debug:
>>
>> import pdb
>> pdb.run_trace()
>>
>> Then, when
On Oct 13, 2006, at 2:58 PM, sdm wrote:
>
> Hi, I look in the documentation, but don't have found how can I
> send an
> email with html content, how can I do it?
That's because it's not a Django question, but a Python one. Here's a
link to a page showing how to send HTML emails using the
On Oct 12, 2006, at 12:29 PM, MerMer wrote:
>
> Don,
>
> Thanks for the advice - but it's not working for me.
>
> My full path is
> "c:/python24/lib/site-packages/django/bin/mysite/mytemplates" which
> works.
>
> I've tried "/mytemplates" and "mysite/mytemplates" as the TEMPLATE_DIR
> path but
On Oct 12, 2006, at 8:03 AM, MerMer wrote:
>
> my settings look like the following:-
>
> TEMPLATE_DIRS = (
> "c:/python24/lib/site-packages/django/bin/mysite/mytemplates",
>
> When I set up Django I just put in the full path in the belief that
> this would make things easier while I was
Note that Adrian posted a message some time ago about how he uses
geometry fields in Postgres and Django for his chicagocrime.org site.
His post is in this thread:
http://groups.google.com/group/django-users/browse_thread/thread/
1fbbaf710996a8aa/8b322b5b68b29fbb?
On Oct 11, 2006, at 8:06 AM, orestis wrote:
> So I ask: How can access from the session object ALL visitors so I can
> display in my site:
Django sessions are stored in the database. I did this quick test
using the django shell, should be enough to get you started:
>>> from
On Oct 7, 2006, at 1:57 AM, Marco Amato wrote:
> I am not a big programmer , and I will found usefull sample of code.
> So, what about add a list of app and project for example?
What about this page at the django website?
http://code.djangoproject.com/
scroll down and you'll see a heading
On Oct 6, 2006, at 2:20 PM, MerMer wrote:
>
> Ray,
>
> The code is below. The RATINGS_CHOICES are defined inside the Model
> Class.
>
> MerMer
>
> RATING_CHOICES=(
> ('5', '5 stars'),
> ('4', '4 stars'),
> ('3', '3 stars'),
> ('2', '1 stars'),
>
On Oct 6, 2006, at 1:47 PM, Paul Barry wrote:
>
> The link on
>
> http://code.djangoproject.com/wiki/DjangoPoweredSites
>
> points to the blog. I guess that link should be updated.
Melt is the Django application (next to the link it says "social
networking *software*", not *site*), the link
On Oct 3, 2006, at 9:30 PM, Patrick J. Anderson wrote:
>
> def main(request):
> posts = Post.objects.filter(is_approved =
> True).order_by('-time_added')[:5]
> t = loader.get_template('homepage.html')
> c = RequestContext({
> 'latest_posts': posts,
> })
> return
On Sep 29, 2006, at 7:43 AM, mamcxyz wrote:
> - I dislike the indirection to run django class... the thing about run
> python manage.py shell to really touch the classes... is not very
> "pythonic", or mainly, convenient.
How can the python shell not be pythonic?
Don
On Sep 28, 2006, at 6:26 PM, Sean Schertell wrote:
>
> (2) This is a biggie for me. I can't believe that the authentication
> module forces you to use hard coded urls for login/logout pages --
> that's just maddening! So if you want to do it your own way, you have
> to totally roll your own
On Sep 28, 2006, at 7:08 AM, falcon wrote:
>
> Let's say I have two arrays:
> data=[["a",1,9],["b",2,8],["c",3,7],["d",4,6],["e",5,5]]
> type=['string','number','number]
>
> I iterate through the 'data' array (either with 'for' or 'range'
> loops)
> and render a with values from the array.
>
This was answered here last month:http://groups.google.com/group/django-users/browse_frm/thread/f0e7d503401a7186/1d378aa769159983?#1d378aa769159983As Jay mentioned, you need to use the object value, not the formfield. The date filter requires a datetime instance, which the formfield is not and so
On Sep 26, 2006, at 6:06 PM, Greg Plesur wrote:Hi all,I'm a new subscriber to this list, and am having an issue that I'm hoping you can help me with (I also posted this as a trouble-ticket, because I'm not seeing any references to this issue anywhere and it seems buggy):It looks like my models are
On Sep 25, 2006, at 5:48 PM, brad wrote:
>
> Exception Type: TypeError
> Exception Value:'tuple' object is not callable
> Exception Location: E:\dp1\mysite\..\mysite\urls.py in ?, line 10
>
> And line ten of 'urls.py' is the following:
>
> (r'^select/$',
On Sep 23, 2006, at 8:49 AM, Jon Atkinson wrote:
>
> Hi all,
>
> I've been looking for a copy of the Django cheat sheet (previous URL:
> http://www.dobbes.com/media/pdfs/django_reference_sheet.pdf), but that
> resource seems to have disappeared. Does anyone have a copy of this?
You can find a
On Sep 21, 2006, at 1:17 PM, zehi wrote:
>
> Still not successfull
>
> When trying to install MySQLdb I'm getting this error:
>
> zehi:~/Desktop/MySQL-python-1.2.1_p2 zehi$ python setup.py build
> sh: line 1: mysql_config: command not found
> sh: line 1: mysql_config: command not found
> sh:
Maybe this thread would be better off moved to some other place
(perhaps a support board using said software). It is no longer about
Django, but about supporting a third-party software package.
Don
--~--~-~--~~~---~--~~
You received this message because you
On Sep 15, 2006, at 12:18 PM, [EMAIL PROTECTED] wrote:
> How would I only have
> {{form.profile}} editable by the user and have {{form.name}} not be
> present when the user views the page?
You can't do it with generic views, but here's how:
http://code.djangoproject.com/wiki/
Here are a couple of articles that describe how signals work:
http://feh.holsman.net/articles/2006/06/13/django-signals
http://www.b-list.org/weblog/2006/06/13/how-django-processes-request
Don
--~--~-~--~~~---~--~~
You received this message because you are
In Django 0.91 and before, there was certain code that was "magic",
essentially, code that did things in a non-Pythonic, non-intuitive or
hidden way. So the code was cleaned up and operations were made much
more explicit. Code after 0.91 is known as the magic-removal branch,
which was
On Sep 10, 2006, at 8:51 PM, Beau Hartshorne wrote:
>
> Do you know if all browsers just leave unchecked checkboxes out of
> the POST?
Yes, according to the HTML specs (written in the age of dinosaurs),
only controls that are successful are sent as part of the form.
Successful controls have
On Sep 10, 2006, at 1:35 PM, Beau Hartshorne wrote:
>
> My use case is to make a field required only if a checkbox is
> unchecked. If this is a bug, what can I do to help?
Have you tried RequiredIfOtherFieldNotGiven()?
Don
--~--~-~--~~~---~--~~
You received
On Sep 8, 2006, at 7:22 AM, Sean Schertell wrote:
>
> Very interesting points. Does anyone have any thoughts on using
> Google code hosting for this idea? Anyone know off the top of their
> heads whether or not we'd be able to create a Django "category"
> within Google or would it just sort of be
On Sep 6, 2006, at 5:52 PM, Elvis [Brazil] wrote:
>
> Any of you have run a django application in a shared hosting
> successfully? Is it possible?
> Any hosting company you'd like to suggest?
The django website has a list (at least 20) of web hosts you can run
django on.
Is there any reason why XBox 360 and Java libraries articles are
posted on the community RSS feeds page? Not to pick on a specific
blog (the author does occasionally write about Django and the blog is
written in Django). Is there a way to filter out non-Django content
from the feeds?
On Aug 31, 2006, at 9:43 AM, Don Arbow wrote:
> The two tags are not comparable in functionality.
Oops, that should actually read:
The two filters are not comparable in functionality.
Don
--~--~-~--~~~---~--~~
You received this message because
On Aug 31, 2006, at 8:20 AM, HoLin wrote:
> the code /z/catalog/{{ act|default:"new" }}/ works well before i
> get the
> latest svn trunk.
> I try to replace it like this /z/catalog/{{ act|
> default_if_none:"new" }}/,
> it also returns blank.
> Does someone know how?
The two tags are
On Aug 29, 2006, at 3:36 AM, va:patrick.kranzlmueller wrote:
>
> I see. any chance to get me off the spam-list?
Adrian didn't say YOU were on a spam list, but that some MESSAGES may
have been flagged by Google as potential spam.
Not much you can do about the time lag. There are times I've
On Aug 27, 2006, at 1:21 PM, Cole Tuininga wrote:Hi folks - I'm setting up Django with mod_python and I've come acrossa little problem. When using the admin area, I get an error in myapache logs. Here's an example:[Sun Aug 27 16:15:59 2006] [error] [client 127.0.0.1] File does notexist:
IntegrityErrors are thrown by the Python Database API.
If using mysql, you should code this:
from mysqldb import IntegrityError
If using postgres you should code this:
from psycopg, import IntegrityError
Don
--~--~-~--~~~---~--~~
You received
On Aug 25, 2006, at 12:31 PM, Waylan Limberg wrote:
>
> On 8/25/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>>
> [snip]
>>
>> I've gone through and stripped out every extra space I can find,
>> thinking that was the problem, but still that dang trailing slash
>> comes
>> down to the next
On Aug 21, 2006, at 3:59 AM, Thomas wrote:
> An example would be something like displaying the
> First name and Last name of a user that is logged in accross all my
> pages.
If you need to display information about the logged in user in your
template, see this page:
Oops, missed an 'endifequal' at the end of the comparison:
{% for x in make_list object.get_rating_stars %}
{% ifequal x '*' %}
{% else %}
{% endifequal %}
{% endfor %}
Don
--~--~-~--~~~---~--~~
1 - 100 of 157 matches
Mail list logo