Hi ,all
I encounter a issue lasting 3 days, any help will be highly
appreciate.
view:
market_volumn={}
for m in marketTypeList:
market_volumn[m]=MarketVolumn.objects.filter
(marketType=m).order_by('week')
print market_volumn
in the console ,the print result like this:
On Mar 21, 12:04 pm, Malcolm Tredinnick
wrote:
> On Fri, 2009-03-20 at 20:47 -0400, Jack Orenstein wrote:
> > I'm running Django 1.02 and my application is running with the
> > development server. I'm trying to move it over to Apache2 + wsgi.
>
> > Here is my httpd.conf setup for wsgi:
>
> >
On Sat, 2009-03-21 at 15:48 +1100, Malcolm Tredinnick wrote:
[...]
> {% regroup status_counts by provider as s_counts %}
>
> {% for object in s_counts %}
>{% ifchanged object.provider %}
> {{ object.provider__name }}
> {{ object.prov
On Sat, 2009-03-21 at 15:32 +1100, Malcolm Tredinnick wrote:
> [...]
> You then have something you can either merge with the provider objects
> in the view (assigning each dictionary to an attribute on the provider
> object that matches the "provider" key), or use some other way in the
> t
On Fri, 2009-03-20 at 03:01 -0700, Jamie Pittock wrote:
> Hi all,
>
> I have two models, Provider and Record. Record has the foreign key
> provider_id. In my template I'm displaying how many records a
> provider has by using object.record__set.count. If Record had a
> status field, how would I
Your the man john, that worked with basically no modification, thanks
a ton!
On Mar 16, 8:27 pm, John Hensley wrote:
> On Mar 16, 2009, at 3:46 PM, Dana wrote:
>
>
>
> > I am wondering what the simplest way to send an attachment with
> > django-
> > contact-form (http://code.google.com/p/djang
thanks for you response ! i will visit this link !
2009/3/21 Alex Gaynor
>
>
> On Fri, Mar 20, 2009 at 12:48 PM, 小长乐 wrote:
>
>>
>>hi every body ,
>>i'm new in django,and now i have a problem in my project .the
>> built-in comment framework has several fields like name ,urls,comment
>
On Fri, Mar 20, 2009 at 9:22 PM, chachra wrote:
>
> Excellent. This would work. Except that this work would have to be
> done on every page load, unless template (pre-rendered versions) get
> cached?
>
> Thanks!
>
>
> On Mar 20, 5:30 pm, Alex Gaynor wrote:
> > On Fri, Mar 20, 2009 at 8:28 PM, ch
Excellent. This would work. Except that this work would have to be
done on every page load, unless template (pre-rendered versions) get
cached?
Thanks!
On Mar 20, 5:30 pm, Alex Gaynor wrote:
> On Fri, Mar 20, 2009 at 8:28 PM, chachra wrote:
>
> > Agreed. I was just wondering if people using D
Thank you. I appreciate the quick response.
--~--~-~--~~~---~--~~
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 Fri, 2009-03-20 at 20:47 -0400, Jack Orenstein wrote:
> I'm running Django 1.02 and my application is running with the
> development server. I'm trying to move it over to Apache2 + wsgi.
>
> Here is my httpd.conf setup for wsgi:
>
> LoadModule wsgi_module modules/mod_wsgi.so
> WSG
On Fri, 2009-03-20 at 16:26 -0700, LD wrote:
> Hi,
>
> Today I enforced strange situation, hope it is strange only for me nad
> you will quickly tell me what stupidness I am doing.
>
> Well, today I have switched from sqlite to postgre. Everything was
> perfect since I've tried to run set of uni
I'm running Django 1.02 and my application is running with the
development server. I'm trying to move it over to Apache2 + wsgi.
Here is my httpd.conf setup for wsgi:
LoadModule wsgi_module modules/mod_wsgi.so
WSGIScriptAlias /foobar/ "/var/www/html/foobar/wsgi_handler.py"
WSGID
On Fri, 2009-03-20 at 13:40 -0400, Giovannetti, Mark wrote:
[...]
> Yes, the search I performed turned up a few others, too.
> One was two years old, the other is 7 months old.
Opening a new ticket would not have helped that at all. Normally people
create dupes because they are unaware of the exi
On Fri, Mar 20, 2009 at 6:28 PM, Brian McKeever wrote:
>
> What am I doing wrong?
> Is there any other way to do what I want?
> I'm basically trying to implement the GOF's strategy design pattern
> (the real code is more complicated than this example).
>
> ## my models
> class Donkey(models.Model
Hi,
Today I enforced strange situation, hope it is strange only for me nad
you will quickly tell me what stupidness I am doing.
Well, today I have switched from sqlite to postgre. Everything was
perfect since I've tried to run set of unit tests for my project.
Every time my tests deals with sit
What am I doing wrong?
Is there any other way to do what I want?
I'm basically trying to implement the GOF's strategy design pattern
(the real code is more complicated than this example).
## my models
class Donkey(models.Model):
name = models.CharField(max_length=11)
class Barn( models.M
On Fri, 2009-03-20 at 13:14 -0400, Amit Prahesh wrote:
> Hello,
>
> I have a model that should have a group of users related to it.
> Basically much like Django's Group. Now, normally this kind of
> relation is easily done by puting in the user object a ManyToOne field
> to the 'container' model.
On Fri, Mar 20, 2009 at 8:28 PM, chachra wrote:
>
> Agreed. I was just wondering if people using Django do this often, and
> if there is a "django way" of doing it!
>
> I have the fabric bit working, albeit serially. But looking at some
> library to compress html templates, before launching new c
Agreed. I was just wondering if people using Django do this often, and
if there is a "django way" of doing it!
I have the fabric bit working, albeit serially. But looking at some
library to compress html templates, before launching new code.
Thanks!
On Mar 20, 4:23 pm, Alex Gaynor wrote:
> On
On Fri, 2009-03-20 at 11:38 -0400, Dan Mallinger wrote:
> Thanks Malcolm. I'll try and look into this when I have a little
> time. It would be nice to be able to contribute
By the way, I believe this problem really shouldn't be that hard to fix,
so it isn't a bad way to start out diving into th
On Fri, 2009-03-20 at 07:29 -0700, ihome wrote:
> Hi,
>
> I have to load lots of float numbers into my html pages in list or
> list of list format. Even though django template allows me to use a
> filter to control the precision of float numbers it is still a pain.
> So are the use of "%.2f" each
Thanks ... I will keep trying
My temporary solution is to have my own apache process running on
another port (i.e. 8000) (Here we don't experience the coding
problems)
We have configured the main apache (on port 80) to act as a proxy to
my "private" apache ... and the user experiences a clean res
On Fri, Mar 20, 2009 at 7:19 PM, chachra wrote:
>
> Hi,
>
> Sorry if this has been discussed before. I am minifying my js/css
> using a simply python script + yui compressor.
>
> I would like to write a "deploy script" that takes all my code +
> removes all white spaces, newlines etc. from all my
Hi,
Sorry if this has been discussed before. I am minifying my js/css
using a simply python script + yui compressor.
I would like to write a "deploy script" that takes all my code +
removes all white spaces, newlines etc. from all my template (.html)
files.
This should help improve page loads +
On Mar 20, 3:00 pm, elm wrote:
> Thanxs for the advice Ian!!!
>
> But unfortunately I haven't been succesful.
>
> I have set the NLS_LANG to .UTF8 in the directive at the
> apache conf file:
>
>
> SetHandler python-program
> PythonHandler django.core.handlers.modpython
> SetEnv DJAN
Thanks Greg :-)
On Mar 21, 1:27 am, Greg Fuller wrote:
> http://code.google.com/p/django-fckconnector/http://code.google.com/p/django-tinymce/
>
> On Mar 20, 7:37 am, Joshua Partogi wrote:
>
> > Dear all,
>
> > Does anyone know where I can get an opensource plug and play
> > RichTextField widg
Hi.
If you want to do anything clientside, meaning you want to react on
input fields being selected or certain values being input ect you need
javascript. Django can only react on data being sent or urls being
asked for, not what the user is typing.
Now it's not clear exactly you what it is you w
I didn't take a detailed look at the code, but can't you just make a
function that is called by both view functions?
On Mar 20, 12:15 pm, nerdydork wrote:
> I have the following two functions (not complete, but should give you
> an idea of what I'm doing):http://dpaste.com/16964/
>
> Lines 5-44
Hmm. I might downgrade my cs_Oracle and see if that makes a
difference. I double-checked my import statements and they match what
you have:
from tagging.models import Tag
from tagging.fields import TagField
but still, no dice. I'll post my findings here. It may well be a bug
in cx_Oracle-5.0.1.
Thanxs for the advice Ian!!!
But unfortunately I haven't been succesful.
I have set the NLS_LANG to .UTF8 in the directive at the
apache conf file:
SetHandler python-program
PythonHandler django.core.handlers.modpython
SetEnv DJANGO_SETTINGS_MODULE reportes_edd.settings
Python
Yes, it was the firewall. Thanks Colin!
On Mar 20, 12:46 pm, Colin Bean wrote:
> On Fri, Mar 20, 2009 at 11:28 AM, QUILAD wrote:
>
> > I'm starting my first Django python project. Running on Linux RH4
> > server.
>
> > When I run
> > manage.py runserver 10.112.112.12:8080
>
> > I get:
>
> >
Hi,
> I'd recommend you use all the power of your webserver for this (apache
> or nginx or whatever). There should be no specific modifications on
> the django site if you do it right.
Thank you for your recommandation, actualy i try with a short django
application.
> I think this gui has the f
On Mar 20, 1:52 pm, Brandon Taylor wrote:
> Hmm. Well, I guess the only thing left to ask is what version of
> Django and Tagging you're running?
>
> I'm using Oracle 10g, cx_Oracle-5.0.1, Django and Tagging from svn.
> Other than that, I'm at a loss :)
The same, but cx_Oracle 4.4.1.
On Mar 20
Thank you!
Cheers,
Paulo Köch
On Fri, Mar 20, 2009 at 14:27, Greg Fuller wrote:
>
> http://code.google.com/p/django-fckconnector/
> http://code.google.com/p/django-tinymce/
>
> On Mar 20, 7:37 am, Joshua Partogi wrote:
>> Dear all,
>>
>> Does anyone know where I can get an opensource plug an
Hernan Olivera wrote:
[...]
> Anyway, It was a little dataentry system. Now I am working in a bigger
> project with mysql or postgress, depending on performance issues. I
> will test both. (Django is my friend)
Hi Hernan!
Thank you very much for sharing your thoughts and experience, I
appreciate
Ugh, sorry, that's: fields.py, not forms.py
On Mar 20, 2:54 pm, Brandon Taylor wrote:
> When you say "fixed the import" how so? I'm not seeing where I can
> import TagField from any other location in tagging other than
> forms.py.
>
> On Mar 20, 2:52 pm, Brandon Taylor wrote:
>
> > Hmm. Well, I
When you say "fixed the import" how so? I'm not seeing where I can
import TagField from any other location in tagging other than
forms.py.
On Mar 20, 2:52 pm, Brandon Taylor wrote:
> Hmm. Well, I guess the only thing left to ask is what version of
> Django and Tagging you're running?
>
> I'm usi
Hmm. Well, I guess the only thing left to ask is what version of
Django and Tagging you're running?
I'm using Oracle 10g, cx_Oracle-5.0.1, Django and Tagging from svn.
Other than that, I'm at a loss :)
b
On Mar 20, 2:12 pm, Ian Kelly wrote:
> On Mar 20, 12:08 pm, Brandon Taylor wrote:
>
> > N
On Fri, Mar 20, 2009 at 11:28 AM, QUILAD wrote:
>
> I'm starting my first Django python project. Running on Linux RH4
> server.
>
> When I run
> manage.py runserver 10.112.112.12:8080
>
> I get:
>
> Validating models...
> 0 errors found
>
> Django version 1.0.2 final, using settings 'repairwf.se
Hi,
I have been browsing the documentation, but I could not find obvious
link to instructions of uploading the file that created through
tutorials.
I have a server and use winSCP to upload htmls. Is there a page that
instruct us how to publish webpages?
This should be very easy. Thank You.
Derek
I'm starting my first Django python project. Running on Linux RH4
server.
When I run
manage.py runserver 10.112.112.12:8080
I get:
Validating models...
0 errors found
Django version 1.0.2 final, using settings 'repairwf.settings'
Development server is running at http://10.112.112.12:8080/
Qui
On Mar 20, 11:16 am, Ian Kelly wrote:
> As far as I know, the NLS_LANG environment variable is the only way to
> specify the client encoding in cx_Oracle. If that can't be relied
> upon within your Apache process, then I think you would need to run
> Django either as a CGI or under a separate Ap
> Seems like you're seeing this:http://code.djangoproject.com/ticket/10060
Yes, It's a big bug.
> Try to add distinct() to query set.
It's work.. Thanks Alex... distinct is not very fast but it's last way
to fix the problem...
Proper query:
e = File.objects.annotate(comment_cnt=Count('comment',
On Mar 20, 12:08 pm, Brandon Taylor wrote:
> Nope, still not working. If you're not defining tags = TagField() in
> the model, how are you defining it? As a CharField? I'd like to see
> how your model is set up.
>
> Of course, if I create a CharField and call it tags, it will show up.
> Even over
Try to add distinct() to query set.
On Fri, Mar 20, 2009 at 10:06 PM, eli wrote:
>
> Hi,
>
> I have a problem with Django Orm annotate method..
>
> My models (application: app):
>
> class File(models.Model):
> name = models.CharField(max_length=255)
> file = MyFileField(upload_to=...)
>
> clas
I'm using latest SVN version of Django (10105 revision)
regards.
--~--~-~--~~~---~--~~
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
On Fri, Mar 20, 2009 at 3:06 PM, eli wrote:
>
> Hi,
>
> I have a problem with Django Orm annotate method..
>
> My models (application: app):
>
> class File(models.Model):
> name = models.CharField(max_length=255)
> file = MyFileField(upload_to=...)
>
> class Visit(models.Model):
> file = model
Hi,
I have a problem with Django Orm annotate method..
My models (application: app):
class File(models.Model):
name = models.CharField(max_length=255)
file = MyFileField(upload_to=...)
class Visit(models.Model):
file = models.ForeignKey(File)
class Comment(models.Model):
file = models
Nope, still not working. If you're not defining tags = TagField() in
the model, how are you defining it? As a CharField? I'd like to see
how your model is set up.
Of course, if I create a CharField and call it tags, it will show up.
Even overriding the form for the admin, and overriding tags: tag
Yes this was it.
My field is
ui = models.SmallIntegerField(default=0,choices=RATING_CHOICES)
Thank you very much.
On Feb 26, 10:31 pm, Arien wrote:
> [fixed top-posting]
>
>
>
> On Thu, Feb 26, 2009 at 09:31,Matej wrote:
> > On Feb 26, 3:38 pm, Alex Gaynor wrote:
> >> On Thu, Feb 26, 2009 a
Hello group,
I like to know an software (poll system) that doing a per month
classification of totalization of votes.
I was testing the polldaddy software, but the same do not show-me a
per-month classification of all votes.
If somebody know of any softwares that resolves this limitation and
ca
Hello,
I have a model that should have a group of users related to it.
Basically much like Django's Group. Now, normally this kind of
relation is easily done by puting in the user object a ManyToOne field
to the 'container' model. However, I don't actually have a User object
since I'm using the o
> -Original Message-
> From: django-users@googlegroups.com
> [mailto:django-us...@googlegroups.com] On Behalf Of Malcolm Tredinnick
> Sent: March 19, 2009 22:18
> To: django-users@googlegroups.com
> Subject: Re: Permission model's CharField fields, name and
> codename, too short
>
>
On 20 Mrz., 17:21, Ramiro Morales wrote:
> On Wed, Mar 18, 2009 at 7:23 PM, waltbrad wrote:
>
> > First time I think I've ever tried this. I'm using postgres and the
> > database is configured correctly and I have psql.exe on my path.
>
> > So at the dos prompt I can:
>
> > C:\>psql -d postgre
On Mar 20, 6:51 am, elm wrote:
> > Are you sharing the web server with web applications written using
> > something else, such as PHP? If PHP is playing with the language
> > settings, you might be hitting an ordering problem. That is, it works
> > if any PHP code gets executed first in a specifi
Hi there,
i am trying to implement a contact form where some fields are shown by
default and others shall be shown if some of default is selected. What
my options of implementing this feature would be?
1. Javascript into the template - but then how would i change the
shown template if anything is
On Fri, Mar 20, 2009 at 12:48 PM, 小长乐 wrote:
>
>hi every body ,
>i'm new in django,and now i have a problem in my project .the
> built-in comment framework has several fields like name ,urls,comment
> and so on! but in my project ,i only want the users to input the
> comment field only,s
hi every body ,
i'm new in django,and now i have a problem in my project .the
built-in comment framework has several fields like name ,urls,comment
and so on! but in my project ,i only want the users to input the
comment field only,so how can i custom the comments framework ? or
any other
Hmm. Curious. The exact same code works with MySQL and SQLite3 for me.
Oh well, let me switch it up and see if it's happy.
Kind regards,
b
On Mar 20, 11:37 am, Ian Kelly wrote:
> On Mar 20, 8:26 am, Brandon Taylor wrote:
>
> > Hi Ian,
>
> > Thanks for the response. The test case is adding the
On Mar 20, 8:26 am, Brandon Taylor wrote:
> Hi Ian,
>
> Thanks for the response. The test case is adding the TagField() to any
> model.
>
> Here's an excerpt from my model class:
>
> #models.py
> from django.db import models
> from django.contrib import admin
> from tagging.models import Tag
> fr
Hi Fabio!
I have used a similark workflow withouth problems, no matters with the
db svn backup.
I have also deleted (sometimes renamed) my development db file to
prevent overwriting the svn version, but if you are ordered and write
appropiate messages when commit, it's easy to fix (I have commite
On Wed, Mar 18, 2009 at 7:23 PM, waltbrad wrote:
>
> First time I think I've ever tried this. I'm using postgres and the
> database is configured correctly and I have psql.exe on my path.
>
> So at the dos prompt I can:
>
> C:\>psql -d postgres -U admin
>
> type in the password and I'm fine. If I
I have the following two functions (not complete, but should give you
an idea of what I'm doing): http://dpaste.com/16964/
Lines 5-44 and 51-90 were a basic copy/paste job. How do I pull those
out into a separate function, or have the first function call the
other and still get the variables I ne
Hi Andy! Thanks for your kind reply.
Andy Mckay wrote:
[...]
> Best practice imho is not to use SQL lite for anything other than
> quickly playing around. I would strongly recommend postgres (other
> people my recommend others).
- I'll manage quite a small bunch of data, say personal informa
Same problem here and no additional information. Could somebody please
help us? Thank you!
On 18 Mrz., 23:23, waltbrad wrote:
> First time I think I've ever tried this. I'm using postgres and the
> database is configured correctly and I have psql.exe on my path.
>
> So at the dos prompt I can:
>
Thanks Malcolm. I'll try and look into this when I have a little time. It
would be nice to be able to contribute
Cheers,
Dan
On Thu, Mar 19, 2009 at 6:38 PM, Malcolm Tredinnick <
malc...@pointy-stick.com> wrote:
>
> On Thu, 2009-03-19 at 12:53 -0700, Dan wrote:
> > Hi all,
> >
> > Is there a w
On Mar 20, 6:16 am, Alfonso wrote:
> Hi,
>
> Insanely simple answer here I think but I'm trying to sort some url
> errors in a mapping app. Virtual earth requires an absolute url to
> the KML file django is generating for me and I can't seem to work out
> how to define that in the urls.py. of
On Fri, Mar 20, 2009 at 11:02 AM, Dougal Matthews wrote:
> You might find this useful. It's an app aimed at google map usage with django.
>
> http://code.google.com/p/django-googlemap/
it seems a bit outdated, I think it's not 1.0 compatible.
I'll look into this code, thanks.
--
Alessandro Ron
Hi,
I have to load lots of float numbers into my html pages in list or
list of list format. Even though django template allows me to use a
filter to control the precision of float numbers it is still a pain.
So are the use of "%.2f" each to dump the float numbers.
Does anyone know whether django
http://code.google.com/p/django-fckconnector/
http://code.google.com/p/django-tinymce/
On Mar 20, 7:37 am, Joshua Partogi wrote:
> Dear all,
>
> Does anyone know where I can get an opensource plug and play
> RichTextField widget for django out there?
>
> Thank you very much in advance.
>
> --
>
Hi Ian,
Thanks for the response. The test case is adding the TagField() to any
model.
Here's an excerpt from my model class:
#models.py
from django.db import models
from django.contrib import admin
from tagging.models import Tag
from tagging.forms import TagField
class ActivityCode(models.Mode
Dear all,
Does anyone know where I can get an opensource plug and play
RichTextField widget for django out there?
Thank you very much in advance.
--
If you can't believe in God the chances are your God is too small.
Read my blog: http://joshuajava.wordpress.com/
Follow me on twitter: http://t
On Fri, Mar 20, 2009 at 7:20 AM, Antonio wrote:
>
> Hello.
>
> My site actually uses templates extending a base template "base.html".
> Now I would like to include in each page of the site a search form.
> Obviously I have to work on base template.
>
> The "immediate" solution is writing raw html
> Are you sharing the web server with web applications written using
> something else, such as PHP? If PHP is playing with the language
> settings, you might be hitting an ordering problem. That is, it works
> if any PHP code gets executed first in a specific process and doesn't
> otherwise, or vi
Hello.
My site actually uses templates extending a base template "base.html".
Now I would like to include in each page of the site a search form.
Obviously I have to work on base template.
The "immediate" solution is writing raw html to display the form. But
is that the only solution?
I was won
Thanks Alex.
It worked beautifully now.
Regards,
On Mar 20, 12:43 am, Alex Gaynor wrote:
> On Thu, Mar 19, 2009 at 9:32 AM, Joshua Partogi wrote:
>
>
>
>
>
> > Dear all,
>
> > How do I get the current logged in user to be used and inserted to a model?
> > from django.db import models
> > from
On Mar 20, 10:06 pm, elm wrote:
> Thanks for the hint,
>
>
>
> > Indeed, that's the latin1 encoding of 'OTOÑO', notutf8. Maybe Oracle
> > is getting somehow getting the client encoding confused. Try setting
> > the environment variable NLS_LANG = '.UTF8' for the Apache process.
>
> I will exp
On 20-Mar-09, at 3:15 AM, Fabio Natali wrote:
> However, on updating the website, I must be very *careful* and run a
> selective update/merge: I must not overwrite the data.db file which is
> on the web server and actually the most important piece of the story.
Best practice imho is not to use S
Thanks for the hint,
>
> Indeed, that's the latin1 encoding of 'OTOÑO', notutf8. Maybe Oracle
> is getting somehow getting the client encoding confused. Try setting
> the environment variable NLS_LANG = '.UTF8' for the Apache process.
I will explore that path. It clearly has some relation w
Hi,
Insanely simple answer here I think but I'm trying to sort some url
errors in a mapping app. Virtual earth requires an absolute url to
the KML file django is generating for me and I can't seem to work out
how to define that in the urls.py. of course I can just prepend the
site root to the V
Dear all!
My Django project comes in 3 copies:
- svn repository
- local development on my pc
- real web site
I use an sqlite file to store my data. I keep it in my project folder
itself.
My workflow:
- work locally
- update the svn repo
- log onto the web server and run an update from the svn
You might find this useful. It's an app aimed at google map usage with django.
http://code.google.com/p/django-googlemap/
Dougal
---
Dougal Matthews - @d0ugal
http://www.dougalmatthews.com/
2009/3/20 Alessandro :
>
> On Fri, Mar 20, 2009 at 3:23 AM, Andy Mckay wrote:
>>
>>
>> You need two
Hi all,
I have two models, Provider and Record. Record has the foreign key
provider_id. In my template I'm displaying how many records a
provider has by using object.record__set.count. If Record had a
status field, how would I display how many records with a particular
status a provider had?
If i remember correctly anywhere on the path should be fine.
On Mar 20, 11:05 am, osamu wrote:
> I'm stuck here as well, donno where i should put sqlite3.exe in order
> to use it
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Goo
Bump. Anyone? Is this so easy that nobody's challenged to answer it?
Or is this something weird that I'm doing?
- laran
On Mar 19, 1:20 pm, Laran Evans wrote:
> I have a Company class. A Company has many Clients, each of which is
> also a Company. The problem I have is that in the auto-generate
I'm stuck here as well, donno where i should put sqlite3.exe in order
to use it
--~--~-~--~~~---~--~~
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
On 20 mar, 06:50, Crispin Wellington
wrote:
> Hey there.
>
> I want to add a custom validator to a model field. In django 0.96 there
> was the validator_list parameter that could easily do this for me. Now
> it is no more. Also django.core.validators is gone.
Yes, indeed. AFAIK, the team has pla
There is the source code:
//when you fill up all the form option and submit it , it will execute
this
if request.method == 'POST':
lang_code=request.POST.get("language",request.LANGUAGE_CODE)
if check_for_language(lang_code) and lang_code !=
request.session.get('django_language'):
On Fri, Mar 20, 2009 at 3:23 AM, Andy Mckay wrote:
>
>
> You need two fields on a model, longitude and latitude. The rest of it
> is pure Javascript to place the pin on a map. You can see javascript I
> used for my site on http://www.cleartrain.ca, if you really want to
> see the code behind the
90 matches
Mail list logo