I started experiencing this too... I can't tell if this is Gmail or
not. I know I send email via SMTP from Gmail masqueraded with other
aliases. So I feel that something is getting munged. Either in the
mail library or with Gmail's servers.
On Jan 28, 3:02 am, funkazio wrote:
> Right! Thanks!
I started experiencing this too... I can't tell if this is Gmail or
not. I know I send email via SMTP from Gmail masqueraded with other
aliases. So I feel that something is getting munged. Either in the
mail library or with Gmail's servers.
On Jan 28, 3:02 am, funkazio wrote:
> Right! Thanks!
Hi Malcolm,
Thanks for your patient guidance. I took your advice on a better name
for the variable. Now it should return true if the image_is_vertical.
I am getting a lot closer, but I think I am losing the photo's ID
when I get to the templatetag in photos.py. Here's what debug tells
me:
Progra
I have a a list that I generate using this code in a template:
{% extends "base.html" %}
{% block title %}Lobbyist by Country {% endblock %}
{% block content %}
Browse by County
Click on one of the items below to get information about the firms
{% for county in county_list %}
{{ coun
I would, but in this case, I want to remove a field in an external app
(specifiaclly, django-registration). I suppose I could extract all
the relevant parts out of the form class in django-registration and
paste it into my own form, but that seems really redundant.
Basically, the user's name is
On Fri, Feb 20, 2009 at 6:14 PM, gordyt wrote:
>
> Karen I made a small sample to illustrate the problem and posted it
> here:
>
> http://dpaste.com/hold/123199/
>
> It's an extremely simple test case and instructions are included in
> the comments. I'm not sure if this error is related to the i
On Fri, 2009-02-20 at 19:39 -0800, Devin wrote:
> I have no problem pulling pages using httplib if the pages do not
> require authentication. But now I want to pull pages only after
> authenticating. Access is enforced by the contributed auth package.
>
> import httplib, urllib
> params = urlli
On Fri, 2009-02-20 at 19:32 -0800, mediumgrade wrote:
> So, I have a form like this:
>
> class AddUserForm(forms.Form):
> username = forms.CharField(label='Username', required=False)
> password1 = forms.CharField(label='Password',
> widget=forms.PasswordInput)
> password2 = forms.Char
I have no problem pulling pages using httplib if the pages do not
require authentication. But now I want to pull pages only after
authenticating. Access is enforced by the contributed auth package.
import httplib, urllib
params = urllib.urlencode({'this_is_the_login_form':1,'username':
'myuser'
So, I have a form like this:
class AddUserForm(forms.Form):
username = forms.CharField(label='Username', required=False)
password1 = forms.CharField(label='Password',
widget=forms.PasswordInput)
password2 = forms.CharField(label='Password (Again)',
widget=forms.PasswordInput)
firs
On Fri, Feb 20, 2009 at 8:00 PM, SeanB wrote:
>
> I have an application that include Unicode strings (Greek and Hebrew),
> running on a dev machine and an (inside the firewall) release machine
> configured (to the best of my ability) with the same Python, Django,
> MySql and connector.
>
> When e
On Fri, 2009-02-20 at 19:45 -0500, Karen Tracey wrote:
[...]
> Near as I can tell, also, the "U" date-formatting implementation
> doesn't work. It is:
>
> def U(self):
> "Seconds since the Unix epoch (January 1 1970 00:00:00 GMT)"
> off = self.timezone.utcoffset(self.data)
>
On Fri, 2009-02-20 at 16:08 +0100, Alessandro Ronchi wrote:
> is it possible to group different model save() to avoid the
> multiplication of db connections and queries?
>
> I need to make a lot of save() of different new models and it should
> be very useful to find a way to group them and commi
Alex,
Once again sir you have shown me the light. Thank you.
On Feb 20, 7:59 pm, Alex Gaynor wrote:
> On Fri, Feb 20, 2009 at 7:58 PM, nixon66 wrote:
>
> > tried
>
> > Place.objects.values_list('county', flat=true).distinct()
>
> > Now its not returning any values.
>
> > On Feb 20, 7:49 pm, Al
On Fri, 2009-02-20 at 15:00 -0800, Marlun wrote:
> I'm not sure the answers I'm sending from my email is working so I'm
> reposting here on google groups.
>
> In my case I wanted to get something like this:
>
> January 2008
>
> Post name
> Post name
>
> December 2007
>
> Post name
I have an application that include Unicode strings (Greek and Hebrew),
running on a dev machine and an (inside the firewall) release machine
configured (to the best of my ability) with the same Python, Django,
MySql and connector.
When editing an object containing one of these strings on the rele
On Fri, Feb 20, 2009 at 7:58 PM, nixon66 wrote:
>
> tried
>
> Place.objects.values_list('county', flat=true).distinct()
>
> Now its not returning any values.
>
> On Feb 20, 7:49 pm, Alex Gaynor wrote:
> > On Fri, Feb 20, 2009 at 7:46 PM, nixon66 wrote:
> >
> > > I'm using this in a template to
tried
Place.objects.values_list('county', flat=true).distinct()
Now its not returning any values.
On Feb 20, 7:49 pm, Alex Gaynor wrote:
> On Fri, Feb 20, 2009 at 7:46 PM, nixon66 wrote:
>
> > I'm using this in a template to get a list of items in the list.
>
> >
> > {% for item in list %}
>
On Fri, Feb 20, 2009 at 7:46 PM, nixon66 wrote:
>
> I'm using this in a template to get a list of items in the list.
>
>
> {% for item in list %}
>{{ item.var }}
> {% endfor %}
>
>
> The problem is that I get duplicate values when I do this. So if var1
> appears in my database more than onc
On Fri, Feb 20, 2009 at 6:21 PM, Jeff FW wrote:
>
> I just tried running the code that the "U" date-formatting parameter
> uses, and for me, it was off by about 11.5 days. According to the
> documentation, the "U" parameter is not implemented:
> http://docs.djangoproject.com/en/dev/ref/templates
I'm using this in a template to get a list of items in the list.
{% for item in list %}
{{ item.var }}
{% endfor %}
The problem is that I get duplicate values when I do this. So if var1
appears in my database more than once, I get it as many times as it
appears. I looked at using the disti
On Fri, 2009-02-20 at 11:04 -0800, eleom wrote:
> Hello, does somebody know if there's a way to localize admin
> permission names, so that, for example, in the user change form,
> instead of 'Can add ' a localized version of it is showed?
There isn't any way at the moment. Django itself does not
On Fri, 2009-02-20 at 10:15 -0500, David Zhou wrote:
> Suppose I had this form:
>
> class BaseForm(forms.Form):
> field1 = forms.CharField(...)
> field2 = forms.Charfield(...)
>
> And then in a subclass, I had:
>
> class SubForm(BaseForm):
> field1 = forms.EmailField(...)
>
> What'
Thanks for the pointer! The docs are at
http://docs.djangoproject.com/en/dev/ref/forms/validation/#ref-forms-validation.
I had been letting Django use the default forms, and hadn't read much
about forms, so I'd missed that hook. I used a clean_()
method and it works perfectly. The only thing left
I would sugest that you look at named urls and the {% url %} template
tag. That way you can generate urls with the use of args for year,
month, date.
On 20 Feb., 21:30, JoeG wrote:
> I've tried to find this on Google but I don't know the terminology so
> I don't know what to search for. It's mo
You could try using a tag to explicitly state what the
base for relative URLs should be.
--Ned.
http://nedbatchelder.com
JoeG wrote:
> I've tried to find this on Google but I don't know the terminology so
> I don't know what to search for. It's more of an html question than a
> Django one but
Validation is a big subject, and the validation of files can be very
complex aswell. Anyways to validate you need to define a clean method
in your form. Here you put the code that can test things like file
types, and whatever you can think of using python. I can't get you the
link as I'm not at my
On Sat, Feb 21, 2009 at 12:08 AM, Alessandro Ronchi
wrote:
>
> is it possible to group different model save() to avoid the
> multiplication of db connections and queries?
>
> I need to make a lot of save() of different new models and it should
> be very useful to find a way to group them and comm
I just tried running the code that the "U" date-formatting parameter
uses, and for me, it was off by about 11.5 days. According to the
documentation, the "U" parameter is not implemented:
http://docs.djangoproject.com/en/dev/ref/templates/builtins/#now
According to this ticket, someone might cha
Karen I made a small sample to illustrate the problem and posted it
here:
http://dpaste.com/hold/123199/
It's an extremely simple test case and instructions are included in
the comments. I'm not sure if this error is related to the issue that
you told me about or if it is something new entirely
I've seen errors like this when an url is missing a view to link to.
All urls defined must have a view aswell. Start checking there else
look the problem could be that you are missing args for a url tag in
your template. Some reverse matching need args to fill in the dynamic
part of the url, like
I'm not sure the answers I'm sending from my email is working so I'm
reposting here on google groups.
In my case I wanted to get something like this:
January 2008
Post name
Post name
December 2007
Post name
Post name
I can't figure out how to do it the way your are saying. I
No proxy server configured in FireFox 3. I'm stumped as well. Guess I
need to have the Oracle people in my office get in touch with their
support people. There is one other Django person here at the
University that might be able to help.
I'll post my findings here if we're able to come up with a
On Feb 20, 3:26 pm, Brandon Taylor wrote:
> Yes, I'm just using the built-in server for local development. I've
> restarted it dozens of times, cleared my browser cache, etc.
>
> Is the built-in server not compatible with Oracle? If not, I'll just
> get an Apache/mod_wsgi instance running on my M
On Feb 20, 3:14 pm, Brandon Taylor wrote:
> I think I may have found the culprit (?), but I have no idea how to
> fix this. In my project folder, there is a file called sqlnet.log.
> Here's the last entry:
>
> Fatal NI connect error 12505, connecting to:
> (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)
>
Yes, I'm just using the built-in server for local development. I've
restarted it dozens of times, cleared my browser cache, etc.
Is the built-in server not compatible with Oracle? If not, I'll just
get an Apache/mod_wsgi instance running on my MacBook and use that
instead. Would be nice if I coul
On Feb 20, 3:01 pm, Brandon Taylor wrote:
> Actually I was referring to my action in views.py to get the Category
> objects:
>
> from activity_codes.models import * (this is the auto-generated
> models.py)
>
> def home(request):
> categories = Categories.objects.all()
> return render_to_r
I think I may have found the culprit (?), but I have no idea how to
fix this. In my project folder, there is a file called sqlnet.log.
Here's the last entry:
Fatal NI connect error 12505, connecting to:
(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)
(HOST=devportal2.dcs.its.utexas.edu)(PORT=1521))(CONNECT
I solved it , thanks :)
20 Şubat 2009 Cuma 14:08 tarihinde Veeravendhan sakkarai <
veeravend...@gmail.com> yazdı:
>
> You just define your primary key field in the models, you can over come.
> Also we can auto generate UUID. like the autoincrimint id field.
>
>
>
> On Fri, Feb 20, 2009 at 3:41 PM
Actually I was referring to my action in views.py to get the Category
objects:
from activity_codes.models import * (this is the auto-generated
models.py)
def home(request):
categories = Categories.objects.all()
return render_to_response('test.html', {'categories' :
categories})
On Feb
I am working through the examples in Pratical Django Projects. I am
using Django 1.02 on Ubuntu Intrepid. I expected to find problems
because of version differences but in general I've been able to work
out a solution. This one has got me stumped. You see the named url
that is at fault is diff
On Feb 20, 2:25 pm, Brandon Taylor wrote:
> however attempting to retrieve the Category objects from a view
> results in:
> DatabaseError: ORA-00942: table or view does not exist
>
> Thoughts?
You can definitely use views with Django (although inspectdb will
blissfully ignore them). We do that
here's the inspectdb models.py file:
from django.db import models
class Subtypes(models.Model):
id = models.DecimalField(decimal_places=0, max_digits=38,
db_column='ID', primary_key=True) # Field name made lowercase.
type_id = models.DecimalField(decimal_places=0, null=True,
max_digits=3
Ah...I think specifying db_table as "ACTIVITY_CODE.CATEGORIES" is the
problem. We don't really have schema support in Django (yes, there's
a bug recorded for this issue), and unfortunately the approach of
specifying "schema.table" as the table name will not work.
You'll probably have to do somet
On Feb 20, 2:08 pm, Brandon Taylor wrote:
> Hi Ian,
>
> Here's her's the quick model I wrote to try to select *something*:
>
> class TestCategory(models.Model):
> name = models.CharField(max_length=255)
> class Meta:
> db_table = 'ACTIVITY_CODE.CATEGORIES'
Don't include the schem
Alright, this is what I *am* able to do...
manage.py shell (from my project folder)
from my_project.models import *
categories = Categories.objects.all()
print categories (and I get 11 Category objects - woohoo!)
from django.db import connection
print connection.queries
[{'time': '0.007', 'sql'
Ok, now I am absolutely confounded...
I ran: manage.py inspectdb > models.py
Then I tried to get objects from the models THAT IT CREATED FOR ME -
same friggin' error!
What in the world is up with this thing? I'm at a loss.
b
On Feb 20, 3:08 pm, Brandon Taylor wrote:
> Hi Ian,
>
> Here's her'
Could it be the case that your Django/Oracle user has the correct
privileges, but the tables aren't in the user's default
schema/tablespace? Django queries won't prepend the schema name,
ever, so you need to ensure that either the tables were created or
owned by the connecting user, or that synon
I'm totally new to Django and authorized/secure web apps, and really
loving it for this. But I've got a few really novice questions. I've
got a model with a FileField, to which users can upload an arbitrary
file. In the model docs for the FileField it says, "Validate all
uploaded files." And I'm n
Hi Ian,
Here's her's the quick model I wrote to try to select *something*:
class TestCategory(models.Model):
name = models.CharField(max_length=255)
class Meta:
db_table = 'ACTIVITY_CODE.CATEGORIES'
If I connect via dbshell from my project, I can do: select * from
categories;
a
I've tried to find this on Google but I don't know the terminology so
I don't know what to search for. It's more of an html question than a
Django one but since I'm trying to learn Django, I thought I'd give
this group a try.
I'm developing a fiscal calendar application. The URL will be
http://
Hi Matt,
Thanks for the reply. Well, I can get connected via sqlplus and I can:
desc activities... not sure what's up from the Django side. The user
I'm connecting with has correct privileges; my Oracle person has
triple-checked.
If I try to run a syncdb, I get the Oracle environment handle erro
Turns out the problem was the FileField value. It can't start with a
forward slash, it has to be relative.
On Feb 20, 2:28 pm, Ty wrote:
> That's the thing... (and I probably should have mentioned this) I'm
> developing on Windows XP using the "manage.py runserver" command to
> serve the files.
This was actually the admin overriding the select related in my
manager with an empty one, which does not follow FK=null.
Adding this to my Admin class I was able to force the select_related
to behave.
def queryset(self, request):
return super(PageAdmin, self).queryset(request).selec
On Feb 20, 12:50 pm, Brandon Taylor wrote:
> OK, I am pretty sure I found out where to put the tns_names.ora file:
> $ORACLE_HOME/network/admin
>
> But, I'm confused as to how to specify the database name. From the
> Django Oracle docs (http://docs.djangoproject.com/en/dev/ref/
> databases/?from=
> This sounds like a problem that has been fixed. Are you running with a
> recent enough trunk or 1.0.X branch checkout so that you have this fix:
>
> http://code.djangoproject.com/changeset/9664
Karen I'm running build 9846. I'm going to put together a very
minimal example to illustrate the pr
On Feb 20, 6:07 am, Beres Botond wrote:
> To be honest I don't really see why you would need multiple user
> profile models,
> instead of having one user profile model, and each entry would define
> a different
> user profile.
What do you mean by "one user profile model, and each entry would
def
Sorry, ignore my previous reply since you figured it out.
It sounds like you have the tnsnames.ora and environment set up
correctly. (Basically, in settings.py, you should either specify just
DATABASE_NAME, so Oracle will use the tnsnames.ora or other lookup
mechainism based on that, or else spec
Good, that's progress actually!
So now cx_Oracle is finding the oracle libs correctly and giving up
when it can't figure out how to connect to the database you've
specified. So it needs to use one of Oracle's naming mechanisms to
resolve the database location, such as LDAP or Oracle's own
TNSNAM
On Fri, Feb 20, 2009 at 12:09 PM, DoJoe wrote:
> Can anyone share their experiences and setup details for using a
> Django development server?
I just ran across
http://lethain.com/entry/2009/feb/13/the-django-and-ubuntu-intrepid-almanac/
the other day; maybe it'll help you out a bit.
Jacob
--~
OK, I am pretty sure I found out where to put the tns_names.ora file:
$ORACLE_HOME/network/admin
But, I'm confused as to how to specify the database name. From the
Django Oracle docs (http://docs.djangoproject.com/en/dev/ref/
databases/?from=olddocs#id9) they have the SID as the DATABASE_NAME
set
Alex,
Thanks
Ron
On Feb 20, 2:37 pm, Alex Gaynor wrote:
> On Fri, Feb 20, 2009 at 2:34 PM, nixon66 wrote:
>
> > eleom,
>
> > Thanks for the catch with country county in my model.
>
> > On Feb 20, 2:22 pm, eleom wrote:
> > > Well, as the error message says, you must pass a County instance in
On Fri, Feb 20, 2009 at 2:34 PM, nixon66 wrote:
>
> eleom,
>
> Thanks for the catch with country county in my model.
>
> On Feb 20, 2:22 pm, eleom wrote:
> > Well, as the error message says, you must pass a County instance in
> > the argument 'county'. Now you are passing the name of the county,
I'm glad to hear that everything is solved.
> One more question: in what sense did you mean that MEDIA_ROOT
> "is for file uploads"? I have not begun working on file uploads
> yet, but I will need that, and I see there is documentation on it
> which talks about several configurable options. Di
eleom,
Thanks for the catch with country county in my model.
On Feb 20, 2:22 pm, eleom wrote:
> Well, as the error message says, you must pass a County instance in
> the argument 'county'. Now you are passing the name of the county, not
> the county itself. So, your last line should be
>
> l =
Ahh!!! The light goes on. Thanks for the quick response. One
additional question. How would you handle this if you are typing data
into the admin and wanted to put in the county?
On Feb 20, 2:22 pm, eleom wrote:
> Well, as the error message says, you must pass a County instance in
> the argumen
Saw this link.
Seems interesting
http://opensource.washingtontimes.com/blog/post/coordt/2009/02/washington-times-releases-open-source-projects/
--
Ramdas S
+91 9342 583 065
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Googl
That's the thing... (and I probably should have mentioned this) I'm
developing on Windows XP using the "manage.py runserver" command to
serve the files.
On Feb 20, 2:26 pm, garagefan wrote:
> Apache permissions must be set on the directory. I was having the same
> issue before I set the director
Apache permissions must be set on the directory. I was having the same
issue before I set the directory group to be Apache and gave it RWX
privileges
On Feb 20, 2:21 pm, Ty wrote:
> When I login to the administration and try to delete a file I get a
> "SuspiciousOperation" error. Here's the trac
Well, as the error message says, you must pass a County instance in
the argument 'county'. Now you are passing the name of the county, not
the county itself. So, your last line should be
l = Company(name='xyz corp', address='56 b. street', client='G corp',
city = 'Walla Walla', county=c, dollar_a
When I login to the administration and try to delete a file I get a
"SuspiciousOperation" error. Here's the traceback:
http://dpaste.com/123112/
Here's my full model:
http://dpaste.com/hold/123110/
Any help would be appreciated.
--~--~-~--~~~---~--~~
You received
Hi Matt,
Ok, I modified manage.py to add two environ variables:
import os
oracle_home = '/Users/bft228/Library/Oracle/instantclient_10_2'
os.environ['ORACLE_HOME'] = oracle_home
os.environ['DYLD_LIBRARY_PATH'] = oracle_home
Now I'm getting an error:
DatabaseError: ORA-12505: TNS:listener does n
On Fri, Feb 20, 2009 at 2:06 PM, nixon66 wrote:
>
> If this is the wrong list to post a newbie question please let me
> know. I'm getting an error message while trying to populate the tables
> created by the models and not sure why. Here are the models
>
> from django.db import models
>
> class C
Hello, does somebody know if there's a way to localize admin
permission names, so that, for example, in the user change form,
instead of 'Can add ' a localized version of it is showed?
I've searched documentation and the open tickets, but I have not found
anything talking about this. (Ticket #65
If this is the wrong list to post a newbie question please let me
know. I'm getting an error message while trying to populate the tables
created by the models and not sure why. Here are the models
from django.db import models
class County(models.Model):
name = models.CharField(max_length=80)
On Fri, Feb 20, 2009 at 1:21 PM, flagg wrote:
>
> Ok this is driving me nuts. I have two form objects that manipulate
> two models. I am trying to run the is_valid() method on both and then
> save the form data to the DB.
>
> def all_valid(form1, form2):
>return form1.is_valid() and form2.i
Polat,
Thank you, thank you!! That solved all the problems I had.
I was really at a loss to know where to look -- perhaps I hadn't
found the right docs, but this was the first time I had seen the
things you suggested.
One more question: in what sense did you mean that MEDIA_ROOT
"is for file u
Ok this is driving me nuts. I have two form objects that manipulate
two models. I am trying to run the is_valid() method on both and then
save the form data to the DB.
def all_valid(form1, form2):
return form1.is_valid() and form2.is_valid()
def addorder(request):
today = date.today()
I have a need for a subclass of the URL form field, in a slightly
woolly way.
I need it to only allow addresses which are *public*; that is,
addresses which will have the same behaviour no matter where I am on
the internet. (Yes, I know strictly you can never guarantee this for
any number of reas
On Fri, Feb 20, 2009 at 12:00 PM, Alessandro Ronchi <
alessandro.ron...@soasi.com> wrote:
>
> with postgreSQL I get case sensitive filters also with icontains.
I do not see this behavior:
Python 2.6.1 (r261:67517, Dec 4 2008, 16:51:00) [MSC v.1500 32 bit (Intel)]
on win32
Type "help", "copyrig
Can anyone share their experiences and setup details for using a
Django development server?
I'd like to setup a system using Ubuntu, MySQL and Perforce (version
ctrl) so that a small group of developers can develop from one single
system. If anyone can either point me to some existing information
I posted this a couple of days ago and didn't get a response. Thought
that I might try again.
I am creating a private genealogy web page of pictures/obituaries/data
files/census records etc... all just a set of files within a directory
structure. I just want Apache to index the directory's conten
> I asked a similar question a while ago... turns out the server i'm
> using from godaddy was set for Arizona and was an additional 20 some
> minutes off...
I checked my server and the timezone is set to US/CENTRAL and my
settings file is set to America/Chicago. So that should be the same.
Plus t
On Fri, Feb 20, 2009 at 10:52 AM, Brandon Taylor wrote:
>
> Hi everyone,
>
> I'm having a hell of a time getting connected to Oracle...
>
> We're running Intel MacBooks, OS X 10.5.6, Python 2.6.1, Django Trunk,
> Oracle InstantClient 10_2.
>
> We have tried using cx_Oracle-5.0 and 4.4.1. cx_Oracle
On Fri, Feb 20, 2009 at 10:21 AM, gordyt wrote:
>
> Howdy Viktor,
>
> On Feb 1, 1:36 pm, Viktor wrote:
> > Hi,
> >
> > did you got any response or did you managed to solve your problem?
> > I've just started to search for a UUIDField, and it would be great to
> > have proper uuid columns for pos
server date incorrect?
I asked a similar question a while ago... turns out the server i'm
using from godaddy was set for Arizona and was an additional 20 some
minutes off...
On Feb 20, 11:49 am, Sean Brant wrote:
> I am trying to render a timestamp in my template with date:"U" but the
> timesta
On Thu, Feb 19, 2009 at 7:10 PM, Trey wrote:
>
> I'm not sure if other people have stumbled onto this but I am having a
> LOT of trouble getting the admin to use select related.
>
You know select_related is a performance optimization, right? It doesn't
affect results in any way, just the number
I have a manytomany relationship between publication and pathology.
Each publication can have many pathologies. When a publication appears
in the admin template, I need to be able to see the many pathologies
associated with that publication. Here is the model statement:
class Pathology(models.Mod
Here's the code that process all steps in unittest with checking
validation form:
http://dpaste.com/123059/
What I have tryed is to collect data myself as fixture to test the
form validation.
Thanks
On Feb 20, 7:00 pm, Briel wrote:
> You don't give a lot information about what is happening, s
Fantastic! that fixed it.
Thank you soo much, been driving me crazy for days now,
Pete
On Feb 20, 4:40 pm, Daniel Roseman
wrote:
> On Feb 20, 2:40 pm, pete wrote:
>
>
>
> > Hi Daniel,
>
> > This has got me closer but i'm now just getting an empty select box
> > appearing on in the form, with
Brandon,
Usually that error arises from cx_Oracle when the ORACLE_HOME
environment variable isn't set. Try doing "manage.py shell" and
looking at what's in os.environ--if you don't see ORACLE_HOME set to
the correct location there, try fixing that first.
Matt
On Fri, Feb 20, 2009 at 9:41 AM, B
On Fri, Feb 20, 2009 at 3:55 AM, Reza Muhammad wrote:
>
> On Feb 20, 2009, at 2:19 PM, Karen Tracey wrote:
>
> ...
>
>
>>
>
> Or does it fail not because of the password? because I can connect to
>> the mail server from my regular email client with pretty much the same
>> setting.
>>
>
> Pretty mu
with postgreSQL I get case sensitive filters also with icontains.
Is there nothing I can do to solve this problem?
--
Alessandro Ronchi
Skype: aronchi
http://www.alessandroronchi.net
SOASI Soc.Coop. - www.soasi.com
Sviluppo Software e Sistemi Open Source
Sede: Via Poggiali 2/bis, 47100 Forlì (F
In my case I wanted to get something like this:
January 2008
Post name
Post name
December 2007
Post name
Post name
I can't figure out how to do it the way your are saying. I thought about
doing:
{% for entry in monts %}
{% ifchanged %}{{ entry.pub_date|date:"F Y" }}{%
You don't give a lot information about what is happening, so I'm
stabbing a bit in the dark here...
I would guess your problem is that you have created a form which has a
filefield that is required. Even though you probably upload a file and
maybe even pass it to the form, you are not doing it in
Also the /admin/ url gives
> an internal error, which in apache's errlog shows a traceback
> that ends in "OperationalError: no such table: django_session".
This is most probably due to the fact that you did not set your
DB_NAME variable with the full path of your .db file. And sqlite3 is
creatin
I am trying to render a timestamp in my template with date:"U" but the
timestamps are days off. I wrote up a simple test case that fails. Do
you think this is a bug or a user error? I am running rev: 9846.
from django.test import TestCase
class SimpleTest(TestCase):
def test_template_timesta
Hi everyone,
I'm using Oracle instantclient_10_2 (Intel), cx_Oracle-5.0.1, OS X
10.5.6 (Intel), Python 2.6.1 and Django trunk.
My built-in server will start up correct, but, when I attempt to get
objects for a model, I receive the following error:
InterfaceError: Unable to acquire Oracle enviro
On Feb 20, 2:40 pm, pete wrote:
> Hi Daniel,
>
> This has got me closer but i'm now just getting an empty select box
> appearing on in the form, with no data in.
>
> class NewBugForm(forms.Form):
> assigned_to = forms.CharField(max_length=50,widget=forms.Select
> (choices=[]), initial='Anyone',
On Fri, Feb 20, 2009 at 9:43 AM, Peter Müller
wrote:
> I want to select all Posts where text contains "Some Text" or
> Attachment.name (which is related to one post) contains "Some Text".
> Is there a way to do this with Django's ORM?
This is covered in the "Making queries" documentation
(http:/
1 - 100 of 137 matches
Mail list logo