I have an issue with Django, so wanted to raise it here before going to the
extent of raising a bug.
For a simple scenario, I have a site "Survey", an app "Report" and models
"Question" and "Answer". Note that the case is important; I've capitalised
the first letter of each.
Admin
loose the connection, then it would need to be
restarted otherwise you'll get a 'connection refused'.
Martyn
On Oct 20, 6:38 am, Ken <xie.kenn...@gmail.com> wrote:
> Hello all
> I'm new to django and I have a question.
>
> I want to find a way to run some code periodicly
modules and sub-packages).
>
> See the documentation and tutorials at python.org
>
>
>
> On Wed, Dec 23, 2009 at 7:29 AM, Martyn <martyn.ha...@gmail.com> wrote:
> > Hey,
>
> > I'm new to django, so please excuse me for asking simple questions for
> &
,
Martyn
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit
right.
Thanks for your help,
Martyn
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@google
Hi django Users.
I need to know if somebody has used Django on godaddy Host service ?
If yes, is easy to configure ? what recomended to me in that case ?
Thank you!
Regards
--
Andrés Martín Ochoa;
passport: andresmar...@linuxmail.org;
Linux Registered User #436420;
Asterisk User Number: 1000;
Hi,
I was looking for solutions to pass a param into forms created with
inlineformset.
Basicaly, I want to prepopulate a ChoiceField of my form with datas
which comes from parent.parent.instance
I've pasted the entire code (models / forms / views) here
I changed
function CustomFileBrowser(field_name, url, type, win) {
into
function DjangoFileBrowser(field_name, url, type, win) {
and it works ...
Thank you krylatij, it was not a setting problem, anyway, thank you :)
On 20 jan, 11:11, martyn <martyn.clem...@gmail.com> wrote:
&g
I have
tinyMCE.init( ...
"file_browser_callback": "DjangoFileBrowser"
)
using django-tinymce. What's wrong ??? This app doesn't look at the
settings ?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users"
Ok, thank you, I've changed my settings, with unfortunately no
result :
TINYMCE_DEFAULT_CONFIG = {
'dialog_type' : "modal",
'extended_valid_elements' : "a[name|href|target|title|onclick|
rel]",
'theme':'advanced',
'theme_advanced_toolbar_location' : "top",
some magic... mh
'file_browser_callback' : "Abracadabra",
On 20 jan, 09:01, krylatij wrote:
> Look into your settings again.
> I've had such problem before.
> After some magic with settings everything works.
--~--~-~--~~~---~--~~
You
Hi,
I'm trying to get TinyMCE working with django-filebrowser.
I started to make Tiny working :
# === settings.py :
INSTALLED_APPS = (
#...
'tinymce',
'filebrowser',
#...
)
TINYMCE_JS_URL = MEDIA_URL + 'js/tiny_mce/tiny_mce_src.js'
URL_TINYMCE = TINYMCE_JS_URL
Hi
http://pyrox.utp.edu.co/
Regards
Bye.
On Jan 6, 9:34 am, roberto wrote:
> I tried them all (almost ... I think... at least the free ones).
> - Pyscripter is really nice but it is true, it is only for windows.
> (If it is developed with python it should be
David,
+1 for decorator.
That let you use it or not in each view.
On Dec 1, 9:30 am, David Shieh <[EMAIL PROTECTED]> wrote:
> Thanks , David Zhou , I will find some information for decorator
> And also , I will surf for middleware .
>
> Thank you very much , Malcolm.
>
> On Dec 1, 3:55 pm,
Hi, I'm trying to get a correct admin interface with the default
openlayers.
Here are my models/admin :
#models.py
from django.contrib.gis.db import models
from django.contrib.auth.models import User
class Competitor(models.Model):
# User pour auth + Utilities
user =
change my select list...
}
I'm not sure about the exact syntax, but the jquery IRC or
documentation could help me.
Thank you Diego
On 21 mai, 03:38, Diego Ucha <[EMAIL PROTECTED]> wrote:
> Ok Martyn, understood.
> Mainly that piece of code represents many functions, one inside the
&
Hi,
I'm trying TreeMenus : http://code.google.com/p/django-treemenus/
It's a realy good job. Thanks to its author.
There is just a little bemol, I don't find the documentation really
excplicit, especially concerning the "Class Extension".
In the doc :
In fact, at the creation, you select a category, the the
subcategories
are shown. It's OK
/*-/*-/*-/*-/*-/*-/*-/*-/*-/*-/*-/*-/*-/*-/*-
===Create_Object===
Category
[--select_category--]
SubCategory
[--select_subcategory--]
/*-/*-/*-/*-/*-/*-/*-/*-/*-/*-/*-/*-/*-/*-/*-
But, at the
In fact, at the creation, you select a category, the the subcategories
are shown. It's OK
But, a
On 18 mai, 01:22, Diego Ucha <[EMAIL PROTECTED]> wrote:
> You need to set a Subcategory as default when this field is loaded by
> the field Category?
> Sorry Martyn, i didn't get yo
It's true, I don't know for what reason I changed this before posting,
but I've seen the error to, correct it and, no way.
But I made a error on my urls,
this /admin/boutique/produit/getsubcategory/ was not the same as
urls.py, so I had no response.
Now I've got another question. I've never used
ngth; i++) {
options += '<option value="' + j[i].id + '">' + j[i].nom +
'</option>';
}
$("select#id_sous_categorie").html(options);
})
alert("there")
})
})
{% endblock %}
The only alert I've got is [[there]] and never [[here]].
All seems
That's it !
I'm discovering JQuery, not very "sexy" for the first time, but seems
to be really powerfull.
Thank you Diego.
Django community really rocks.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django
JQuery, besides
> there are some discussion about those libs on the list).
>
> For filling this subcategory field, in terms of data transmission, i
> use JSon, because JQuery has a fine JSon parser, in few lines it's all
> done.
>
> []s,
> Diego Ucha
>
> On May 2
Hi,
I've created a simple product model :
class Produit(models.Model):
nom = models.CharField(maxlength=200)
slug = models.SlugField(prepopulate_from=('nom',))
description = models.TextField(blank=True)
published = models.BooleanField(default=True)
Hi,
I can't solve my problem, I have a site that can contain 2 designs
(summer / winter).
Ideally, My urls are :
http://domain.com/winter/
http://domain.com/summer/
But when I go to
http://domain.com/
I want a default saison (that could be stored in my settings file).
It's not only a
ion is to download the source and compile. A
> better solution, i.e. a prebuilt RPM, might be available from
> somewhere, I haven't searched.
>
> ---Peter
>
> On 4/14/08, martyn <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hi,
>
> > I'm using Fedora Core 4 and My
this :
""ImproperlyConfigured: MySQLdb-1.2.1p2 or newer is required; you have
1.2.0""
I can't find any mysql-python-1.2.1 for FedoraCore4.
If someone knows the problem, thanks for helping me.
Martyn
--~--~-~--~~~---~--~~
You received this message becaus
from
http://www.djangoproject.com/documentation/modpython/)
:
ServerName django.domain.fr
SetEnv DJANGO_SETTINGS_MODULE myproject.settings
With no success.
I really want to improve my knowledge into Django Deployement on
apache.
Thanks in advance.
Martyn
is langage but I
can't think differently for now.
I'll read more on Newforms on Django site but any ressource are
welcome.
Thanks again ;
Martyn
On 8 avr, 23:24, Rajesh Dhawan <[EMAIL PROTECTED]> wrote:
> Hi,
>
>
>
> > I have to create an app with django that allow
Hi,
I don't want any help on how to write my model but I just want to have
your opinion about how to do this by the simpliest way. I'm a django
beginner.
I have to create an app with django that allows users in front end to
create their own forms with a number variable of fields and a variable
Hi,
Do you know the class Admin, a subclass of your model ?
http://www.djangobook.com/en/1.0/appendixB/#cn311
Maybe it could help you.
On 31 mar, 13:46, Grupo Django <[EMAIL PROTECTED]> wrote:
> Hi!
> I'm trying to create a generic form template for a custom admin zone.
> I'm doing it this
>
OK, I've set Debug to FALSE, so I set it False and it's OK
let's have fun ! Django rocks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to
Are you looking over my shoulders ? :)
Yes I've set up a wiki this 1 hour ago.
I cleaned my cookies and now he wants a 404.html template
I've never seen this before
I'll try to specify my template dir
---
Traceback (most recent call last):
File
Hi,
I've already run Django on my Laptop (OpenSuse 10.3) and it was so
easy thanks to it's own dev server.
On my desktop, I tried to run Djangon (openSuse 10.3 too).
Django Install : OK
import django : OK
Startproject : OK
runserver : OK
When I open my favorite browser, the only thing I can
34 matches
Mail list logo