Hello all,
What is the best method to load a page. This page to be build from
a template. The template to have a table, with data from db? The data
from db, are from more then one object. So I'm interested how can I
build the template, with data from one or more objects(ob.objects.all
()).
--
Hello,
Somebody know why i get this message when I try to join django
channel from freenode irc:
#django :You need to be identified to join that channel
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to dja
Hello all,
My page is loading very slow, more then 5 sec per page. I'm using
apache2. How can I see what is the problem, or what can be the reason?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-u
I found the problem...thread closed
On Jan 4, 12:18 pm, NMarcu wrote:
> Hello,
> I have this:
>
> value="Controller 1"/>
>
> and the script:
>
>
> $(document).ready(function() {
> $("#device_name"
Hello,
I have this:
and the script:
$(document).ready(function() {
$("#device_name").keyup(function() {
alert("Something");
});
});
...what I do wrong, because never do the a
Hello all,
I want to check the fields from web interface before those to be
added in db. If one field already exist to get a message like:
"Already exist". I want to not perform the add action, if all fields
are not validated.
--
You received this message because you are subscribed to the Go
Hello all,
I want to let only one same user to be login in the same time. If I
connect from Paris with admin, and other user try to connect with
admin from other location, to get a message like it is already
connected. How can I do something like this?
--
You received this message because you
Hello,
I have a problem, or I don't know how is working.
I want to do an operation to a table, on Postgresql database. By
example: I want to add new data in a table. I do it like this:
ob_device = Device(id=device_address)
ob_device.save()
Everything is OK, if the view is finished, bu
Hello all,
Can you tell me a good Django editor for Debian? Something more
pretty then default text editor. Something to can edit templates also.
Thanks.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to dj
Hi all,
How can I do, to not let the same user to be logged from 2
different location, in the same time. I want, when a user admin is
login, and another user try to login with the same user admin, to have
a message, you are already login. How can I do something like this?
All the best,
Nicu Ma
alert from the first template
Why is this order?
On Dec 4, 11:52 am, NMarcu wrote:
> Hello all,
>
> I have a strange problem with jquery load. I have this two loads
> on a click event:
>
> action='first';
> $( '#operators_list_div' ).html( ' ' )
Hello all,
I have a strange problem with jquery load. I have this two loads
on a click event:
action='first';
$( '#operators_list_div' ).html( ' ' ).load( '{% url
add_save_view %}',{'action':action, });
action='second';
$( '#address_list' ).html( ' ' ).load( '{% url add_save_view %}',
{'actio
Hello all,
I have something like this:
$( '#operators_list_div' ).html( ' ' ).load( '{% url
add_save_view %}',{'action':'action',});
$( '#address_list' ).html( ' ' ).load( '{% url add_save_view %}',
{'action':'address_list',});
In view I have like this, that don't work on:
#list of availibl
Hello all,
How to use French accent on django template? It's very strange. in
one template is working very well, but in other(templatetag) not, I
got this error:
TemplateSyntaxError at /operators/ajax
Caught an exception while rendering: 'ascii' codec can't encode
character u'\xe9' in positio
Hello all,
I have a section for adding new user, on auth_user table (default
django auth method), and work just fine. I added a trigger on that
event, to add something in a new table and my app crashed. I got this
error:
InternalError at /operators/
current transaction is aborted, commands i
Hello all,
When I run django-admin.py makemessages -l ro I got this:
Error: errors happened while running xgettext on __init__.py
/bin/sh: xgettext: command not found
You know why, I need to install somethng else?
--~--~-~--~~~---~--~~
You received this message
Hello,
I want to change the verbose_name to is_superuser, on User class.
The current one is superuser status, and I want to make this field
editable, and I need to change this verbose_name from view, how can I
do this?
--~--~-~--~~~---~--~~
You received this mes
Hello all,
I have a list of all users. My head table is made with the fields
from User class. So look like this:
username first name last name
superuser status
I want to make this head table editable. How can I change the caption
of the field, not the name of it. By ex:
Hello all,
I got an error, and I don't know how to pass on it. I got this
error when I try to use ajax from django templates.
I use this, from jquery:
$('#create-user').click(function() {
$( '#test_div' ).load( "{% url test_ajax %}");
});
I have this button:
Add a new
Hello all,
I want to do something like this:
{% for u in users %}
{% for su in superu %}
{% ifequal u su %}
//do something end exit
from this for
{% endifequal %}
{% endfor %}
{% endfor %}
How can I do
Hello,
I made a project in Django, and runs grate on my PC. I have all my
files in a folder: "project". I copied to anoter PC via ssh, and on
that pc I configurate apache, and acces is from my browser via http,
but sometimes I got:
"Could not import project.operators.views. Error was: No module
Hello,
I need to send a value from a template to another template.
In my first template I have something like this:
td>Edit
The result will be: "/edit/admin"
I need to use the value: "admin" in another template.
I have in my urls.py:
url(r'^operators/edit/(?P\w+)', 'views.edit'),
My views.e
program
PythonHandler django.core.handlers.modpython
SetEnv DJANGO_SETTINGS_MODULE ibox.settings
PythonOption django.root /ibox
PythonDebug On
PythonPath "['/home/nmarcu/Desktop/projects'] + sys.path"
There is a posibility to run the proj
Hello all,
I'm very new in python, Django... I have a Django project. If I run
it like: python manage.py runserver, everything is OK. When I run it
in Apache2 I got this error:
OperationalError at /login
FATAL: Ident authentication failed for user "nmarcu"
How can be th
24 matches
Mail list logo