I'm struggling to get a NullBooleanField to work as radio buttons. By
default, a NullBooleanField (NBF) shows up as a select widget with
options: "Unknown", "Yes", "No". I assumed I could add this to
"radio_fields" and have it turn those options into radio buttons with
the same labels. But no dic
On Thursday 21 May 2009 12:09:05 LeonTheCleaner wrote:
> I did not know that. Can you tell me how to do that? Is there a link
> that shows the procedure?
just follow the django install docs for apache/mod_python. There is an apache
config file in webfaction where you can make changes
>
> I use s
On May 20, 11:56 pm, Sean Brant wrote:
> Traceback (most recent call last):
> File "manage.py", line 11, in ?
> execute_manager(settings)
> File "/home/58124/data/python/django/django/core/management/
> __init__.py", line 362, in execute_manager
> utility.execute()
> File "/home/581
Thanks for replying. When you mention like that, yeah it looks way
simpler than what is shown.
Can you use a domain name like www.mysite.com? It does not need to be
a subdomain, right?
Also after you get the welcome screen, how do you install your django
application you downloaded from the net?
I did not know that. Can you tell me how to do that? Is there a link
that shows the procedure?
I use svn myself, but the apache stuff, not sure how to set that up.
Thanks.
On May 21, 12:29 am, Kenneth Gonsalves wrote:
> On Thursday 21 May 2009 11:46:54 LeonTheCleaner wrote:
>
> > You mean fo
On Thursday 21 May 2009 11:46:54 LeonTheCleaner wrote:
> You mean for dreamhost? Yeah I was following those. It is just that
> when people mentioned webfaction is easier I wanted mention their 21
> min video which is still lots of work.
I meant for webfaction - I use webfaction, but do not use th
Sorry for this lame question.
I just saw an application called suggestionbox.com and it's able to write
subdomain based on the customer id. Do we access and write BIND
configuration on the fly for this? Or is there a better way to do it?
Anyone that has experience with this?
Thanks very much in
On Wed, 20 May 2009 10:51 pm, LeonTheCleaner wrote:
>
> Thanks all for replying. I appreciate it.
>
> Webfaction seems to be popular amongst many. The only thing is I just
> quickly
> checked out their demo video to setup django and it is 21 mins. I am
> blown away to see how complicated just set
You mean for dreamhost? Yeah I was following those. It is just that
when people mentioned webfaction is easier I wanted mention their 21
min video which is still lots of work.
Thanks.
On May 20, 11:53 pm, Kenneth Gonsalves wrote:
> On Thursday 21 May 2009 11:15:29 LeonTheCleaner wrote:
>
> >
On Thursday 21 May 2009 11:15:29 LeonTheCleaner wrote:
> @sdc, yeah I plan to try webfaction. The only thing is I just quickly
> checked out their demo video to setup django and itès 21 mins. I am
> blown away to see how complicated just setting this up, and I am an
> experienced windows programme
Thanks all for replying. I appreciate it.
Webfaction seems to be popular amongst many. The only thing is I just
quickly
checked out their demo video to setup django and it is 21 mins. I am
blown away to see how complicated just setting this up, and I am an
experienced windows programmer. Just exp
Thanks for all the replies.
@sdc, yeah I plan to try webfaction. The only thing is I just quickly
checked out their demo video to setup django and itès 21 mins. I am
blown away to see how complicated just setting this up, and I am an
experienced windows programmer. Just expected a lot less steps.
svn checkout http://django-simple-captcha.googlecode.com/svn/trunk/
django-simple-captcha-read-only
On May 21, 9:30 am, online wrote:
> Could anyone please recommend a open source library captcha working
> fine with django?
>
> http://code.google.com/p/django-simple-captcha/ looks but i just
> c
That's the point ,thank you friend !
On 5/17/09, Apple wrote:
>
> I write some code like following:
>
> #coding=utf8
> from django.shortcuts import render_to_response
> from dj
OH! It does it alone! Another awesome thing to my awesomeness list of
django.
2009/5/20 Rodrigo
> Hi users and devs
>
> In the next example for pagination:
>
>contact_list = Contacts.objects.all()
>paginator = Paginator(contact_list, 25) # Show 25 contacts per
> page
>
> Consider that Co
2009/5/21 online
> Could anyone please recommend a open source library captcha working
> fine with django?
Personally, I'm a fan of ReCAPTCHA, but it may not be quite what you're
after.
> http://code.google.com/p/django-simple-captcha/ looks but i just
> cannot find where to download.
You
2009/5/19 LeonTheCleaner
> I am trying to install django by using this:
>
> http://wiki.dreamhost.com/Django
>
> but there are a few things I don't understand.
>
> 1. Where am I supposed to run stuff like these:
>
> export PATH=$PATH:$HOME/django_src/django/bin
> export PYTHONPATH=$PYTHONPATH:$HO
Hi users and devs
In the next example for pagination:
contact_list = Contacts.objects.all()
paginator = Paginator(contact_list, 25) # Show 25 contacts per
page
Consider that Contacts.objects.all() returns a list with 1.000.000
objects, and I want to paginate to 25 objects per page. Woul
Could anyone please recommend a open source library captcha working
fine with django?
http://code.google.com/p/django-simple-captcha/ looks but i just
cannot find where to download.
Thanks
--~--~-~--~~~---~--~~
You received this message because you are subscrib
On Tue, 2009-05-19 at 11:06 -0700, LeonTheCleaner wrote:
> Hi,
>
> I am trying to install django by using this:
>
> http://wiki.dreamhost.com/Django
>
> but there are a few things I don't understand.
I see you asked another question about the best django host, and got a
lot of replies to that
hi group
I have a situation here. I need to make sure that a field is unique
in the database. In my model i have the following:
url= models.CharField (max_length=254, blank=False,
db_index=True,unique=True)
When i go to save, it throws the IntegrityError just like it should.
How can i tra
Hello,
I tried to send this several months ago via the Gmane NNTP server, but I
suspect it didn't get through. At least I can't find it.
The same problems seems to exist with the current subversion code.
My apologies if this did get through and was discussed, if so could somebody
please provide
The docs on groups in contrib.auth are beyond minimal:
http://docs.djangoproject.com/en/dev/topics/auth/#groups
Are there any recommended resources for learning about working with
groups and permissions, beyond spelunking through the code?
--~--~-~--~~~---~--~~
You
bump
On May 19, 7:16 pm, LeonTheCleaner wrote:
> Thanks for replying. I wanted to do that, but I canèt find the file. I
> use win btw.
>
> Also I am trying to install this on my host (dreamhost). Am I supposed
> to do this operation on my machineÉ
>
> Thanks.
>
> On May 19, 4:27 pm, Aneesh wrot
Traceback (most recent call last):
File "manage.py", line 11, in ?
execute_manager(settings)
File "/home/58124/data/python/django/django/core/management/
__init__.py", line 362, in execute_manager
utility.execute()
File "/home/58124/data/python/django/django/core/management/
__init__
UPDATE:
I found a workaround, but it's not pretty. Has anyone done this in a
more elegant manner?
1) when defining the initial data to pass into the FormWizard (I do
this in a view wrapped around the FormWizard):
if len(request.FILES):
initial.update({'request_files':request.FILES})
I have thought about this and will probably do so. I was just hoping
it would be easy to just add an additional namespace. Seems cleaner to
me.
On May 20, 11:46 am, Andy Mikhailenko wrote:
> What about using emails or openIDs for authentication? These include
> namespaces per se ;)
>
> On May 20
In the last step of my FormWizard, I have an ImageField. I've made
sure that the uploaded image is appearing in request.FILES, but I'm
still getting a "this field is required" error upon submission.
I assume that this problem is related to this ticket:
http://code.djangoproject.com/ticket/7439
I've had a reseller account with www.site5.com for a couple years with
no complaints - service has always been quick... They've recently
added django to all their servers...
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Gr
I have the contrib.auth app installed, and in order for its tests to
pass, I have to define certain registration templates. When defining
those templates, if I use the url tag / reverse to point to a view
outside the auths app, the auth tests fail.
This occurs because the auth tests use a custom
Strange :(
This code produces nothing in template
how can I debug it? Please help
2009/5/20 Oleg Oltar
> Just want to tell you big big thank you!
>
>
> On Wed, May 20, 2009 at 10:52 PM, Alex Gaynor wrote:
>
>>
>>
>> 2009/5/20 Oleg Oltar
>>
>>> Is there any doc I can read about it?
>>>
>>>
I installed django-cms with Apache/windows. Pages comes up under the
admin menu. I can also see new pages I added. When I open the new
page the formatting is off. The add content to template is hiding
behind the info window (dates, times, etc). I'm not sure how to fix
this formatting problem?
Just want to tell you big big thank you!
On Wed, May 20, 2009 at 10:52 PM, Alex Gaynor wrote:
>
>
> 2009/5/20 Oleg Oltar
>
>> Is there any doc I can read about it?
>>
>> On Wed, May 20, 2009 at 9:50 PM, Alex Gaynor wrote:
>>
>>>
>>>
>>> 2009/5/20 Oleg Oltar
>>>
Ok, I got it now
What
I understood that, i just thought there is some nicer way to do it :)
Thx.
On Wed, May 20, 2009 at 11:52 PM, Sam Chuparkoff wrote:
>
> On Wed, 2009-05-20 at 07:09 -0700, [CPR]-AL.exe wrote:
> > So, what is the best way to throw a ValidationError only if None of
> > values a entered in subclasse
On Wed, 2009-05-20 at 07:09 -0700, [CPR]-AL.exe wrote:
> So, what is the best way to throw a ValidationError only if None of
> values a entered in subclassed field?
I don't know if you understood my post or read the code for
MultiValueField. MultiValueField is designed to check for empty values
a
2009/5/20 Oleg Oltar
> Is there any doc I can read about it?
>
> On Wed, May 20, 2009 at 9:50 PM, Alex Gaynor wrote:
>
>>
>>
>> 2009/5/20 Oleg Oltar
>>
>>> Ok, I got it now
>>> What about the inheritance? Question 2?
>>>
>>> On Wed, May 20, 2009 at 9:30 PM, Alex Gaynor wrote:
>>>
Is there any doc I can read about it?
On Wed, May 20, 2009 at 9:50 PM, Alex Gaynor wrote:
>
>
> 2009/5/20 Oleg Oltar
>
>> Ok, I got it now
>> What about the inheritance? Question 2?
>>
>> On Wed, May 20, 2009 at 9:30 PM, Alex Gaynor wrote:
>>
>>>
>>>
>>> 2009/5/20 Oleg Oltar
>>>
>>> Hi!
I
> For a 404 you should still be able to just raise the exception, for other
> response you could create your own Exception like ResponseIsReady and just
> raise it and have __init__ return as soon as it's done.
I though about this, but isn't raising an exception to provoke not
really an exception
2009/5/20 Filip Gruszczyński
>
> Yeah, I did a quick check in the interpreter and this is indeed very cool.
>
> There is another thing though that worries me (but just a little).
> Often, when I write views, it's nice to be able just to return 404 or
> 302 at any moment and not proceed with a cur
Yeah, I did a quick check in the interpreter and this is indeed very cool.
There is another thing though that worries me (but just a little).
Often, when I write views, it's nice to be able just to return 404 or
302 at any moment and not proceed with a current function. For 404 it
can be always d
Hello,
I've been vigorously searching for a way to disable middleware on a
per view basis, something like:
@disable_middleware
def my_view(request):
...
I'm wondering if something like this might be possible right now or if
anyone else has had the need for this?
--
I'm asking this because
Hi all,
I am a newbie to Django and I come from Java background. I was looking
for a comprehensive summary of Django classes like you have it in
Java. This would enable one to know where to look for a possible class
to use and find all the methods in it.
Thanking you in advance,
Sincerely,
Sonal
> Sure, label_for_instance gets the object itself, with all it's fields. So
> isntead of returning the string with the id number, change it to return:
> obj.name.
>
> Alex
PERFECT! Thanks a lot!
--~--~-~--~~~---~--~~
You received this message because you are subs
On 20 май, 22:48, Steve Howell wrote:
> On May 20, 10:49 am, Konstantin S wrote:
>
>
>
> > On 20 май, 19:43, Steve Howell wrote:
>
> > > To elaborate on Karen's suggestion, one way to see which URLs are
> > > among the candidates for resolving the reverse match is to
> > > deliberately hit a ba
On Wed, May 20, 2009 at 2:05 PM, Bobby Roberts wrote:
>
>
> > Your class should inherit from "forms.ModelChoiceField", not just
> > ModelChocieField.
> >
> > Alex
>
>
> Ok i'm getting somewhere! Thanks for your patience. I'm still
> finding my python / django legs. This populates the dropbox w
> Your class should inherit from "forms.ModelChoiceField", not just
> ModelChocieField.
>
> Alex
Ok i'm getting somewhere! Thanks for your patience. I'm still
finding my python / django legs. This populates the dropbox with
My Object #1
My Object #2
My Object #3
I see why it's dong that in
On May 19, 8:57 am, Guri wrote:
> On May 19, 12:27 am, Alex Gaynor wrote:
>
> > On Mon, May 18, 2009 at 2:04 PM, Guri wrote:
>
> > > Hi,
> > > Is there are way to useDojowidgets insideDjangoforms.py?
>
> > > Any package, pointers or procedure will help.
>
> > > Thanks In Advance
> > >
In a sentence, to sum it up, Use Slicehost for VPS and Webfaction for shared
servers. Go shopping if you want to save some bucks and dont mind some extra
effort for installation.
On Wed, May 20, 2009 at 11:19 PM, ringemup wrote:
>
>
> FWIW, I got django working on Dreamhost by basically using th
2009/5/20 Oleg Oltar
> Ok, I got it now
> What about the inheritance? Question 2?
>
> On Wed, May 20, 2009 at 9:30 PM, Alex Gaynor wrote:
>
>>
>>
>> 2009/5/20 Oleg Oltar
>>
>> Hi!
>>> I have a model with a Sections and Categories related this way:
>>>
>>> class Category(models.Model):
>>> ca
On May 20, 10:49 am, Konstantin S wrote:
> On 20 май, 19:43, Steve Howell wrote:
>
>
>
> > To elaborate on Karen's suggestion, one way to see which URLs are
> > among the candidates for resolving the reverse match is to
> > deliberately hit a bad URL like the following:
>
> >http://localhost:800
On Wed, May 20, 2009 at 1:38 PM, Bobby Roberts wrote:
>
> > You don't access the class at forms.MyModeChoiceField, since it doesn't
> live
> > in that namespace. You access it with just MyModelChocieField, since
> it's
> > defined in the same file. As a note, you're going to want to have the
>
What about using emails or openIDs for authentication? These include
namespaces per se ;)
On May 20, 1:09 am, Timboy wrote:
> Initially we will have in the ballpark of 10,000 Private users. Anyone
> have an idea on an additional user namespace?
>
> On May 19, 8:42 am, Aneesh wrote:
>
> > How ma
Ok, I got it now
What about the inheritance? Question 2?
On Wed, May 20, 2009 at 9:30 PM, Alex Gaynor wrote:
>
>
> 2009/5/20 Oleg Oltar
>
> Hi!
>> I have a model with a Sections and Categories related this way:
>>
>> class Category(models.Model):
>> categoty = models.CharField(max_length=20
> You don't access the class at forms.MyModeChoiceField, since it doesn't live
> in that namespace. You access it with just MyModelChocieField, since it's
> defined in the same file. As a note, you're going to want to have the
> MyModelChoiceField class before your form (in the file), otherwise
2009/5/20 Oleg Oltar
> Hi!
> I have a model with a Sections and Categories related this way:
>
> class Category(models.Model):
> categoty = models.CharField(max_length=200)
> name = models.CharField(max_length = 200, help_text=u"Имя категории")
>
> def __unicode__(self):
> ret
Hi!
I have a model with a Sections and Categories related this way:
class Category(models.Model):
categoty = models.CharField(max_length=200)
name = models.CharField(max_length = 200, help_text=u"Имя категории")
def __unicode__(self):
return u"Категория %s" %self.name
class S
On Wed, May 20, 2009 at 2:39 AM, watad wrote:
>
> this is my form after thomas reply:
>
> {{ form.as_p }}
> >
>
>
> and this is my view after your reply :
>
> def careerspage(request):
> if request.me
Hi Karen,
In one of my HTML page I have included 2 forms, where both the forms
have required=True fields and have submit buttons respectively.
The problem is when a user submits one form (by clicking one of submit
button form the page) and if at all it has some errors (as validated
in clean meth
On Wed, May 20, 2009 at 12:32 PM, Bobby Roberts wrote:
>
> > You aren't actually using that Field though, you need to use it in place
> of
> > ModelChoiceField where you want that behavior.
> >
> > Alex
>
>
> here's what i've got:
>
> class FrmWebPage (forms.Form):
>active = forms.ChoiceField
FWIW, I got django working on Dreamhost by basically using the
instructions here:
http://www.soasi.com/2008/09/django-10-on-dreamhost-with-passenger-mod_rails/
On May 20, 1:13 pm, Masklinn wrote:
> On 20 May 2009, at 17:10 , Aneesh wrote:
>
> > I've set up a couple Django sites on Dreamhost,
On 20 май, 19:43, Steve Howell wrote:
>
> To elaborate on Karen's suggestion, one way to see which URLs are
> among the candidates for resolving the reverse match is to
> deliberately hit a bad URL like the following:
>
> http://localhost:8000/something_that_does_not_match_urls
>
> If you have ap
On Tuesday 19 May 2009 10:47:05 am VidrSan wrote:
> How can I see django version on my web-server? Just python's code,
> beaucause I can't find any information on hosting
An addendum to others' replies - since I have several django sites still
around that were made with different releases of dja
> You aren't actually using that Field though, you need to use it in place of
> ModelChoiceField where you want that behavior.
>
> Alex
here's what i've got:
class FrmWebPage (forms.Form):
active = forms.ChoiceField(required=True, choices=active_choices,
widget=forms.RadioSelect(attrs={'cla
My application models Training courses. Those courses may have
training material in a variety of formats.
I came across FileBrowser and it seems real nice.
Are any of you using a FileBrowseField in your models?
I get the feeling that what I'm doing below is wrong... creating a
model that holds
On 20 May 2009, at 17:10 , Aneesh wrote:
> I've set up a couple Django sites on Dreamhost, as well as one on
> Webfaction. Webfaction is great. Dreamhost requires lots of
> tweaking, but you can definitely run a Django site just fine there
> too. I've had no issues with uptime. If you need he
On Wed, May 20, 2009 at 12:01 PM, Dmitriy Sodrianov wrote:
>
> Hi, there!
>
> I've configured bilingual site. At this site some forms are present.
> All the forms field 'verbose_name' attribute are marked with ugettext
> utility.
>
> The problem is that when language is changed labels for form's f
Hi,
I have an application who's start page is hello.html(dynamic page
where the contents change based on which user has logged in). Now I
want to protect this page using django's app-engine patch so that only
authenticated users can access their respective pages.
I followed the example in
http:
Hi, there!
I've configured bilingual site. At this site some forms are present.
All the forms field 'verbose_name' attribute are marked with ugettext
utility.
The problem is that when language is changed labels for form's fields
does not change.
All the localization files are provided and prope
On Wed, May 20, 2009 at 12:11 PM, Lokesh wrote:
>
> Hi,
>
> Is it possible to clear the variable 'errors' of a form object? If so,
> could some one please help me in clearing the errors variable.
>
Well, almost anything's possible and there is probably some way to do that
but -- why? It strikes
2009/5/20 Filip Gruszczyński
>
> > Take a look at this:
> http://code.djangoproject.com/ticket/6735#comment:37
> > snippet which actually does let you store state on the object.
>
> The suggested solution is very cool, but I wonder, how to change
> status code of such responses. status_code is a
I am doing this for a job. I am not experienced with python nore
google apps engine or django.
I was hired in to make a website with html, css and that was really
it. I asked about his server in the start but he said he will give me
that info when I am done with the site.
so when I got done h
> Take a look at this: http://code.djangoproject.com/ticket/6735#comment:37
> snippet which actually does let you store state on the object.
The suggested solution is very cool, but I wonder, how to change
status code of such responses. status_code is a class attribute, so if
while serving a requ
2009/5/20 Filip Gruszczyński
>
> > I don't have major beefs with your solution, but I'll offer a few
> > alternatives that might accomplish the same thing, without creating
> > inheritance. Inheritance feels a little heavy for what you're trying
> > to provide, which is basically just a common m
Hi,
Is it possible to clear the variable 'errors' of a form object? If so,
could some one please help me in clearing the errors variable.
I have tried by below scenarios but, of no use.
form1.errors = {}
form1.errors = ''
Here is the code and output details:
class SearchForm(forms.Form):
l
> I don't have major beefs with your solution, but I'll offer a few
> alternatives that might accomplish the same thing, without creating
> inheritance. Inheritance feels a little heavy for what you're trying
> to provide, which is basically just a common method to tie together
> three other meth
Hi folks,
Let's say I have an app called "Attributes" that holds flags for user
account modifiers (e.g. "TurnOffAds"). So I might have a model inside
this app to contain all the available attributes:
class Attribute(models.Model):
name = models.CharField(max_length=50)
descriptio
On Wed, May 20, 2009 at 10:34 AM, ccsakuweb wrote:
>
> Sorry, I forgot to tell it, I use the 1.0.2 version
>
> On 19 mayo, 23:41, Alex Gaynor wrote:
> > On Tue, May 19, 2009 at 2:53 PM, ccsakuweb wrote:
> >
> > > I have a form from a model. I add 3 new inputs. Then when I write in
> > > Meta :
On Wed, May 20, 2009 at 10:38 AM, Bobby Roberts wrote:
>
> > Take a look at label_from_instance:
> http://docs.djangoproject.com/en/dev/ref/forms/fields/#modelchoicefield
> >
> > Alex
> >
>
> yeah I'm lookin at that but it makes no sense to me.
>
> Here's what i have and it's not working:
>
> fro
On May 20, 6:33 am, Filip Gruszczyński wrote:
>
> I have recently created a class:
>
> class RequestService:
>
> def __call__(self, request, *args, **kwargs):
> self.prepare(request, *args, **kwargs)
> if request.method == 'POST':
>
> One thing to keep in mind is that the object is shared across all requests
> in that process, so you can't actually store state on your object.
What exactly do you mean? Because I just got very worried.
I have a class like this:
class CreateAddressService(RequestService):
def
On May 20, 6:41 am, Karen Tracey wrote:
> On Wed, May 20, 2009 at 7:28 AM, Konstantin S wrote:
>
> > On 20 май, 14:02, Konstantin S wrote:
> > > Hello!
>
> > > I have a very strange problem and really don't know where to start in
> > > hunting it down. My app uses django-registration, all works
> Take a look at
> label_from_instance:http://docs.djangoproject.com/en/dev/ref/forms/fields/#modelchoicefield
>
> Alex
>
yeah I'm lookin at that but it makes no sense to me.
Here's what i have and it's not working:
from django import forms
from web_pages.models import PageCategory
from templa
Sorry, I forgot to tell it, I use the 1.0.2 version
On 19 mayo, 23:41, Alex Gaynor wrote:
> On Tue, May 19, 2009 at 2:53 PM, ccsakuweb wrote:
>
> > I have a form from a model. I add 3 new inputs. Then when I write in
> > Meta :
> > model = models.Table
> > fields = ['attribute2', 'newInput1', '
Hello everyone,
here is the situation:
I have a Django web server A that communicates with another local
server B through xml-rpc. A storage C (NAS, but it doesn't really
matter) is mounted on B. I would like to make a file located on C
available for download from A.
I would like to avoid copyi
+1 for WebFaction.
Very easy control panel and directory layout.
Very-very helpfull technical support.
Great price for what you get.
lzantal
http://twitter.com/lzantal
http://www.antalconsulting.com
On Wed, 20 May 2009 7:48 am, Kegan Gan wrote:
>
> +1 for WebFaction.
>
> The control panel look+f
Absolutely right, Doh! thanks very much karen
On May 20, 3:51 pm, Karen Tracey wrote:
> On Wed, May 20, 2009 at 10:39 AM, snorkel wrote:
>
>
>
> > Hullo everyone,
> > I can't understand how this is happening... when i go to the admin
> > page I get two entries for Element,
> > the database
I've set up a couple Django sites on Dreamhost, as well as one on
Webfaction. Webfaction is great. Dreamhost requires lots of
tweaking, but you can definitely run a Django site just fine there
too. I've had no issues with uptime. If you need help setting it up
on Dreamhost, check out Jeff Cro
On Wed, May 20, 2009 at 10:09 AM, Felipe Martinez wrote:
>
>
>
> Sorry, but I got lost somewhere in formsets. I'm using actions from
> change_list.html, so I suppose I should use cl.formset.errors:
>
> {% if cl.formset.errors %}
>
> {% blocktrans count cl.formset.errors|length a
On Wed, May 20, 2009 at 10:00 AM, Bobby Roberts wrote:
>
> Hi Group. Please look at this snippet from my forms. It uses two
> ModelChoiceFields as shown below. Each database table currently has 2
> records.
>
> On the webpage, when the form is being called, the options are like
> this:
>
> Tem
Sorry, but I got lost somewhere in formsets. I'm using actions from
change_list.html, so I suppose I should use cl.formset.errors:
{% if cl.formset.errors %}
{% blocktrans count cl.formset.errors|length as counter %}
Please correct the error below.{% plural %}Please correc
Hi Group. Please look at this snippet from my forms. It uses two
ModelChoiceFields as shown below. Each database table currently has 2
records.
On the webpage, when the form is being called, the options are like
this:
Template object
Template object
and
PageCategory object
PageCategory obje
On Wed, May 20, 2009 at 10:39 AM, snorkel wrote:
>
> Hullo everyone,
>I can't understand how this is happening... when i go to the admin
> page I get two entries for Element,
> the database (sqlite3) does not show two tables for Element, and when
> you click on the first Element it takes you
+1 for WebFaction.
The control panel look+feel may looks weird, but the simplicity is
just great and you get everything you need. The structure in your home
directory is also sensible.
Another plus for great technical support when you needed it.
On May 20, 7:41 pm, Sam Kuper wrote:
> 2009/5/2
On Wed, May 20, 2009 at 9:31 AM, Skylar Saveland
wrote:
>
> Is this something having to do with pools?
> >
>
Django doesn't pool connections, so unless the original poster is using an
external pool, no.
Alex
--
"I disapprove of what you say, but I will defend to the death your right to
say it."
Hullo everyone,
I can't understand how this is happening... when i go to the admin
page I get two entries for Element,
the database (sqlite3) does not show two tables for Element, and when
you click on the first Element it takes you to the page for Shots?
Is this a bug or am i doing somet
Is this something having to do with pools?
--~--~-~--~~~---~--~~
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
On Wed, May 20, 2009 at 6:24 AM, Felipe Martinez wrote:
>
> Hi, everybody
>
> I've done a simple app using admin actions in django's admin site.
> Everytime somebody executes an action some checks are made and
> messages are delivered informing about actions result (ok, error,
> warnig...etc)
>
>
2009/5/20 Brian Neal
>
> On May 20, 8:33 am, Filip Gruszczyński wrote:
> > I was wondering: have you considered using some callable objects to
> > serve requests in views.py instead of functions?
>
> Sure, check out this blog post (not the only example):
>
>
> http://www.screeley.com/entries/200
On May 20, 8:33 am, Filip Gruszczyński wrote:
> I was wondering: have you considered using some callable objects to
> serve requests in views.py instead of functions?
Sure, check out this blog post (not the only example):
http://www.screeley.com/entries/2009/apr/01/class-based-views-and-reusabl
Ill help myself and anyone else who stumbles across this -
The answer is:
Place.objects.values_list('county', flat=true).distinct()
On May 20, 2:52 pm, Aldo wrote:
> Hi folks,
>
> The problem Im having is that I have a large number of objects.
> Objects are people (name, address, phone etc)
>
1 - 100 of 135 matches
Mail list logo