On Sat, 2009-01-03 at 22:03 -0800, Friendless wrote:
> On Jan 4, 2:42 pm, "Karen Tracey" wrote:
> > I'll admit your tone here is starting to make me lose interest in your
> > problem report.
>
> Admit it, you weren't very interested in the first place. You've given
> me all
On Sun, Jan 4, 2009 at 1:03 AM, Friendless wrote:
>
> On Jan 4, 2:42 pm, "Karen Tracey" wrote:
> > I'll admit your tone here is starting to make me lose interest in your
> > problem report.
>
> Admit it, you weren't very interested in the first
On Jan 4, 2:42 pm, "Karen Tracey" wrote:
> I'll admit your tone here is starting to make me lose interest in your
> problem report.
Admit it, you weren't very interested in the first place. You've given
me all sorts of reasons as to why the bug shouldn't be fixed, despite
On Jan 4, 3:11 pm, garagefan wrote:
> this is rather aggravating as i'm unsure what exactly I need to give
> you to help me :/ this isn't your fault at all, as i'm an
> unexperienced with working with servers, mod_python, python and
> django.
>
> i am learning all this
It failed after it imported your settings file the first time, so I
don't think the problem's there; it also got the folder name right, so
it looks like it's just failing to recognize it as a Python package.
Any chance you got rid of __init__.py (empty file in the mysite
folder) by mistake?
On
ok... i am good at html and CSS and i have done little bit of old
school C programming and databases i have never got a chance to work
on real world programming projects
i am looking for an online guru (to teach me python/django) i want to
learn how to build websites in python. You can guide me
Hello. This is probably a silly question but I have files being stored
onto a server and strangely getting them there was very easy but how
can I get them back down?
Thank you for your patience in advance,
Sam
--~--~-~--~~~---~--~~
You received this message
On Sat, Jan 3, 2009 at 4:43 PM, Friendless wrote:
> I'm using MySQL 5.0.51a on Ubuntu Hardy Heron.
>
Hmm, that looks later than what I tested on (5.0.45). I'm not wanting to
mess with the install I have on Ubuntu, so I installed the latest 5.0.67
community version
On Jan 2, 9:01 am, rvwilliams wrote:
> Hi
>
> I'm just getting started on django and I'm using a Windows Vista
> version. Yesterday I completed about half of the tutorial without too
> much difficulty. Now I'm trying to carry on from where I stopped.
> The first
this is rather aggravating as i'm unsure what exactly I need to give
you to help me :/ this isn't your fault at all, as i'm an
unexperienced with working with servers, mod_python, python and
django.
i am learning all this as I go along.
i've got two websites on my server, both with different IP
Yes I been following your advise and done some basic Python learning. I
should obviously been doing this before starting with the tutorial but I
still think it should be a good idea to add the finessed code in the end of
each tutorial.
Anyway thanks Karen for taking time to help me out.
2009/1/3
Hi there,
I'm adding a "remember me" checkbox to comment forms, so that regular
commenters can avoid having to enter their personal information, if
they want. I was originally thinking of making this a function
attached to the comment_was_posted signal, but it will have to be
implemented
Hopefully some more experienced will be able to help you out. You have not
updated the database or changed any permissions after it worked last time?
2009/1/4 rvwilliams
>
> Absolutely certain!
>
>
> >
>
--~--~-~--~~~---~--~~
You
On Jan 4, 1:39 pm, garagefan wrote:
> there is currently only one virtual host set up, for the site i'm
> working on. I do not need anything to happen with the other url.
But why are you mentioning 'site2' in one of the other posts and
seeing for it what you only
there is currently only one virtual host set up, for the site i'm
working on. I do not need anything to happen with the other url. my
django files are in a folder at the same level as the root folder of
the site.
i simply need a virtual host for www.website.net that sits at /home/
site1/ on my
On Jan 4, 12:53 pm, garagefan wrote:
> no, as then i would need to use, for example...www.website.net/mysite/*
> instead ofwww.website.net/*for the various apps.
If you are mounting it at root of web site, you should not be setting
django.root with PythonOption
On Sat, Jan 3, 2009 at 8:48 PM, OwenK wrote:
>
> I have a simple function for sending activation emails to new users,
> but it always raises a ValueError of "unsupported format character
> '/' (0x2f) at index 51". You can see the function at
> http://dpaste.com/105078/
>
On Sat, 2009-01-03 at 17:48 -0800, OwenK wrote:
> I have a simple function for sending activation emails to new users,
> but it always raises a ValueError of "unsupported format character
> '/' (0x2f) at index 51". You can see the function at http://dpaste.com/105078/
> . the newuser argument is
i currently only have two sites, one is not being developed at this
time.. but w/o the virtual host that site displays the same apps and
info at it's url as the site i am working on, which i do not want to
happen. what i have copied for my virtual host is really everything i
have.
As i said, i
no, as then i would need to use, for example... www.website.net/mysite/*
instead of www.website.net/* for the various apps.
as i said the locations worked perfectly before attempting to create
the virtual host. right now i need to have this virtual host point to
the correct website on my server.
BTW, with mod_python, if trying to host multiple Django sites inside
of same VirtualHost, you must set PythonInterpreter directive
differently for each.
You really need to provide a more complete example showing all the
sites and how they site with respect to each other and the VirtualHost
in
I have a simple function for sending activation emails to new users,
but it always raises a ValueError of "unsupported format character
'/' (0x2f) at index 51". You can see the function at http://dpaste.com/105078/
. the newuser argument is a user instance, and active_key is a string
of length 25
On Jan 4, 12:17 pm, garagefan wrote:
> I've read the documentation, and it doesn't seem clear enough, or
> provide a fully working example?
>
> i've copied what i have in my python.conf file, keep in mind that i
> have removed site specific names and have made them
I've read the documentation, and it doesn't seem clear enough, or
provide a fully working example?
i've copied what i have in my python.conf file, keep in mind that i
have removed site specific names and have made them generic
NameVirtualHost *:80
ServerName www.website.net
> On Jan 1, 3:23 pm,waltbrad wrote:
>
> > Okay, I'm getting closer.
Well, I got all my templates to work. Could someone tell me if it was
just me missing something or if there are mistakes in that book in
regards to tagging? I've been following along with the Hedged Down
On Jan 3, 5:33 am, phoebebright wrote:
> On Jan 2, 7:06 pm, Shay Ben Dov wrote:
>
> > Hi,
>
> > I'm using GAE and wondering how come there is no comma insertion
> > orcurrencyformating of floating numbers like:
>
> > {{ value|floatformat:2 }}
well, doy. I just noticed that when attempting to create a form from a
model I called forms.Form instead of ModelForm. I'll mess with it some
more and see what happens.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Hi all -
I am having a bit of difficulty with the Django comments framework -
more specifically, dealing with comment modifications by site users as
well as moderators.
Basically, I have a site in which users can post comments (using the
out-of-the-box commenting framework). I'd like to have a
I am trying to figure out how to create a model field that doesn't
pull from the database but instead pulls from the file system, shows
it in the forms as a Textarea, then just saves it back to file system
when the model is saved.
In my mind it seems pretty simple. I have read the custom models
Thanks Karen, that fixes the problem in the django admin. At least now
I know that everything is ok on the database and model fronts.
However, in my own form it is still not validating this relationship.
Here is what I have right now:
in a forms.py file there is a base form for the Case model:
On Jan 3, 2009, at 11:47 PM, Masklinn wrote:
> It's worse than comparing apples and oranges, it's comparing apples
> and potatoes.
Except if you are French... as potatoes are named "pomme de terre"...
literally "ground apple"... :P
http://en.wikipedia.org/wiki/Potato#Etymology
Cheers,
On 3 janv. 09, at 22:08, mobil wrote:
> Ten reasons why couchdb is better than (off topic)
>
>
> http://pylab.blogspot.com/2009/01/ten-reasons-why-couchdb-is-better-than.html
>
> Guys I wrote up a small list of reasons why i think couchdb is way
> bettter than mysql. Do
On Fri, Jan 2, 2009 at 8:03 AM, Friendless wrote:
>
> I tried to report a bug anonymously and got told I was spam, so I
> signed up, got the email, activated the account, and still can't log
> in and still can't report the bug. I've been using Django 30 minutes
>
I'm using MySQL 5.0.51a on Ubuntu Hardy Heron.
As you say, this is a somewhat obscure bug. I guess the question is,
do you want your product to work or not? You've acknowledged it's a
valid problem. I tried to use Django 0.92 when it was the latest
version and inspectdb fell over. I can't
Following on from this example, I am trying to use values from a table
to populate a choicefield (and been at it for 2 days trying every
method I can find in google)
Clearly from the output below, I am creating the wrong kind of data
type, but don't know how to change it:
THIS VERSION
I dont believe I missed this...
It wasnt showing because the browser was interpreting it as a html
tag..
haha. nm.
On Jan 3, 11:52 am, "tom.s.macken...@gmail.com"
wrote:
> Hello,
>
> I am trying incorporateFormMediain my forms and I'm having some
> trouble
Ten reasons why couchdb is better than (off topic)
http://pylab.blogspot.com/2009/01/ten-reasons-why-couchdb-is-better-than.html
Guys I wrote up a small list of reasons why i think couchdb is way
bettter than mysql. Do let me know what you think
--
Gpirate the top torrent search engine
Suppose I have something like this in models.py:
class EquipmentModel(models.Model):
...
wireless = booleanField();
manageable = booleanField();
class Equipment(models.Model):
equipment_model = ForeignKey(EquipmentModel)
...
ssid = charField(...)
ip =
Greetings All,
I've just finished the 0.1 version of django-batchimport and have
released it on code.google.com.
Go to http://code.google.com/p/django-batchimport/ for more
information (and SVN checkout).
This application can be added to any django project to give it batch
import capability
I have an app that provides some custom SQL statements for populating the
test database (located in /particles/sql/particle.sql). The app's database
table (particles_particle) is populated correctly when I run the test case
for the app (i.e. python manage.py test particles) but the database
Hello,
I am trying incorporate Form Media in my forms and I'm having some
trouble interpreting how this is done via,
http://docs.djangoproject.com/en/dev/topics/forms/media/
My goal is to use the admin/media/css/form.css in my template.
Here is my form:
class ApprovalForm(ModelForm):
Absolutely certain!
--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send email to
My page shows a (logged in) user an iFrame but when the iframe
redirects the browser after it's done, the session is lost. The
redirecting of the parent (by the iframe) is done as follows:
=
function load() {
parent.location.href='
I have noticed that running unit tests for my own apps can interfere with the
testing of some of the django internal apps (auth, sessions, sites, etc.).
I have been using ipdb to debug and to help write views and tests, and it
appears that importing the ipdb module (import ipdb) causes many of
I've done it, although it was not a trivial task.
This helped me a lot:
http://www.b-list.org/weblog/2008/nov/09/dynamic-forms/
Xan wrote:
> Hi,
>
> I just want to know if django support dynamic fields, that is the
> option of not specied the type of field in the model and that user
> could
Hi,
I just want to know if django support dynamic fields, that is the
option of not specied the type of field in the model and that user
could specify in application.
I think for examples about an application for doing notes. In one
note, one want to have: title, body, media, etc. but the
Hi,
Suppose I have the following model:
class Document(BaseModel):
name = models.CharField(max_length=150,blank=True)
description = models.TextField(blank=True)
file =
Models.FileField(upload_to="data/documentation/document/%Y/%m/%d",blank=True)
And suppose I've a model I
Btw, maybe useful :) My urls.py:
from django.conf.urls.defaults import *
from django.views.generic.simple import direct_to_template
from django.conf import settings
# Uncomment the next two lines to enable the admin:
from django.contrib import admin
admin.autodiscover()
urlpatterns =
Hello :)
Once again I would like you to ask you for your help. I designed two
static pages, which I want to link to eachother. Both pages are
viewable, when I explicitly change the URL in the adress-bar. However,
I cannot navigate to the other static page by means of the (href) link
on the first
Not the most exciting, but you could always use the orm to pull data
out of the old db and thenswl to put it into the new one(or vice
versa).
On Jan 3, 4:10 am, Szymon wrote:
> Hello,
>
> I've found in archives message:
>
> > Check out django_extensions
> >
On Sat, Jan 3, 2009 at 3:01 AM, adrian wrote:
>
>
> I happen to have a bunch of models that all have foreign keys, but
> there is an order in which they could all be initialized. I have
> figured out how to initialize the built-in User model using Json data,
> but I can't
On Jan 2, 7:06 pm, Shay Ben Dov wrote:
> Hi,
>
> I'm using GAE and wondering how come there is no comma insertion
> orcurrencyformating of floating numbers like:
>
> {{ value|floatformat:2 }} built_in filter
>
> Shay
You could try
Hello,
I've found in archives message:
> Check out django_extensions app,
> http://code.google.com/p/django-command-extensions/.
> It has a command, dumpscript [...]
It takes ages to complete. I've tried that method yesterday. I've
turned off my web server and ran that command. After 6 hours
I just started using Django as well
Are you sure you have not made any changes to your settings file?
Only a guess!
2009/1/2 rvwilliams
>
> Hi
>
> I'm just getting started on django and I'm using a Windows Vista
> version. Yesterday I completed about half of the
I agree that hacking request.user is a bad idea here. Write a function
for your view that returns data for a given user ID, then call it with
the owner or visitor's ID. I would also have two separate views unless
what the users are doing is very similar.
On Jan 2, 5:54 am, bruno desthuilliers
On Sat, 2009-01-03 at 13:23 +1100, Malcolm Tredinnick wrote:
> Dictionary updates are safe in Python.
Oh, I see, because of the GIL... Thanks.
-i
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users"
56 matches
Mail list logo