On Jul 29, 11:57 am, tcpipmen wrote:
> Hi All, I have no problem running Oracle 11g with django on build-in
> development server and everything is fine. But When I setup with
> mod_wsgi with Apache I'm getting messages like below
[snip]
> The specified module could not be
On Jul 30, 3:38 am, Salvatore Leone
wrote:
> I can't download the files, probably I don't understand the MEDIA_URL
> parameter. Here it is:
> MEDIA_URL = 'http://localhost:8000/wiz/uploads/'
>
> but trying to access the files returns me a 404 error.
You shouldn't
On Jul 30, 7:27 am, Michael Anckaert
wrote:
> Hello everyone,
>
> I subclassed the CharField but have run into this problem:
How did you subclass CharField? It's difficult to say what the
problem is without seeing what you've done.
Oh, I forgot to note that Firebug is very helpful in these kind of
situations, as you can call the functions explicitly and see what
happens.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To
On Jul 8, 1:22 am, Alastair Campbell wrote:
> Has anyone else started getting application error emails from the
> Django admin after updating to Firefox 3.5?
Before 3.5, actually. The function that modifies the path to the
image is called once the page has finished loading,
On Jul 8, 9:40 am, Jarmo wrote:
> > You need to send the 'sessionid'. It's in request.COOKIES.
> So I have to send the sessionid in the HttpResponse back to the client
> for it to use, right? I tried getting it from the Request object
> after I successfully logged in.
I've got some fairly basic docstrings in my models, and I just
discovered the admindocs module, which does all sorts of useful
introspection stuff. I had to install docutils before it would show,
but I did that, and now I've got documentation.
The problem is that my docstrings don't seem to be
On Jul 7, 1:22 pm, Adam Jenkins wrote:
> I know that Dojo allows one to upload files with Ajax. It uses an iframe as
> a work around.
>From what I remember from when I was doing something like this a good
year ago, using an iframe is the accepted way of uploading files
On Jul 5, 6:47 am, mikel wrote:
> Setting up Django is going fine until configuring MySQL. It requires
> MySQLdb, which I downloaded from sourceforge as MySQL-
> python-1.2.3c1.tar.gz (and MySQL-python-1.2.2.tar.gz) on Mac OS X,
> Redhat, and Windows. When I try
On Jul 5, 12:44 pm, Nick wrote:
> I'm looking to write an e-commerce page with very minimal admin
> functionality, but which also has an extended admin that would
> facilitate the rest of the basic admin tasks. For example, the basic
> admin could add products but shouldn't
> What i want to know is that should i use django ORM for it.
> Should i use any other kind of python orm instead of django orm? But
> then i would essentially need to use 2 different systems for one
> project which does not sound like a good idea.
>
> Theoretically... can 2 somewhat different
On Jul 6, 5:18 am, somepalli wrote:
> I installed python 2.5.4 and DJango 1.0 in my windows xp.
>
> DJango working properly.
>
> But here i am not able get the mysite folder i am getting like
> following
>
> C:\Documents and
On Jul 3, 11:36 am, developingchris wrote:
> Looking for opinion of the best distro for a developer machine for
> django.
>
> I'm on ubuntu now, its going ok. I'm having keyboard issues, and
> wondering if I should put the time in on fixing it, or just ditch it
> for
On Jul 2, 5:31 am, masterclock wrote:
> I'm using python2.6 and django 1.0.2
>
> class MyModel(Model):
> file = models.FileField(...)
> ...
>
> mymodel = MyModel(...)
>
> mymodel.file.save(...)
>
> but the saved file is truncated.
>
> when I use admin, the uploaded
On Jul 2, 9:18 am, mettwoch wrote:
> Hi,
>
> I write a POS application and several users share the same terminal.
> They use a barcode scanner to point to their badge to login (works
> already). I'd like to keep the session data for every user so that
> when user A leaves the
On Jul 1, 9:15 pm, Chhouk Voeun wrote:
> i want to use map url (http:\\localhost:8080\main).oh i use window
Did you read the tutorial? None of your url regexes look anything
like /main/. And why did you hijack someone else's thread that was
about a completely different
On Jul 2, 3:53 am, Ivan Uemlianin wrote:
> Dear All
>
> I am looking into using or developing a chat application for Django,
> for use in a social networking website based on the Pinax Django
> "distribution".
>
> I have searched for django-based chat applications and found
Here are my three models:
class Faculty(models.Model):
[standard attributes]
class WorkDay(models.Model):
[standard attributes]
class OfficeHour(models.Model):
faculty = models.ForeignKey(Faculty)
day_of_week = models.ManyToManyField(WorkDay)
and in admin.py:
class
I have these two models:
class CoursePrefix(models.Model):
prefix = models.CharField(max_length=6)
title = models.CharField(max_length=40, blank=True)
department = models.ForeignKey(Department)
def __str__(self):
return self.prefix
class Meta:
Actually, extra by itself does exactly what I want. For some reason I
couldn't see it - I guess I just got caught up in the specific name.
Thanks.
On Nov 4, 10:32 am, Daniel Roseman <[EMAIL PROTECTED]>
wrote:
> On Nov 4, 5:57 pm, Xiong Chiamiov <[EMAIL PROTECTED]> w
If it works in one environment, but not another, then it might have
something to do with your settings files. When you create your links,
are you having the href be "/enter" or "/enter/"? I think the
middleware class you're reading about is for trailing slashes, not
preceeding ones.
On Nov 4,
I'm in the process of converting a bunch of sites from pre-nfa to
1.0. One of the things I've run across is the change in inlines in
the admin interface. Previously, there was (http://
www.djangoproject.com/documentation/0.96/model-api/#many-to-one-relationships)
a parameter called num_in_admin
Is it possible?
If in the templates I call section.foo (with section being a
dictionary), then it's the equivalent of section['foo']. Is there a
way to call section[foo]?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
On a site of ours, we got a 500 on Aug 31 with the error:
ImproperlyConfigured: Error while importing URLconf 'ee_website.urls':
day is out of range for month
from this line:
announcements = {'queryset':
Announcement.objects.filter(active=True,expire_date__gt=datetime.today()).order_by('-
24 matches
Mail list logo