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 documentatio
f you 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 wrote:
> Hello all
> I'm new to django and I have a question.
>
> I want to find a way to run some code periodicly in t
kages).
>
> See the documentation and tutorials at python.org
>
>
>
> On Wed, Dec 23, 2009 at 7:29 AM, Martyn wrote:
> > Hey,
>
> > I'm new to django, so please excuse me for asking simple questions for
> > a bit.
>
> > I've installed django and h
anything
relevant.
Thank you,
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
Can you help? Is there somewhere on the internet I can read up about
this? I've looked but can't find anything which looks 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
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
http://friendpaste.com/2Rtzh6wOiUMQA0aRJTpC
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 wrote:
> I have
>
> tin
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" g
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",
'theme_advanced_butt
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 received this message
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
TINYMCE_DEFAULT_CO
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 platform-independent,
> shouldn' b
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, "Dav
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 = models.Forei
ng to 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 in
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 modificatio
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
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
< j.length; 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
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 users"
(I prefer 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
>
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)
prix_ht
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 different
solution 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
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
other derivated 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 a
enough with this 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 wit
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
t
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 django-users@googleg
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 "/usr/lib/python2.5/site-packages/django/core
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 see
On 19 mar, 13:00, "tyman26" <[EMAIL PROTECTED]> wrote:
> Where do I set the 'SESSION_EXPIRE_AT_BROWSER_CLOSE= True'? I added
The answer to the question: You can set the
'SESSION_EXPIRE_AT_BROWSER_CLOSE= True' in settings.py.. some as..
settings.py
...
DEBUG = True
TEMPLATE_DEBUG = DEBUG
SESSI
35 matches
Mail list logo