Re: Django Deployment Methods: Survey (via DjangoSites)

2009-04-09 Thread Ross Poulton
On Apr 9, 11:24 am, Graham Dumpleton wrote: > Is the list of options on the site somewhere where a login isn't > required? I had a dig around when you first mentioned this, but > couldn't find it. The options that can be selected are: DATABASE: - MySQL - PostgreSQL - sqlite - Oracle - MS S

Re: Does anyone know how to prepopulate a form with model data

2009-04-09 Thread Adi Sieker
On 09.04.2009, at 08:18, Briel wrote: > > Hi. > It seems like your error and your problem is not the same. The error > is complaining about the get_object_or_404, not the profile thing. So > changing that code won't actually do anything as it doesn't get that > far. > Well, maybe not. I had the

Positive integer form field with max lenght

2009-04-09 Thread emonk
Hi people. This is my doubt I need make a form field with this restrictions: _field content must be only integers numbers and postive. _filed content must have a max lenght, for example 8 characters. I am confused beacuse models.PositiveIntegerField has no have max_length atribute (have a max_va

Re: Positive integer form field with max lenght

2009-04-09 Thread Malcolm Tredinnick
On Thu, 2009-04-09 at 04:27 -0300, emonk wrote: > Hi people. > This is my doubt > > I need make a form field with this restrictions: > > _field content must be only integers numbers and postive. > _filed content must have a max lenght, for example 8 characters. > > I am confused beacuse models.

Re: Django Deployment Methods: Survey (via DjangoSites)

2009-04-09 Thread Graham Dumpleton
On Apr 9, 5:15 pm, Ross Poulton wrote: > > Sorry if these things might be obvious and I have missed them. Right > > now djangosites isn't even responding properly from where I am. > > Browser not able to get down styling.css properly. Maybe your > > mod_python died from all the traffic. (Hint)

Re: Positive integer form field with max lenght

2009-04-09 Thread Adi Sieker
On 09.04.2009, at 09:27, emonk wrote: > Hi people. > This is my doubt > > I need make a form field with this restrictions: > > _field content must be only integers numbers and postive. > _filed content must have a max lenght, for example 8 characters. > > I am confused beacuse models.PositiveInt

adminsite instance and (registered) related objects question

2009-04-09 Thread patrickk
I´ve recently figured out that if you use different adminsite instances, you have to register every related model with every instance. giving an example: /admin/ ... autodiscover /configuration_admin/ ... config stuff /main_admin/ ... stuff important for editors (e.g. including the model "Movie")

Re: Positive integer form field with max lenght

2009-04-09 Thread emonk
duh, iam a fool Thanks to both for the fast response :) On Thu, Apr 9, 2009 at 4:46 AM, Adi Sieker wrote: > > > On 09.04.2009, at 09:27, emonk wrote: > > > Hi people. > > This is my doubt > > > > I need make a form field with this restrictions: > > > > _field content must be only integers numbe

Re: Details

2009-04-09 Thread zayatzz
Page not found (404) Request Method: GET Request URL:http://127.0.0.1:8000/lang/2 Using the URLconf defined in kyss.urls, Django tried these URL patterns, in this order: 1. ^$ 2. ^admin/(.*) The current URL, lang/2, didn't match any of these. And conf is : urlpatterns = pat

Re: Does anyone know how to prepopulate a form with model data

2009-04-09 Thread Daniel Roseman
On Apr 9, 2:55 am, codecowboy wrote: > I want to create a form that allows a user to edit his/her profile.  I > don't want to bind my form to a model because the form will involve > two different models.  Does anyone have any ideas.  I've read chapter > 7 in the Django Book but it only to a simpl

Re: Details

2009-04-09 Thread johan.uhIe
When you have a look at the error and at your urlsconf.py, you might see that the error does not include your urlconf.py, which it actually should, so the problem must be, that Django is not using your urlconf. Have you included the urlconf in your projects urls.py? Could be something like this:

Re: How To Change App Label in Admin Pages

2009-04-09 Thread johan.uhIe
I'd also liked to know ... On 8 Apr., 13:36, Burcu Hamamcıoğlu wrote: > I have a question about Internationalization; is there anyway to change the > name of app name in admin pages. But I dont't want to override admin html > pages. Can i add a new name to appp like verbose name in models? --~--

Re: How To Change App Label in Admin Pages

2009-04-09 Thread Adi Sieker
Hi, On 09.04.2009, at 10:15, johan.uhIe wrote: > > I'd also liked to know ... > > On 8 Apr., 13:36, Burcu Hamamcıoğlu wrote: >> I have a question about Internationalization; is there anyway to >> change the >> name of app name in admin pages. But I dont't want to override >> admin html >> p

how to connect postgresql

2009-04-09 Thread NK B
hello friends i'm work with django. but i create the reports in java how to link java and postgresql.please help me... i'm try following code but driver found not connect with db what do to import java.sql.DriverManager; import java.sql.Connection; import java.sql.SQLExceptio

Re: Details

2009-04-09 Thread zayatzz
I think it has: My project urlconf is urlpatterns = patterns('', (r'^$', include('p2.front.urls')), #(r'^lang/(?P\d+)/$', 'p2.front.views.changelang'), (r'^admin/(.*)', admin.site.root), ) And front urlconf is: urlpatterns = patterns('p2.front.views', (r'^$', 'in

Customize CheckboxSelectMultiple

2009-04-09 Thread lbologn...@gmail.com
Hi all, in my form i have a CheckboxSelectMultiple field and would like to display a different image next to each checkbox. How would i do that? Thanks, Lorenzo --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Djan

Re: Problem setting up Admin site per chapter 6

2009-04-09 Thread Xpineapple
Thanks for the reply. Again, my goal is just to access admin site successfully. Okay, referencing: http://www.djangobook.com/en/1.0/chapter06/ My urls.py: from django.conf.urls.defaults import * # Uncomment the next two lines to enable the admin: ###from django.contrib import admin ###admin.a

Re: Problem setting up Admin site per chapter 6

2009-04-09 Thread Daniel Roseman
On Apr 9, 1:02 pm, Xpineapple wrote: > Thanks for the reply.  Again, my goal is just to access admin site > successfully. > > Okay, referencing:http://www.djangobook.com/en/1.0/chapter06/ > > My urls.py: > > from django.conf.urls.defaults import * > # Uncomment the next two lines to enable the ad

Re: Details

2009-04-09 Thread zayatzz
It worked! Thanks A lot. Thats what i meant by naming this post as details... its always such little details that im missing that piss me off the most. Thanks again for helping me with this one :D Alan On Apr 9, 2:36 pm, google torp wrote: > Hi. > > I'm guessing a bit here, not sure if it act

Re: Details

2009-04-09 Thread google torp
Hi. I'm guessing a bit here, not sure if it actually will make any difference, but try to delete the $ in the include so it'll become: (r'^', include('p2.front.urls')), $ marks the end of the url, so maybe that is giving you the problem. ~Jakob On 9 Apr., 11:55, zayatzz wrote: > I think it has

Re: Something is eating memory. How to track it down?

2009-04-09 Thread andybak
Thanks everyone. I might offload some big processes into a separate process. The background knowledge I've aquired from this thread is going to help a lot. I still have no flipping idea how to use heapy though! On Apr 9, 12:30 am, Malcolm Tredinnick wrote: > On Wed, 2009-04-08 at 08:43 +0100, A

Re: Aggregates with multiple (conflicting) conditions?

2009-04-09 Thread Russell Keith-Magee
On Thu, Apr 9, 2009 at 12:29 PM, Adam Seering wrote: > > Hey, >        I have a table setup that boils down to something like the following: > > class MyUser(models.Model): >        type = models.IntegerField() > > class MyStuffs(models.Model): >        stuffs = models.ForeignKey(MyUser) > > I wo

Re: JQuery Autocomplete in Django Not Working

2009-04-09 Thread Tomas Zulberti
On Thu, Apr 9, 2009 at 3:16 AM, Gath wrote: > > > Guys, > > I have the following code from some example i got from > here: > http://lethain.com/entry/2007/dec/01/using-jquery-django-autocomplete-fields, > > but its not working on my django application. > > On my templete i have this function: >

Re: how to connect postgresql

2009-04-09 Thread Thomas Guettler
Hi, this is not a django or python problem. I guess you get more help from a java list. Maybe news:comp.lang.java is the right place. Thomas NK B schrieb: > hello friends > i'm work with django. but i create the reports in java > how to link java and postgresql.please help m

Re: how to connect postgresql

2009-04-09 Thread Karen Tracey
On Thu, Apr 9, 2009 at 4:13 AM, NK B wrote: > > hello friends >i'm work with django. but i create the reports in java > how to link java and postgresql.please help me... > > i'm try following code but driver found not connect with db what do > to > You're really on the wrong

Re: JQuery Autocomplete in Django Not Working

2009-04-09 Thread Karen Tracey
On Thu, Apr 9, 2009 at 7:33 AM, Tomas Zulberti wrote: > > On Thu, Apr 9, 2009 at 3:16 AM, Gath wrote: > > > > > > Guys, > > > > I have the following code from some example i got from > > here: > http://lethain.com/entry/2007/dec/01/using-jquery-django-autocomplete-fields > , > > > > but its not

Re: how to connect postgresql

2009-04-09 Thread Karen Tracey
On Thu, Apr 9, 2009 at 9:05 AM, Karen Tracey wrote: > On Thu, Apr 9, 2009 at 4:13 AM, NK B wrote: > >> >> hello friends >>i'm work with django. but i create the reports in java >> how to link java and postgresql.please help me... >> >> i'm try following code but driver found not

Re: Help Figuring Out Relationships

2009-04-09 Thread Daniel Joshua Worth
On Wed, Apr 8, 2009 at 8:25 PM, Malcolm Tredinnick wrote: > > On Wed, 2009-04-08 at 10:37 -0700, PipeManMusic wrote: > > I'm working on a project that handles Discography's and I am having > > trouble figuring out the relationships. > > > > Artist: Can belong to more than one Group play more than

Generic relations swamp

2009-04-09 Thread zayatzz
Seriously. Im reading and reading, but cant understand much or i just dont find good examples. What i have is model structure like this : I have language model, which holds website generic data like language parameter, encoding, website titles, metainfo and so on Then i have bit more complex po

Igoogle integration

2009-04-09 Thread Nick Boucart
Hi, I'm pretty new to django, so bear with me ;) I'm developing a little web application prototype, that I would like to have an igoogle widget for. The content in that iggoogle widget should be similar then a regular view, but without header, sidebar, navigation, etc. (for an example of what I

custom comment app migration

2009-04-09 Thread Eric Abrahamsen
I'm planning on migrating an existing (django.contrib) comments setup into a custom comment app, and I'm wondering if anyone's got any experience to impart in this regard. I have done cross-app data migration before, and cocked it up horribly. These are the steps I'm considering; if anyone

User registration issues

2009-04-09 Thread bax...@gretschpages.com
I have a random/intermittent user registration problem. I can't figure out any pattern to it, but it appears to have started when I went to Django 1.0. Some users (again, it appears random and intermittent) are not getting a site user profile created. The auth.user profile is created, and the reg

Re: Igoogle integration

2009-04-09 Thread Nick Boucart
Hi again, My current thinking is to isolate the common piece of template into a seperate .html file, and include it from different templates and views. Now I'm wondering if it would be possible to reuse the view (which is at the moment of writing a generic view). Ideally, I would like to have a

Re: How to widen the text fields in the admin pages for editing records

2009-04-09 Thread Baxter
On Apr 7, 3:04 pm, Mac wrote: > Any pointers to the documentation for getting the text fields larger > for CharField data?  They're kinda puny for columns that are defined > to have up to 255 characters.  Thanks! I just modified the relevant fields in the admin css. Easy and effective. --~--~-

Re: Running Django admin site using Lighttpd

2009-04-09 Thread Karim Hamdan
Let me rephrase my question. I followed thisHowTo on this group that describes how to run Django using lighty with fcgi, I can access my project website successfully but I fail to a

Re: Running Django admin site using Lighttpd

2009-04-09 Thread Karen Tracey
On Thu, Apr 9, 2009 at 10:35 AM, Karim Hamdan wrote: > Let me rephrase my question. I followed > thisHowTo > on this group that describes how to run Django using lighty with fcg

Re: Running Django admin site using Lighttpd

2009-04-09 Thread Daniel Roseman
On Apr 9, 3:35 pm, Karim Hamdan wrote: > Let me rephrase my question. I followed > thisHowTo > on this group that describes how to run Django using lighty with fcgi, > I can access my project website successfully but I fail

Re: Igoogle integration

2009-04-09 Thread Florian Strzelecki
Hello, I think you could use this : http://docs.djangoproject.com/en/dev/topics/http/urls/#passing-extra-options-to-view-functions You can give some parameters to your view function, defined into the url pattern. So, when it's /mycooldfeed you will write {'template': 'normal_template.tpl'} and whe

Re: Generic relations swamp

2009-04-09 Thread matehat
First of all, the ModelAdmin needs to know about how to handle the generic relations and whether you even need them to appear. You need to subclass "generic.GenericTabularInline" (in the same way you subclassed "admin.ModelAdmin") and specify fields you want to be able to edit on that Trans object

Re: set default value for combo-boxes in admin interface

2009-04-09 Thread Great Kindness
Thanks, Karen. Before your reply, I had read that page (that you linked to) so many times but I just kept overlooking the default option. On Apr 8, 6:00 pm, Karen Tracey wrote: > On Wed, Apr 8, 2009 at 5:42 PM, Great Kindness wrote: > > > > > I'm just getting started with django. When I'm using

add 'link' to admin interface of model

2009-04-09 Thread Psihonavt
good evening guys! have a question: in my model i have a field, like guarantee = models.CharField(_("Link to guarantee"), max_length=250, blank=True) to this charfield, on some conditions, i generate some link (f.e. http://myshop.com/guarantee/47/) What i want is: in admin interface of my model, i

Re: Looking for something lighter than Sproutcore or Cappuccino that integrates well with Django

2009-04-09 Thread Rob Madole
You did kinda answer the question. It's good to know that others are going through this too. I was looking for confirmation that this was actually a problem. The spaghetti code, I definitely see that too. Because of the glob of junk that you have to deal my projects end up being a lot of glue

Re: Running Django admin site using Lighttpd

2009-04-09 Thread Adam N
On Apr 9, 10:51 am, Daniel Roseman wrote: > On Apr 9, 3:35 pm, Karim Hamdan wrote: > > > Let me rephrase my question. I followed > > thisHowTo > > on this group that describes how to run Django using lighty with fcgi, > >

How to use InlineModelAdmin for ManyToMany without an Intermediary model?

2009-04-09 Thread Christopher Dodd
InlineModelAdmin needs a model that has foreign keys that define the relationship. Since the relationship is kept in a table that has no (explicit) model, I'm not sure how to do this. I've got it working in the cases where I use an Intermediary model, but am stumped in the cases where I don't hav

Limiting Choices of a ForeignKey with 'self'.

2009-04-09 Thread Nicky Bulthuis
Hello Django Users, I'm trying to learn Django as best as i can, however i've come to problem which i hope someone can help me with. I have two models, Release and OTAP. A Release is a reference to a file and linked to an OTAP. An OTAP can have a Release for each of the 4 environments. I've

admin actions bar

2009-04-09 Thread kidole
Having success with admin features, but cannot get the actions bar nor the selection checkboxes to appear even the the simplest app, e.g., the tutorial. Is there some other option that is required that is not mentioned in the "Admin actions" documentation? Or a simple example that works? --~--~

Re: admin actions bar

2009-04-09 Thread kidole
That is it, we have 1.0.2, many thanks for the immediate reply. Mark On Apr 9, 1:44 pm, Karen Tracey wrote: > On Thu, Apr 9, 2009 at 1:40 PM, kidole wrote: > > > Having success with admin features, but cannot get the actions bar nor > > the selection checkboxes to appear even the the simplest

Re: admin actions bar

2009-04-09 Thread Karen Tracey
On Thu, Apr 9, 2009 at 1:40 PM, kidole wrote: > > Having success with admin features, but cannot get the actions bar nor > the selection checkboxes to appear even the the simplest app, e.g., > the tutorial. Is there some other option that is required that is not > mentioned > in the "Admin actio

Re: Generic relations swamp

2009-04-09 Thread zayatzz
Thanks. That worked for enabling translations for poll names - i had to insert 'from django.contrib.contenttypes import generic', right? It worked, but it raised few more questions. When creating poll i get lines for name translations now and in front of each of them there is language drop down m

Re: Pass subdomain to a view function.

2009-04-09 Thread Florian Strzelecki
And what about use the "request" parameter ? Link : http://docs.djangoproject.com/en/dev/ref/request-response/#django.http.HttpRequest.get_host You can use the request.get_host() to know what is the host using, and so make what you want (some split and catch the first part "user1"). 2009/4/9 Rodr

Trying to dynamically control FLV video

2009-04-09 Thread saved...@gmail.com
I have been working on an question/answer app that embeds a video along with the question. If the user answers the question correctly, then the app redirects to the next question/video. Would the best practice be to embed the video using a template tag (videoplayer.py, for example), or to use a

Re: Running Django admin site using Lighttpd

2009-04-09 Thread Karim Hamdan
Thanks a lot for the replies. It seems that I was following the wrong HowTo. To make things clear, here's what I am trying to do. I am actually new to using Django so I followed the 4 tutorials provided on Django's website, and everything (admin site, polls site) was working fine using the developm

Selecting date formats for aggregate calculations from database with Django

2009-04-09 Thread Andrew C
I would like to do aggregate calculations based on month for a datetime field. I am currently using the extra() function to format the date like: ...extra(select="strftime('column', '%m/%Y') as t").values ('t').annotate(SUM(foo)) and it works great for sqlite3. In sqlite3 I can use strftime(),

referencing a specific item in a list...

2009-04-09 Thread Walt
After extensive searching, I'm still unable to find a way to reference individual items in a list without using a for loop. For example, I have this basic code in my views.py: project_list = Project.objects.all().order_by('-id')[:6] t = loader.get_template('portfolio/index.php') c =

inheritance, abstract base classes and generic foreign keys

2009-04-09 Thread herr.klein...@googlemail.com
Hi! I have cages filled with animals. All animals can move, but they do it all differently. Some animals even have attributes the others don't. Now i want all the animals in a cage to move. How do i implement that in Django? First i thought i could use simple inheritance, serialize the attribute

Re: referencing a specific item in a list...

2009-04-09 Thread Colin Bean
On Thu, Apr 9, 2009 at 3:23 PM, Walt wrote: > > After extensive searching, I'm still unable to find a way to reference > individual items in a list without using a for loop. > > For example, I have this basic code in my views.py: > >    project_list = Project.objects.all().order_by('-id')[:6] > >

Awkward Password Requirements

2009-04-09 Thread Daniel Watkins
Hello all, I'm currently working on an implementation of the server-side of an already-defined protocol. So, no, I can't do things differently. :) The protocol performs authentication by passing a token which is "md5(md5(password) + timestamp)" and the timestamp. I then need to calculate the s

Re: inheritance, abstract base classes and generic foreign keys

2009-04-09 Thread Malcolm Tredinnick
On Thu, 2009-04-09 at 15:48 -0700, herr.klein...@googlemail.com wrote: > Hi! > > I have cages filled with animals. All animals can move, but they do it > all differently. Some animals even have attributes the others don't. > Now i want all the animals in a cage to move. > > How do i implement th

Re: referencing a specific item in a list...

2009-04-09 Thread Walt
Thank you! Works perfectly! Major complaint about Django: some simple things like syntax and complete API details are either missing from the documentation or glossed over, a la the link you included. I would've taken from that to try my original "project_list[1]" since I thought it would be a li

Re: Awkward Password Requirements

2009-04-09 Thread Malcolm Tredinnick
On Fri, 2009-04-10 at 00:28 +0100, Daniel Watkins wrote: > Hello all, > > I'm currently working on an implementation of the server-side of an > already-defined protocol. So, no, I can't do things differently. :) > > The protocol performs authentication by passing a token which is > "md5(md5(pas

Re: Awkward Password Requirements

2009-04-09 Thread Tim Chase
> hash. The reason straight hashes like that aren't stored in > password tables is because they're vulnerable to dictionary > attacks, aided by techniques such as rainbow tables (I'm > mentioning that term so that you have something to search for > if you're interested). Hence, hashes are normall

Re: Selecting date formats for aggregate calculations from database with Django

2009-04-09 Thread Russell Keith-Magee
On Fri, Apr 10, 2009 at 5:23 AM, Andrew C wrote: > > I would like to do aggregate calculations based on month for a > datetime field. This feature request has been made before; it's logged as ticket #10302. > I am currently using the extra() function to format the date like: > > ...extra(select

Re: JQuery Autocomplete in Django Not Working

2009-04-09 Thread Charleno Pires
Use firebug to see if loading jquery. If not loading Jquery. Try this in your terminal. I'm using Ubuntu 8.04, but the path depends of your system operating. export PYTHONPATH=/home/user/directory_of_your_project export DJANGO_SETTINGS_MODULE=your_project.settings django-admin.py runserver --adm

Re: Trying to dynamically control FLV video

2009-04-09 Thread Michael Newman
On Apr 9, 4:59 pm, "saved...@gmail.com" wrote: > I have been working on an question/answer app that embeds a video > along with the question.  If the user answers the question correctly, > then the app redirects to the next question/video.  Would the best > practice be to embed the video using a

form error_messages doesnt work

2009-04-09 Thread emonk
Hi, I have *this form:* class registerForm(forms.Form): aNumber = forms.IntegerField( label='Some Integer Field', max_value=, min_value=100, help_text='7

Re: Django Deployment Methods: Survey (via DjangoSites)

2009-04-09 Thread Ross Poulton
On Apr 9, 5:41 pm, Graham Dumpleton wrote: > The djangosites about page says: > >   Served by Apache and mod_python Oops - that's a little bit out of date. Thanks for the heads-up :) It's now updated to reflect how it's actually served: nginx/fastcgi on a Rimuhosting VPS. > The site seems to wo

Re: form error_messages doesnt work

2009-04-09 Thread emonk
I do not understand that these messages are not working as if the other Who care if i talk about lenght, what happen if i talk about range of numbers? That should be work just like the message "invalid" . On Thu, Apr 9, 2009 at 11:50 PM, Malcolm Tredinnick < malc...@pointy-stick.com> wrote: > > O

Re: form error_messages doesnt work

2009-04-09 Thread emonk
btw, thanks anyway :) On Fri, Apr 10, 2009 at 12:07 AM, emonk wrote: > I do not understand that these messages are not working as if the other > Who care if i talk about lenght, what happen if i talk about range of > numbers? > That should be work just like the message "invalid" . > > > On Thu,

Re: form error_messages doesnt work

2009-04-09 Thread Malcolm Tredinnick
On Fri, 2009-04-10 at 00:07 -0300, emonk wrote: > I do not understand that these messages are not working as if the > other > Who care if i talk about lenght, what happen if i talk about range of > numbers? I wrote that you need to accept a format parameter in the error messages (the "%s"). Have

Re: form error_messages doesnt work

2009-04-09 Thread Malcolm Tredinnick
On Thu, 2009-04-09 at 23:23 -0300, emonk wrote: > Hi, > I have this form: > class registerForm(forms.Form): > aNumber = forms.IntegerField( > label='Some Integer Field', > max_value=, > > m

Re: form error_messages doesnt work

2009-04-09 Thread emonk
I understand your point, but how i do if i dont want to show the %s in my custom error message? :S On Fri, Apr 10, 2009 at 12:22 AM, Malcolm Tredinnick < malc...@pointy-stick.com> wrote: > > On Fri, 2009-04-10 at 00:07 -0300, emonk wrote: > > I do not understand that these messages are not workin

Re: form error_messages doesnt work

2009-04-09 Thread Malcolm Tredinnick
On Fri, 2009-04-10 at 00:48 -0300, emonk wrote: > I understand your point, but how i do if i dont want to show the %s in > my custom error message? :S I mentioned that in my original reply in this thread: Use CharField or RegexField. Regards, Malcolm --~--~-~--~~~

Re: form error_messages doesnt work

2009-04-09 Thread emonk
Thanks but is not a better solution, this is bug http://code.djangoproject.com/ticket/8104#comment:1 On Fri, Apr 10, 2009 at 12:52 AM, Malcolm Tredinnick < malc...@pointy-stick.com> wrote: > > On Fri, 2009-04-10 at 00:48 -0300, emonk wrote: > > I understand your point, but how i do if i dont want

Re: form error_messages doesnt work

2009-04-09 Thread Alex Gaynor
On Thu, Apr 9, 2009 at 11:58 PM, emonk wrote: > Thanks but is not a better solution, this is bug > http://code.djangoproject.com/ticket/8104#comment:1 > > On Fri, Apr 10, 2009 at 12:52 AM, Malcolm Tredinnick < > malc...@pointy-stick.com> wrote: > >> >> On Fri, 2009-04-10 at 00:48 -0300, emonk wro

Re: form error_messages doesnt work

2009-04-09 Thread emonk
ok ok, i will use a regexp field, but I still think they should be able to make a custom error message for form.IntegerField without %s . thanks for your help guys. On Fri, Apr 10, 2009 at 1:02 AM, Alex Gaynor wrote: > > > On Thu, Apr 9, 2009 at 11:58 PM, emonk wrote: > >> Thanks but is not a b

Flup question

2009-04-09 Thread mysticalfirebird
I`m a rookie. I wonder how flup work. I have typed "python manage.py runfcgi host=127.0.0.1 port=8000 daemonize=false ". the terminal return nothing but a newline. I try to visit http://127.0.0.1:8000/ with my Firefox.but no page return.and the port(127.0.0.1:8000) is used. if I type "python

ApplicationError: 2 nonnumeric port: ''

2009-04-09 Thread Jarred Bishop
Hello, I'm getting a nonnumeric port error and was wondering if anyone could shed some light on it? I'm running python 2.5.1 and trying to use this (http:// www.djangosnippets.org/snippets/1353/) django snippet to add oauth functionality to my app. The line that it doesn't like is: ' response = c

Re: Flup question

2009-04-09 Thread Alex Koshelev
Flup is just a proxy library between your Django project and web-server. It is communicating with web-server through FastCGI protocol. So you cannot just start FastCGI daemon and visit you project with browser. To work properly you must set up your web-server's FastCGI capabilities and direct it t