Thanks both of you for your advice
I will try your suggestions
On Sun, Jul 4, 2010 at 3:02 AM, Julio Cesar Rodriguez Cruz
wrote:
> AJAX is what you need, you can use the jQuery (http://jquery.com/)
> library to help you with it
>
> In the template you can add a javascript code (i.e using $.post()
AJAX is what you need, you can use the jQuery (http://jquery.com/)
library to help you with it
In the template you can add a javascript code (i.e using $.post()
function with jQuery, read it at http://api.jquery.com/jQuery.post/)
to submit the form with ajax, then in the django view you can check
For windows and others OS, you can find the hosts file in this table:
http://en.wikipedia.org/wiki/Host_file#Content_and_location
Julio Cesar
On Fri, Jul 2, 2010 at 4:44 PM, Bill Freeman wrote:
> What might be of help is adding the IP address to /etc/hosts, if you are
> on linux. There is a hos
On Sat, Jul 3, 2010 at 10:57 AM, Rama Naidu Ravipalli wrote:
> I am barely a new user to this new software, i am trying to install in
> my windows(vista) PC, and when i download Django software, i got it
> in .gz file format that my PC does not support. Could anyone in this
> group suggest a way
Hi,
I tried to implement a localized "DecimalField" but it doesn't seem to
work. When entering a decimal number with a German decimal seperator
( , ) the admin interface tells me to "Enter a number". Is there some
setting/middleware/etc. I overlooked?
My "settings.py" and test model look somethin
I just searched through the group and many of your questions have been
answered. In fact, you have even thanked people for their responses:
"thanks, that gives me the info I need." (2007).
On Jul 3, 7:45 am, "Sells, Fred" wrote:
> I receive the normal django email, but have never received a reply
i'm having some trouble with some chracters from my database like the
umlaut.. they are stored in my database like this:
ü
but django changes them into
ü
thus the character is not displayed correctly..
how can i fix this?
thanks!
--
You received this message because you are subscribed to the
But the input is valid in the legacy system from which it comes; it is
just Not Applicable for the database record into which it would be
inserted, based on other parameters in the db. These are two totally
separate systems, and we want to use the legacy data in some cases to
keep reports in sync.
I have these models and model admins and I was hoping inlines = []
inside a admin.TabularInline would work, but it doesn't seem to.
class Size(models.Model):
pass
class Product(models.Model):
pass
class ProductType(models.Model):
titl
Is there a way to filter based on the result of a model instance
method?
I've got a Permission model with a one-to-one relationship with an
Article. The Permission model stores the different groups that the
Article author said could read their article. There's about 6 groups
though, so I wrote a
Celery 2.0 has been released
We're happy to announce the release of Celery 2.0.
Big thanks to all contributors, testers and users!
What is it?
===
Celery is an asynchronous task queue/job queue based on distributed
message passin
On za, 2010-07-03 at 10:07 -0400, Sells, Fred wrote:
> I need to override the setter behavior of all the fields in all my
> models. They all subclass from the same abstract model.
>
> Specifically if the fields already contains a special character (used
> to indicate "Not Applicable") I don' want
Thanks for great feedback, Euan. I've added some comments below.
On Jul 3, 8:26 am, "euan.godd...@googlemail.com"
wrote:
> I had a look over your tutorial and it looks pretty sweet. Definitely
> gets down into explaining how to use the admin interface and taught me
> things I hadn't realized. I h
I need to override the setter behavior of all the fields in all my
models. They all subclass from the same abstract model.
Specifically if the fields already contains a special character (used to
indicate "Not Applicable") I don' want to allow it to be changed. The
same field will be applicable
Hi all
Just coming back to Django after a long time away, and struggling to
get my head around what should be a trivial concept using the ORM.
Essentially I want to do acheive the following SQL:
SELECT * FROM publisher_history
INNER JOIN publisher_publisher ON publisher_publisher.id =
publisher_
One piece of advice: look into a javascript library like jquery.
Django does not manage javascript.
I googled 'javascript & django'.
First result:
http://lethain.com/entry/2008/sep/21/intro-to-unintrusive-javascript-with-django/
Best of luck,
Saumya Garg
On Sat, Jul 3, 2010 at 6:38 AM, Himans
Hi
I have a form which contains many inputs. When user wants to submit
one or more inputs i want to update the database managed in models.py
but i do not want the page to reload.I read an article on web where it
was told that it is possible if we use a php document to handle the
database and then t
I had a look over your tutorial and it looks pretty sweet. Definitely
gets down into explaining how to use the admin interface and taught me
things I hadn't realized. I have a few suggestions for you (feel free
to ignore :)):
1) I'm not sure how good an idea it is to call the attribute on your
Dat
Seems good to me. You could have a preferences model which has a one-
to-one relationship to a User. Your method is sound that it saves an
additional SQL query to get the extra info, but if you have the auth
context processor enabled you can always do:
{{ user.preferences.employee }} # where emplo
I receive the normal django email, but have never received a reply to
any of my questions. I apologize for clutting the mailing list we
"test" but need to know If my company server is blocking my outgoing or
what.
If you wouldn't mind replying to this and cc'ing bu4f...@yahoo.com I
promise to nev
On Jul 3, 8:57 am, Rama Naidu Ravipalli wrote:
> I am barely a new user to this new software, i am trying to install in
> my windows(vista) PC, and when i download Django software, i got it
> in .gz file format that my PC does not support. Could anyone in this
> group suggest a way to resolve this
I am barely a new user to this new software, i am trying to install in
my windows(vista) PC, and when i download Django software, i got it
in .gz file format that my PC does not support. Could anyone in this
group suggest a way to resolve this to istall Django in PC.
Thank You
Rama
--
You receiv
On Saturday 03 July 2010 13:49:17 BobAalsma wrote:
> I have a background in software packages (3GL) and try to find answers
> to questions like:
> - when to put a bit of software in a library
> - how to organise these library files [not in the physical sense, but
> in the organisational sense]
> -
Hi,
I'm trying to find a (good) book or other documentation on how to
group/organise Django files; I've found some posts on this forum, I've
found some remarks through Google, but not a "complete" guideline for
this subject.
I have a background in software packages (3GL) and try to find answers
t
Daniel,
Thanks for your response. I should have included this information
earlier--but basically, the website I'm developing has a hierarchical
permission system which I had to implement myself via UserProfile
extension. So since User's must have a specific role (like an admin, a
manager, a salesp
25 matches
Mail list logo