You cannot post messages because only members can post, and you are not currently a member.
Description:
Discussion group for Django users. Django is a high-level Python Web framework (djangoproject.com).
|
|
|
custom file validation
|
| |
Hi,
I have a file in a form. The file is optional but if the file is not
None, then some other form fields are required as well. For example
the following code checks one of the fields that's required when the
file fields isn't empty:
file = forms.FileField(required=False )
def clean_canvas_height(self):... more »
|
|
django-twitter-oauth connection refused
|
| |
Hi All,
I am using django-twitter-oauth app in my project, but I am getting
the following error while trying to connect to twitter.com.
Exception Value: (111, 'Connection refused')
Exception Location: /usr/lib/python2.6/socket.py in
create_connection, line 514
token = get_unauthorised_request_token (CONSUMER, CONNECTION)... more »
|
|
customize url for GET form
|
| |
hello
while using GET form, I can select several objects with an URL like:
xxxxxx?id=1&id=2&id=3 etc..
How could I have instead an URL like that:
xxxxxx?id=1,2,3,4 etc... ??
Thanks,
_j
|
|
Dynamically changing output of SelectMultiple in admin
|
| |
First a short description of the issue:
I'm trying to create a module-system similar to the one in Joomla!,
where modules (small information-widgets) can be shown in different
positions on different pages of the website.
I'm using the django-treemenus app for the menu-structure of the
website, this is comprised of two models: Menus and MenuItems.... more »
|
|
Customising errors in a form according to user region
|
| |
Hi folks, I have a Django form defined as follows: class SubscriberForm(ModelForm): class Meta: model = Subscriber The Subscriber model is as follows: class Subscriber(models.Model): name = models.CharField(max_length=25 5) surname = models.CharField(max_length=25 5)... more »
|
|
How to share Custom Template Tag in other APP?
|
| |
Hi, all.
I wrote a custom template tag package in a app that named Blogs.
And I made other app named SMS.
But I don't know how to use the custom template tag that located Blogs
in SMS app.
If anybody know, please help me.
thank you :)
|
|
extending User
|
| |
Hi all, i'm new to django...sorry for wasting your preciouse time
my question:
i'm extending User model; all seems ok and working; however when
adding a new user in the form derived from ModelForm a field password
is displayed like the following:
password: ___________ Usa '[algo]$[salt]$[hexdigest]' oppure la... more »
|
|
Very slow page load in production with mod_wsgi
|
| |
Hello, i experience slow page loads in production using mod_wsgi. The django debugging toolbar reveals a very high CPU use with lots of voluntary context switches: Production (Apache mod_wsgi-3.2, daemon mode, 10 threads): User CPU time 3580.224 msec System CPU time 156.010 msec Total CPU time 3736.234 msec... more »
|
|
third party application with Django
|
| |
I need to install some php application (forum) in some folder domain/
forum How can I do this? Django 1.2 Appache with FastCgi, shared
hosting. Is it possible to exclude url "domain/forum" from django
somehow?
|
|
AttributeError at /admin/ when logging into the default Admin site.
|
| |
Hi,
Ive been running into a problem lately (not sure when it started)
where I receive an AttributeError when logging into the admin site.
The circumstances seem to be that I start the application, go to the
admin site (and log in successfully), navigate around the rest of the
application (which does not require authentication). Then at some... more »
|
|
|