Ian Kelly kirjoitti:
> On May 22, 10:59 am, Christina wrote:
>> Hi all,
>>
>> I'm trying to set up a new Django app that will have several models
>> based on existing Oracle tables. I'm running Django 1.0.2, python
>> 2.5.1 and cxOracle 5.0.1.
>>
>> These tables are in a different schema than th
On Sat, May 23, 2009 at 11:21 PM, Juan Hernandez wrote:
> where could I download third party django apps??
Anyone who's doing proper application packaging and distribution will
have listed their application on the Python Package Index and applied
the Django framework classifier. A list of packag
where could I download third party django apps??
On Sun, May 24, 2009 at 8:21 PM, Tim Chase
wrote:
>
> > I like you to plan me a timetable to learn Django from a to z
> > in 3 months pleas help me.
>
> You don't mention your starting point:
>
> - Do you already have /any/ programming skills?
>
On Sat, 2009-05-23 at 16:55 -0300, Gabriel wrote:
> I can make django work under wsgi.
>
> I configured apache to run wsgi and the test script works.
>
> This is the vhost conf:
>
>
> ServerName test.banshee.lnx
> DocumentRoot "/home/www/python"
> ErrorLog /home/gabriel/pywks/test/
Spot on. Thanks Karen
On May 24, 11:08 am, Karen Tracey wrote:
> On Sat, May 23, 2009 at 9:57 PM, adelaide_mike
> wrote:
>
>
>
>
>
> > First, please forgive my post to the Django developers group. I mis-
> > understood the terminology.
>
> > I am a total beginner in Django but have long experie
On Sat, May 23, 2009 at 9:57 PM, adelaide_mike
wrote:
>
> First, please forgive my post to the Django developers group. I mis-
> understood the terminology.
>
> I am a total beginner in Django but have long experience with Omnis.
> My data stores addresses in three tables named
> Suburb, (columns
First, please forgive my post to the Django developers group. I mis-
understood the terminology.
I am a total beginner in Django but have long experience with Omnis.
My data stores addresses in three tables named
Suburb, (columns are id, name)
Street, (columns are id, name, suburb_id)
Property (
Constructive suggestions for improving the documentation system should
go into tickets in Trac. Personal correspondence between participants
should stay off-list. Thread should be over now, please.
--
"Bureaucrat Conrad, you are technically correct -- the best kind of correct."
--~--~-
On Sat, May 23, 2009 at 4:15 PM, Masklinn wrote:
>
> On 23 May 2009, at 21:32 , Nils-Hero wrote:
> > Hi,
> >
> > that is a sympathic cite by voltaire and i agree
> >
> > Sphinx sucks, simply because it is not installable. dot.
>
This is going to turn into a real ugly flame war quickly. Let's get
> I like you to plan me a timetable to learn Django from a to z
> in 3 months pleas help me.
You don't mention your starting point:
- Do you already have /any/ programming skills?
- Do you already know Python?
- Do you already know HTML?
- Do you understand HTTP?
- Are you comfortable
Email me privately and I will send you the html docs.
sdc
--~--~-~--~~~---~--~~
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
On May 23, 1:40 am, Daniel Roseman
wrote:
> On May 23, 5:07 am, Rex wrote:
> > On May 22, 4:33 pm, "R. Gorman" wrote:
> > > On May 21, 10:48 pm, Rex wrote:
>
> > > > I have the following code in a view, where UserSurveyForm is a
> > > > ModelForm.
>
> > > > f = UserSurveyForm(request.POST, ins
The reference you want is here:
http://docs.djangoproject.com/en/dev/ref/forms/validation/#form-subclasses-and-modifying-field-errors
Note particularly those first few paragraphs under 'Form subclasses
and modifying field errors', and examples below.
sdc
--~--~-~--~~~--
On Sat, May 23, 2009 at 4:35 PM, dr.attas wrote:
>
> I like you to plan me a timetable to learn Django from a to z in 3
> months pleas help me.
Start with the tutorial. Write your own app. Look at 3rd party apps for
overall best practices. Start digging into source code. You should be able
to h
On Saturday 23 May 2009 02:10:17 pm Rok wrote:
> Tried, but still no luck. Is it enough just to set
> TEMPLATE_CONTEXT_PROCESSORS or should I add something else?
Should be, here is the relative doc page for it.
http://docs.djangoproject.com/en/dev/ref/templates/api/#django-core-context-processor
On 23 maj, 21:28, Mike Ramirez wrote:
> On Saturday 23 May 2009 11:53:08 am Rok wrote:
>
> > I am using @login_required decorator, where "I" do not have to write
> > my login view, since decorator does everything "I" want. When user is
> > not logged in it gets redirected to LOGIN_URL where he ca
I like you to plan me a timetable to learn Django from a to z in 3
months pleas help me.
--~--~-~--~~~---~--~~
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
On 23 May 2009, at 21:32 , Nils-Hero wrote:
> Hi,
>
> that is a sympathic cite by voltaire and i agree
>
> Sphinx sucks, simply because it is not installable. dot.
>
It's "period" not "dot". And Sphinx is trivially installable. Download
the tarball, untar, launch "setup.py install", you're done.
I can make django work under wsgi.
I configured apache to run wsgi and the test script works.
This is the vhost conf:
ServerName test.banshee.lnx
DocumentRoot "/home/www/python"
ErrorLog /home/gabriel/pywks/test/error_log
WSGIDaemonProcess test processes=2 threads=15 display-n
I'm using the CheckboxSelectMultiple widget in a MultipleChoiceField
and I need more control over where the field labels go and the field
themselves. So far this is the only field type I've had a problem
with. I've spent at least a few hours trying to find info on the web
to no avail.
I can't fig
On May 23, 11:57 am, "m...@nysv.org"
wrote:
> Maybe I'll still try Process objects instead of processing.Pool.imap()
> to be safe..
I never did, as it seems the connection is very global.
I also made a finding that the connection live in the base model, so
although
from django.db import conne
Hi,
that is a sympathic cite by voltaire and i agree
Sphinx sucks, simply because it is not installable. dot. html-zips or
'setup.py install'. its just that simple.
I suggest, you compile that doc for me, send it to n...@freiewelt.org,
and for this work i put that as a download on my website an
On Saturday 23 May 2009 11:53:08 am Rok wrote:
> I am using @login_required decorator, where "I" do not have to write
> my login view, since decorator does everything "I" want. When user is
> not logged in it gets redirected to LOGIN_URL where he can login, when
> he request URL/view which has @log
I am using @login_required decorator, where "I" do not have to write
my login view, since decorator does everything "I" want. When user is
not logged in it gets redirected to LOGIN_URL where he can login, when
he request URL/view which has @login_required decorator...
But what if user requests LO
Please make sure there isn't another Django version being loaded.
I experienced the same situation when I had copied admin media from one
version and the Django module loaded had another one. (i.e. Django 1.0
installed systemwide and Django 1.1 on a virtualenv)
Regards,
Ariel.
--~--~-~--
Hi,
On Sat, May 23, 2009 at 1:22 PM, Karen Tracey wrote:
> On Sat, May 23, 2009 at 1:05 PM, Alex Gaynor wrote:
>>
>> For what it's worth, neither I, nor anyone else, have ever seen the issue
>> on a non-Windows platform. However, I seem to recall using a different
>> SQLite, or python, or some
On Sat, May 23, 2009 at 1:05 PM, Alex Gaynor wrote:
>
> For what it's worth, neither I, nor anyone else, have ever seen the issue
> on a non-Windows platform. However, I seem to recall using a different
> SQLite, or python, or something version actually fixes the issue. You'd
> have to check th
On Sat, May 23, 2009 at 11:58 AM, Carlos A. Carnero Delgado <
carloscarn...@gmail.com> wrote:
>
> Hi,
>
> On Sat, May 23, 2009 at 12:54 PM, Alex Gaynor
> wrote:
> > There was a bug like this seen when aggregates were first added that no
> one
> > was ever able to figure out. If you search django
Hi,
On Sat, May 23, 2009 at 12:54 PM, Alex Gaynor wrote:
> There was a bug like this seen when aggregates were first added that no one
> was ever able to figure out. If you search django-developers you'll see the
> discussions of this, it was only ever seen on Windows with SQLite, is that
> wha
On Sat, May 23, 2009 at 11:51 AM, Carlos A. Carnero Delgado <
carloscarn...@gmail.com> wrote:
>
> Hello,
>
> I'm having a little problem that's making my head hurt. I'm getting an
> unintended date to string conversion in my application.
>
> >>> import django
> >>> django.VERSION
> (1, 1, 0, 'b
George Song kirjoitti:
> On 5/23/2009 8:53 AM, Jani Tiainen wrote:
>> Kai Diefenbach kirjoitti:
>>> Hi Jani,
>>>
>>> On 23 Mai, 14:13, Jani Tiainen wrote:
I'm designing application (site) that is supposed to rely heavily on
pluings.
i didn't found much of references how I can
Hello,
I'm having a little problem that's making my head hurt. I'm getting an
unintended date to string conversion in my application.
>>> import django
>>> django.VERSION
(1, 1, 0, 'beta', 1)
>>> import djtest.settings
>>> djtest.settings.DATABASE_ENGINE
'sqlite3'
Obviously, djtest
Also, There is a plugin for firefox that enable you to manage sqlite
database with a GUI interface.
https://addons.mozilla.org/en-US/firefox/addon/5817
I find it quite handy
On May 23, 7:01 am, ashish tiwari wrote:
> i create the tables in models.py
>
> i have the problem to delete table from d
Fair enough. I don't really have an issue with the idea, could be quite handy.
I can just imagine them saying no :) so thought I would question it as
a move/idea.
Also, might be a good idea to wait until 1.1 is out the door so they
have time to consider it properly...
Dougal
On 23/05/2009, mar
Is your form variable the problem? Based on using f.is_valid() the
code prior to this should be:
f = *YourFormObject*(request.POST)
R.
On May 23, 12:07 am, Rex wrote:
> On May 22, 4:33 pm, "R. Gorman" wrote:
>
>
>
>
>
> > You are correct in your understand that .is_valid() returns False if
>
On 5/23/2009 9:07 AM, ken keller wrote:
> When my view returns:
>
> return HttpResponseForbidden()
>
> the browser doesn't show the non-200 status.
How are you determining that the browser is not receiving a 403 status?
--
George
--~--~-~--~~~---~--~~
You rece
On 5/23/2009 8:53 AM, Jani Tiainen wrote:
> Kai Diefenbach kirjoitti:
>> Hi Jani,
>>
>> On 23 Mai, 14:13, Jani Tiainen wrote:
>>> I'm designing application (site) that is supposed to rely heavily on
>>> pluings.
>>>
>>> i didn't found much of references how I can create plugin ...
>> You may look
When my view returns:
return HttpResponseForbidden()
the browser doesn't show the non-200 status.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-use
---
ashish tiwari wants to stay in better touch using some of Google's coolest new
products.
If you already have Gmail or Google Talk, visit:
http://mail.google.com/mail/b-d1daa37620-797e12f2ba-bbc006273b9d2d26
You'll need to cl
---
ashish tiwari wants to stay in better touch using some of Google's coolest new
products.
If you already have Gmail or Google Talk, visit:
http://mail.google.com/mail/b-d1daa37620-dc0367129f-044c014942754058
You'll need to cl
---
ashish tiwari wants to stay in better touch using some of Google's coolest new
products.
If you already have Gmail or Google Talk, visit:
http://mail.google.com/mail/b-d1daa37620-3180f48683-516d3374db6ca61b
You'll need to cl
On Sat, May 23, 2009 at 10:50 AM, Jani Tiainen wrote:
>
> George Song kirjoitti:
> > On 5/23/2009 5:13 AM, Jani Tiainen wrote:
> >> I'm designing application (site) that is supposed to rely heavily on
> >> pluings.
> >>
> >> i didn't found much of references how I can create plugin that can
> >>
Kai Diefenbach kirjoitti:
> Hi Jani,
>
> On 23 Mai, 14:13, Jani Tiainen wrote:
>> I'm designing application (site) that is supposed to rely heavily on
>> pluings.
>>
>> i didn't found much of references how I can create plugin ...
>
> You may look into this article:
> http://martyalchin.com/20
George Song kirjoitti:
> On 5/23/2009 5:13 AM, Jani Tiainen wrote:
>> I'm designing application (site) that is supposed to rely heavily on
>> pluings.
>>
>> i didn't found much of references how I can create plugin that can
>> provide something useful for my main template. something like:
>>
>>
On Sat, May 23, 2009 at 10:34 AM, Andrew Se. Fefelov <
andrew.fefe...@gmail.com> wrote:
>
> Hello guys!
>
> Using manage.py loaddata I got error
>
> RuntimeError: maximum recursion depth exceeded
>
> Full text on: http://dpaste.com/46940/
>
> Don know what to do. Help pls!
>
>From the stack trace
Hi Jani,
On 23 Mai, 14:13, Jani Tiainen wrote:
> I'm designing application (site) that is supposed to rely heavily on
> pluings.
>
> i didn't found much of references how I can create plugin ...
You may look into this article:
http://martyalchin.com/2008/jan/10/simple-plugin-framework/
Kai
--
Thanks Daniel,
Its working fine now. :)
On May 23, 1:39 am, Daniel Roseman
wrote:
> On May 23, 6:34 am, Puneet wrote:
>
>
>
> > Hi All,
>
> > I am facing issue when I am trying to access session variables in
> > django.
>
> > I am setting the session variable something like :
>
> > request.se
> class MyForm(forms.Form):
> def __init__(self, *args, **kwargs):
> request = kwargs.pop('request', None)
> if request:
> self.request = request
> super(MyForm, self).__init__(*args, **kwargs)
>
> ... and in the view:
> myform = MyForm(request.POST, request
On 5/23/2009 5:13 AM, Jani Tiainen wrote:
> I'm designing application (site) that is supposed to rely heavily on
> pluings.
>
> i didn't found much of references how I can create plugin that can
> provide something useful for my main template. something like:
>
> myplugin.py:
>
> provide_link
Hello guys!
Using manage.py loaddata I got error
RuntimeError: maximum recursion depth exceeded
Full text on: http://dpaste.com/46940/
Don know what to do. Help pls!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
On May 23, 2:33 pm, Bobby Roberts wrote:
> > The code you have given is incapable of producing that error - request
> > is passed as a parameter, so will always be defined within the
> > function. Are you sure the error is coming from within the function?
> > Give us the actual traceback that is
also sprach Dougal Matthews [2009.05.23.1103 +0200]:
> I don't think tagging is a particularly hard or non-trivial.
No. All the more reason to push for a standard and prevent dozens
of different implementations, no?
> Anyway, this conversation is a bit irrelevant because; Core
> developers want
> The code you have given is incapable of producing that error - request
> is passed as a parameter, so will always be defined within the
> function. Are you sure the error is coming from within the function?
> Give us the actual traceback that is being produced.
> --
> DR.
def GetRequestId(req
On May 23, 2:07 pm, Bobby Roberts wrote:
> from django import forms
> from tinymce.widgets import TinyMCE
>
> def GetRequestId(request):
> curpath=request.path
> return curpath
>
> Hi all. I have a simple function i'm tryin to implement in my
> forms.py file. The intent is to get the c
Hi.
I've the same problem deploying a django application on my web hosting
with FastCGI.
I've tried also to entirely copy the media admin directory into my
public_html, but the only page I continue see looking good is the
LOGOUT page.
It seems that Django doesn't load properly the css. In the h
from django import forms
from tinymce.widgets import TinyMCE
def GetRequestId(request):
curpath=request.path
return curpath
Hi all. I have a simple function i'm tryin to implement in my
forms.py file. The intent is to get the current path. However, this
code results in
global name
On May 23, 12:27 pm, Stephen Cheng wrote:
> I suppose that all the fields' value in the form defined in model can
> be captured and remained when/after you do form validation. My problem
> is that :
>
> 1. When the form is not valid, the filename of image field is gone
> once you click submit or
On May 23, 9:35 am, wierob83 wrote:
> Hi,
>
> how can I obtain a QuerySet from a raw SQL query?
>
> I want to use some generic views (objects list, object detail).
> Unfortunately, all examples I've seen require a QuerySet (e.g.
> MyModel.objects.all()). I'm using an existing database and already
I'm designing application (site) that is supposed to rely heavily on
pluings.
i didn't found much of references how I can create plugin that can
provide something useful for my main template. something like:
myplugin.py:
provide_link = "MyPlugin"
And then in my "core" application template:
t
Hi Chris,
What implementation are you planning to support? I think this is a
good idea. Why don't you roll the ball first and get community
feedback from there.
Cheers.
On May 23, 7:24 pm, Chris McCormick wrote:
> Hi Lakshman,
>
> I haven't yet started or made any progress on this library. I w
I suppose that all the fields' value in the form defined in model can
be captured and remained when/after you do form validation. My problem
is that :
1. When the form is not valid, the filename of image field is gone
once you click submit or
2. If I intend to do something else once all fields ar
On 23 May 2009, at 13:01 , ashish tiwari wrote:
> i create the tables in models.py
>
> i have the problem to delete table from databasei m using SQLITE3
> any one give me the code to how delete the table from database...
>
> thanks
Use standard SQL DDL: DROP TABLE *tablename*;
--~--~-~--~
On May 22, 4:48 pm, Gabriel wrote:
> Actually LANG is an example ;)
> The real directory structure is:
>
> locale/fr/LC_MESSAGES
> locale/es/LC_MESSAGES
> locale/de/LC_MESSAGES
> and so on
>
> Regards.
I got that :)
so you have already used lowercased LANG directory names? if so, I
have no cl
i create the tables in models.py
i have the problem to delete table from databasei m using SQLITE3
any one give me the code to how delete the table from database...
thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Gro
On 23 May 2009, at 11:57 , Graham Dumpleton wrote:
> On May 23, 5:59 am, palewire wrote:
>> The default httpd.conf loaded on my CentOS server contains the
>> following authentication modules.
>>
>> LoadModule auth_basic_module modules/mod_auth_basic.so
>> LoadModule auth_digest_module modules/mod
On Saturday 23 May 2009 15:54:11 wierob83 wrote:
> Are there any existing templates/stylesheets that I can build up on?
this may be of interest to you:
http://www.blueprintcss.org/
one of the original authors was/is? one of the designers of django's CSS and
templates.
--
regards
kg
http://law
Run a google search on free css templates and you'll get hundreds and
hundreds of results.
Alan.
On May 23, 11:54 am, wierob83 wrote:
> Hi,
>
> Are there any existing templates/stylesheets that I can build up on?
>
> I'm new to Django. Although I'm impressed how easy it is to create a
> view to
Hi,
Are there any existing templates/stylesheets that I can build up on?
I'm new to Django. Although I'm impressed how easy it is to create a
view to return some data, the views I'm able to write as a programmer
never look really good.
While the admin and databrowse app seems to provide a ready
Hi,
how can I obtain a QuerySet from a raw SQL query?
I want to use some generic views (objects list, object detail).
Unfortunately, all examples I've seen require a QuerySet (e.g.
MyModel.objects.all()). I'm using an existing database and already
have SQL queries that I want to use. So how can
Hi Chris and Lakshman,
hopefully I can compensate the "underwhelming response" a bit :-)
The first that came to mind was OpenID. It's the rapid growing
protocol being used for Signle Sign-on. It's an open standard, yeah!
There are Python/Django libraries available you can use:
http://www.openid
Hi,
Are there any existing templates/stylesheets that I can build up on?
I'm new to Django. Although I'm impressed how easy it is to create a
view to return some data, the views I'm able to write as a programmer
never look really good.
While the admin and databrowse app seems to provide a ready
On May 23, 5:59 am, palewire wrote:
> The default httpd.conf loaded on my CentOS server contains the
> following authentication modules.
>
> LoadModule auth_basic_module modules/mod_auth_basic.so
> LoadModule auth_digest_module modules/mod_auth_digest.so
> LoadModule authn_file_module modules/m
Hi Lakshman,
I haven't yet started or made any progress on this library. I was a bit put off
by the underwhelming response on this mailing list. Maybe I'll set up a Google
Code repository this week, and import the working Facebook code I have, and
then start integrating some of the other systems.
On May 23, 1:59 am, "R. Gorman" wrote:
> You can control database connections and transactions using
> transaction management:
>
> http://docs.djangoproject.com/en/dev/topics/db/transactions/
This isn't about transactions, it's about the how the connection
itself can not be properly shared.
Whe
I've never actually used it in any work related projects. I've only used it
in personal messing around type projects...
> Good contrib packages tackle issues that that are not trivial, are bikeshed
> prone, and are difficult to get right for the common case.
I don't think tagging is a particular
also sprach Kai Kuehne [2009.05.23.1048 +0200]:
> > Pretty must everybody does seem to use django-tagging unless
> > they have some special weird use-case.
>
> Huh? Can you remove that "everybody", please? I've never used
> tagging and I'm confident - many others too.
I think he implicitly meant
On May 22, 6:15 pm, Karen Tracey wrote:
> On Fri, May 22, 2009 at 7:41 AM, m...@nysv.org
> wrote:
>
> FWIW, the only other time I recall something like this coming up is here:
> http://groups.google.com/group/django-users/browse_thread/thread/4b9a...
Cool, but frightening :)
> You need to ensu
Hi,
On Fri, May 22, 2009 at 11:52 PM, Dougal Matthews wrote:
> Pretty must everybody does seem to use django-tagging unless they have some
> special weird use-case.
Huh? Can you remove that "everybody", please? I've never used tagging
and I'm confident - many others too.
--~--~-~--~---
Fields seperated with \t sounds a bit like a CSV export right? I
needed to import CSV too, so I used the csv module to parse the file
and then django models to store it in the database, no custom sql
needed.
# set up django environment
[ ... ]
import csv
reader = csv.reader(open('file.csv', 'r'),
also sprach Dougal Matthews [2009.05.23.0232 +0200]:
> It doesn't. Why should it?
Well, because django-tagging is, quote Jacob:
- optional
- de-facto standard
- the implementation of a common pattern
Tagging is a very common feature nowadays, isn't it? Having tag
support integrated with D
On May 23, 5:07 am, Rex wrote:
> On May 22, 4:33 pm, "R. Gorman" wrote:
>
> > You are correct in your understand that .is_valid() returns False if
> > the data is invalid. Are you sure you are not processing data
> > irrespective of whether the data validated or not? A little more
> > detail on
I think the errors attribute needs to be a list (hence the name), so
try:
form._errors['name'].append('User name already in use')
I think errors is not only a list, but an instance of
django.forms.utils.ErrorList (or any subclass of it), which controls
the way errors are displayed in the form, a
On May 23, 6:34 am, Puneet wrote:
> Hi All,
>
> I am facing issue when I am trying to access session variables in
> django.
>
> I am setting the session variable something like :
>
> request.session['cityname'] = cityname
> c = RequestContext(request, {'current_date': now})
> html = t.render(c
> each be on their own domain when finished, and they will both have
> their own auth models (to use both sites, you need an account on each
> site).
Sounds like two different settings files to me but I would be
interested to hear what others have to input.
--~--~-~--~~~--
I recommand used "print [modal]" in the views and see what happend in
the terminal.
PS: you'd better try replace :
def __str__(self):
return self.SampleID
with:
def __unicode__(self):
return self.SampleID
On May 22, 11:55 pm, Herta wrote:
> hi, everyo
On 23 May 2009, at 02:32 , Dougal Matthews wrote:
> It doesn't. Why should it?
>
To be blessed at the "true standard" for tagging, the way third-party
python modules are pulled into the stdlib?
--~--~-~--~~~---~--~~
You received this message because you are subsc
86 matches
Mail list logo