Did you ldconfig? Did you add the library to your LD_CONFIG?
On Thu, Aug 28, 2008 at 1:53 PM, Malcolm Tredinnick <
[EMAIL PROTECTED]> wrote:
>
>
> On Thu, 2008-08-28 at 13:43 -0700, Huuuze wrote:
> > I recently installed PostgreSQL 8.3.3 and psycopg 2 (latest from
> > SVN). When I attempt to sta
On Fri, Aug 29, 2008 at 5:58 PM, Guillaume Lederrey
<[EMAIL PROTECTED]> wrote:
> After updating to the latest trunk, I get a couple of errors when I
> have field that define "core=True". After digging into the code, I
> find changeset 8616 (http://code.djangoproject.com/changeset/8616)
> that docu
On Mon, Sep 1, 2008 at 4:56 AM, Nick Day <[EMAIL PROTECTED]> wrote:
> I have a model called "en". In the admin interface this appears as
> "En" on the site administration page and in the breadcrumb trail.
http://docs.djangoproject.com/en/dev/ref/models/options/#verbose-name
--
"Bureaucrat Con
On the sides it should say the stats!
On Mon, Sep 1, 2008 at 6:09 AM, Will Rocisky <[EMAIL PROTECTED]> wrote:
>
> yeah, I am visiting that group :)
>
> On Sep 1, 6:55 pm, "Artis Caune" <[EMAIL PROTECTED]> wrote:
> > On Mon, Sep 1, 2008 at 2:54 PM, Will Rocisky <[EMAIL PROTECTED]> wrote:
> >
> > >
On Mon, Sep 1, 2008 at 7:22 PM, Alex <[EMAIL PROTECTED]> wrote:
> I have set the following in settings.py (among a thousand other
> combinations).
The value you want is the app label, which is 'core', followed by a
dot, followed by the model name, which is 'userprofile'. So
'core.userprofile'. No
On Mon, Sep 1, 2008 at 10:24 PM, Vance Dubberly <[EMAIL PROTECTED]> wrote:
> Hmm perhaps I should do
>
> foo = Foo.objects.filter(pk=1)
> foo_form = FooForm(instance=foo)
> data = foo_form.cleaned_data
Or you could do what the form itself is doing, namely, using the
function django.forms.models.
On Tue, Sep 2, 2008 at 2:30 AM, bruno desthuilliers
<[EMAIL PROTECTED]> wrote:
> More seriously, it took me 2 minutes playing with a model object in
> the interactive shell to come up with what seems a working solution:
Yeah, which is why I pointed out the easy wrapper function for it in
my email
Also make sure to set the rewrite handle. On my shared host you need to
enable fcgi then have the dispatch.fcgi in your web root.
On Tue, Sep 2, 2008 at 8:31 AM, Milan Andric <[EMAIL PROTECTED]> wrote:
>
> On Mon, Sep 1, 2008 at 7:19 PM, Ronaldo Z. Afonso
> <[EMAIL PROTECTED]> wrote:
> >
> > Hi e
Is it possible that some form of server security is stripping them out?
On Tue, Sep 2, 2008 at 10:28 AM, cwurld <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> My site has recently starting generating a lot of HTTP Error 500's.
> The traceback is always:
>
> ImproperlyConfigured: Error importing request p
Also uncomment the admin.autodiscover() line. (If you are holding a svn
version)
On Tue, Sep 2, 2008 at 11:15 AM, Ronny Haryanto <[EMAIL PROTECTED]> wrote:
>
> On Wed, Sep 3, 2008 at 12:56 AM, Weber Sites <[EMAIL PROTECTED]>
> wrote:
> > I'm trying to follow the Tutorial02 and once i uncomment th
istribution), or if you
are a hosting company which officially supports Django as an option
for customers, and you did **not** receive an advance notification of
this issue, please contact Django's release manager (James Bennett,
james at b-list dot org) as soon as possible so that you can be ad
We've just put up the package for the first Django 1.0 release
candidate; this package contains all of the progress made on Django
through the alpha and beta releases, and is fairly close to the final
Django 1.0 release. It's still not recommended for production use, but
we do encourage everyone t
On Tue, Sep 2, 2008 at 8:13 PM, Joeyx2 <[EMAIL PROTECTED]> wrote:
> Still waiting on that source code?
Guys, I promise you all that there will be a loud and triumphant
announcement on my blog when the package goes up. With Django 1.0
landing and the final changes from that still being worked on,
HI List,
Today Google released chrome. I have been playing around with it a little
today. Besides for seeing some funny things (try
https://www.gmail.comThanks reddit) It seems to be a very nice
browser. I would like to see where
it's path is going to go. What are your thoughts?
James
--
I am using Dreamhost and it's works (It's a little bit of pain to install
but they officially are going to support it soon)
On Wed, Sep 3, 2008 at 5:18 AM, <[EMAIL PROTECTED]> wrote:
>
> I had the beta container for Django and to me, compared to say
> WebFaction, it was a pain in the ass, it just
The Django team is pleased to announce the release of Django 1.0 this evening:
Download: http://www.djangoproject.com/download/
Release notes: http://docs.djangoproject.com/en/dev/releases/1.0/
Have fun with it, and we'll see you in a few days for DjangoCon.
--
"Bureaucrat Conrad, you are tec
On Wed, Sep 3, 2008 at 10:28 PM, Pepsi330ml <[EMAIL PROTECTED]> wrote:
> Thus i cannot use the PythonOption django.root
> Is there other alternative?
Well, what you can generally do to work around this if you have an
older Django is to create a new file, say, root_urls.py in your
project, and set
On Thu, Sep 4, 2008 at 4:28 AM, Aljosa Mohorovic
<[EMAIL PROTECTED]> wrote:
> since i'm using subversion for my sites in svn:externals i have django
> trunk and now i'm switching to 1.0 tag.
> so what i'm actually asking is if i'm using 1.0 tag in svn:externals
> does it mean that i'm guaranteed t
Thank you very much for making our jobs fun again with this fantastic
framework!
On Thu, Sep 4, 2008 at 9:37 AM, Wes Winham <[EMAIL PROTECTED]> wrote:
>
> Thanks again for the huge amount of awesome that you guys have brought
> to web development.
>
> On Sep 3, 8:07 pm, &q
I like it. Thank you for enabling me to convert my friends to Django in one
minute!
On Thu, Sep 4, 2008 at 6:04 AM, Ian Ozsvald <[EMAIL PROTECTED]> wrote:
> I've amended yesterday's preview release to reflect the new v1 Django site,
> the finished 'Django in Under a Minute' screencast is availabl
Thanks! and i second David's request.
On Thu, Sep 4, 2008 at 8:09 AM, David Larlet <[EMAIL PROTECTED]> wrote:
>
>
> Le 4 sept. 08 à 12:20, Fraser Nevett a écrit :
> >
> > http://www.mercurytide.co.uk/whitepapers/django-cheat-sheet/
> >
> > We welcome any ideas for improvements, corrections, or an
On Thu, Sep 4, 2008 at 2:29 PM, pavel srb <[EMAIL PROTECTED]> wrote:
> please, due to http://www.djangoproject.com/weblog/2008/sep/02/security/
> i would like to know, when there will be security patch for debian
> etch version
I follow the Debian bug tracker and lists for Django-related items,
tools to drive the javascript requests, but it should be
fairly straight forward to drop in another framework. I'd be
interested in any feedback or if there is a better/simpler way to
chain select boxes.
-James
--~--~-~--~~~---~--~~
You received this message b
Use Fast-Cgi i do touch dispatch.fcgi
On Fri, Sep 5, 2008 at 6:12 PM, Graham Dumpleton <[EMAIL PROTECTED]
> wrote:
>
>
>
> On Sep 6, 2:39 am, Ilya Braude <[EMAIL PROTECTED]> wrote:
> > Hernan Olivera wrote:
> > >>> In php when you change the code there is no need to restart the
> > >>> server, bu
It's a regex you need to escape both slashes so you are looking at
On Mon, Sep 8, 2008 at 4:04 AM, Thomas Guettler <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I discovered, that double slashes get through my regular expressions.
> Is it possible to reject URLs with double slashes?
>
> http://.../
It seems you're trying to take a Django application which was written
three releases cycles (or more) ago (since the syntax in some of your
code samples screams out that it's from an app written against 0.90 or
0.91) and attempting to simply fix it piecemeal to run on 1.0.
Speaking from experience
On Tue, Sep 9, 2008 at 4:15 AM, Benedict Verheyen
<[EMAIL PROTECTED]> wrote:
> i tried to do a django-admin startproject and it
> said that startproject wasn't a valid command.
> Weird. django-admin help indeed didn't show the startproject command.
This is currently intended behavior and I belie
On Wed, Sep 10, 2008 at 2:00 PM, David <[EMAIL PROTECTED]> wrote:
> and I wanted to have something along these lines but don't know how to
> convert to the new convention
Perhaps you should check out the documentation for generating forms
from models, which contains descriptions of how to do this
Very nice site!
Just one point, I would recommend changing the default admin login page from
http:///admin to something random. This does not substitute a good
password but makes your site a little more secure.
James
P.S Post this website on djangosites.org
On Thu, Sep 11, 2008 at 7:41 AM
I would make a script that ran through my database and flagged this as
archived (this should be a boolean flag)
On Fri, Sep 12, 2008 at 1:33 PM, djandrow <[EMAIL PROTECTED]> wrote:
>
> Do i need to pass the months into the view using extra_context?
>
> Andrew
> >
>
--
http://www.goldwatches.co
He might be using --no-reload
On Fri, Sep 12, 2008 at 10:04 AM, David Thole <[EMAIL PROTECTED]> wrote:
>
> Just curious, are you using the django built in web server for
> development? The reason why I'm asking is because I don't recall
> having any problems at all when changing a view and it n
You need to append the proper path using (1. The export command 2. The
.bash_profile file. ) I used number two, If you want to see the path just
type into the shell export | grep PYTHONPATH
On Sun, Sep 14, 2008 at 9:41 AM, djandrow <[EMAIL PROTECTED]> wrote:
>
> Thanks, its a shared server so I w
http://sciyoshi.com/blog/2008/aug/27/using-akismet-djangos-new-comments-framework/
--
http://www.goldwatches.com/
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send ema
On Mon, Sep 15, 2008 at 8:50 PM, Steve Holden <[EMAIL PROTECTED]> wrote:
> This is k=nd of a wild-assed guess. Please tell me if it works.
>
> from django.core.management import call_command
> call_command('syncdb')
That is the way to do it; the whole manage.py/django-admin.py system
was refactor
I am very happy to hear that your company wants to use this great framework.
If i can suggest also posting this job request on djangogigs.com
Thanks
James
On Thu, Sep 18, 2008 at 9:04 AM, [EMAIL PROTECTED] <
[EMAIL PROTECTED]> wrote:
>
> I'm working with a company helping t
I run my own installation of python out of my home dir. It's not hard... All
you need to do is to compile your own version of python (or use your hosts
mine was 2.3 so i got 2.5.1) and change your PATH. Everything should work
from there.
James
On Fri, Sep 26, 2008 at 6:01 AM, Erik Allik &l
e python itself remains the same.
> Erik
>
> On 26.09.2008, at 22:07, James Matthews wrote:
>
> I run my own installation of python out of my home dir. It's not hard...
> All you need to do is to compile your own version of python (or use your
> hosts mine was 2.3 so i got 2.5.1
You may also want to post this on djangogigs.com.
Good Luck
James
On Sun, Sep 28, 2008 at 9:38 AM, KnoxvilleDjangoDev <[EMAIL PROTECTED]> wrote:
>
> Apologies if I am not asking this question correctly, but i need some
> assistance. I have a site that was developed in Django an
On Mon, Sep 29, 2008 at 2:02 AM, jim <[EMAIL PROTECTED]> wrote:
> This gives me an error:
> Cannot resolve keyword 'user' into field. Choices are: xxx, yyy, zzz
>
> Any ideas as to what may be causing this?
Your profile model must have a ForeignKey or a OneToOneField pointing
to User, and the nam
On Tue, Sep 30, 2008 at 5:07 PM, kajigga <[EMAIL PROTECTED]> wrote:
> I've just come across this Django branch called "RowLevelPermission".
> http://code.djangoproject.com/wiki/RowLevelPermissions. I have yet to
> try it out.
Don't bother; it's dead as a doornail and has been for quite a long
ti
2008/10/2 Jarek Zgoda <[EMAIL PROTECTED]>:
> Anyway, I seem to be unable to change ordering of FKs relating to User
> object. Any hint?
So, suppose you have the following model, a simple user profile:
from django.contrib.auth.models import User
from django.db import models
class UserProfile(mod
On Fri, Oct 3, 2008 at 11:36 PM, Benjamin Buch <[EMAIL PROTECTED]> wrote:
> Is there somewhere a place in the documentation where SQL migration
> strategies are explained a little?
No. For the moment, the only "official", if it can be called that, way
to do this is via SQL's ALTER TABLE statement
On Sun, Oct 5, 2008 at 11:07 AM, globophobe <[EMAIL PROTECTED]> wrote:
> I encountered this when I upgraded from my recent copy of 0.97 django
> to 1.0-final. Why does MyForm not validate when instantiated as m =
> MyForm({'bfield':'False'})?
Because the field doesn't have "required=False"; all f
On Mon, Oct 6, 2008 at 3:52 PM, xkill <[EMAIL PROTECTED]> wrote:
> But it doesn't work, how can I do it?
The error message you will receive will tell you what to do.
--
"Bureaucrat Conrad, you are technically correct -- the best kind of correct."
--~--~-~--~~~---~-
I use dreamhost and am very happy. I have found there services (uptime and
performance) to workout quite well and i love there tech support team.
On Tue, Oct 7, 2008 at 7:55 AM, Benjamin Buch <[EMAIL PROTECTED]> wrote:
>
>
> Am 07.10.2008 um 15:49 schrieb Gour:
>
> > Benjamin> I can recommend dja
On Fri, Oct 10, 2008 at 6:39 PM, Fenwick, Jacob L. <[EMAIL PROTECTED]> wrote:
> I suppose this makes sense, but what if I have a very complicated hierarchy?
> Such as if I have three tables, and their foreign keys relationships form a
> triangle?
The documentation for ForeignKey covers this case;
On Sun, Oct 12, 2008 at 5:51 AM, Nash <[EMAIL PROTECTED]> wrote:
> I get this error, you can see a paste here: http://dpaste.com/83932/
> The admin site doesn't work on production at all, on the testserver it
> works after a refresh.
You appear to have an error in your own code, as evidenced by t
WingIde for python code and e-text editor for templates (sometimes
notepad++)
On Sun, Oct 12, 2008 at 3:08 PM, Marco Bazzani <[EMAIL PROTECTED]>wrote:
>
>
> On Sun, Oct 12, 2008 at 11:32 PM, Jeff Anderson <[EMAIL PROTECTED]>wrote:
>
>> zjffdu wrote:
>> > I am a newbie of django, and want to know
On Sun, Oct 12, 2008 at 8:30 PM, meppum <[EMAIL PROTECTED]> wrote:
> I would like to be able to unit test my forms. Specifically, I'd like
> to be able to test individual clean methods, but I get errors when I
> try to call cleaned methods directly. Below is an example of testing a
> registration
I could never get Eric to install on Windows
On Sun, Oct 12, 2008 at 10:20 PM, oso che bol <[EMAIL PROTECTED]> wrote:
> Hi,
>
> How do you think about Eric4.2.1 with Django plugin?
>
> Regards,
> -LN
>
>
> On Mon, Oct 13, 2008 at 9:28 AM, reyjexter <[EMAIL PROTECTED]> wrote:
>
>>
>> I use pydev b
On Mon, Oct 13, 2008 at 6:16 AM, DrMeers <[EMAIL PROTECTED]> wrote:
> I am writing a Blog-style django site which needs to render a
> collection of Item objects. Item is the root Super class for a whole
> bunch of sub-classes -- Photo, Video, Quote, News, etc. I want to be
> able to iterate throug
On Tue, Oct 14, 2008 at 3:10 PM, gearheart <[EMAIL PROTECTED]> wrote:
> http://code.djangoproject.com/wiki/CookBookThreadlocalsAndUser
Sigh.
I guess this is the part where I go edit that wiki page to point
people to the better solution?
Yeah, I think this is the part where I go edit that wiki p
On Tue, Oct 14, 2008 at 3:17 PM, Keith Eberle <[EMAIL PROTECTED]> wrote:
> ah yes, threadlocals... i was thinking maybe there was a newer way.
>
> its nice how you can override the queryset method of a ModelAdmin class
> because that gets passed a request. I was hoping there'd be some similar
>
On Tue, Oct 14, 2008 at 10:39 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Thank you Malcolm for the feedback.
> I would prefer to use REST.
So write yourself a REST API.
(in other words, the answers you get will be precisely as detailed as
the questions you ask)
--
"Bureaucrat Conrad,
On Wed, Oct 15, 2008 at 5:27 PM, JFQueralt <[EMAIL PROTECTED]> wrote:
> Being a newbie in django maybe I am just missing something but I don´t
> seem to find any information about how to retrieve an XML file and
> parse it from django.
"Django" does not have any XML-parsing libraries, because Dja
On Wed, Oct 15, 2008 at 4:52 PM, barbara shaurette <[EMAIL PROTECTED]> wrote:
> I could swear that, pre 1.0 release, I came across a page on auto-
> generating documentation from docstrings, but I can't find it in the
> Django documentation anymore.
The admin would, once upon a time, display the
On Wed, Oct 15, 2008 at 11:21 PM, Brandon Taylor
<[EMAIL PROTECTED]> wrote:
> The admin no longer shows Sidebar Modules as a fieldset. In fact, it
> doesn't show at all. I'm sure this is because you can't use add,
> create or assignment to create the relationships, (see
> http://docs.djangoproject
On Thu, Oct 16, 2008 at 2:19 AM, JFQueralt <[EMAIL PROTECTED]> wrote:
> There has to be a way to retrieve information fron a file in Django (I
> ´ve seen official docs on it).
> XML is nothing than a structured data file so there should be a way to
> retrieve a value and use it in a template.
Onc
On Thu, Oct 16, 2008 at 12:02 AM, Graham Dumpleton
<[EMAIL PROTECTED]> wrote:
> Why has no one yet mentioned that .pyc files don't really protect your
> code?
I tend to treat Python bytecode as the "no-right-click script" of the
Python world; those sorts of silly JavaScript tricks which "protect"
On Sat, Oct 18, 2008 at 10:22 AM, Heather <[EMAIL PROTECTED]> wrote:
> Well, after trying to work this out a bit more, it looks like a nice
> solution is to make a middleware class and use the process_views() but
> I'm not quite at the answer yet.
Generally, I don't consider the URLs for an appli
On Sat, Oct 18, 2008 at 12:20 PM, Rob Goedman <[EMAIL PROTECTED]> wrote:
> I couldn't find this in the ticket list. Has anybody else encountered/
> tried this?
This is really sort of intended behavior; auto_now and auto_now_add on
a model field implicitly set "editable=False", which means it's no
On Sat, Oct 18, 2008 at 12:25 PM, Heather <[EMAIL PROTECTED]> wrote:
> What do you mean by "set up the urls so you'll have it"?
Somewhere in your URL configuration, put URL patterns which point to
the views you want at the URLs you want, and wrap the views with
login_required there.
Remember: UR
On Sat, Oct 18, 2008 at 9:25 PM, Gmail <[EMAIL PROTECTED]> wrote:
> for some reasons ,i put some html fragment if the db and then render them in
> the template.
> but when i update to django 1.0,
> what i get in the rendered html are esceped.
> in django 1.0
It's amazing what sort of useful infor
ne obvious way to satisfy this
> would be to create namespaces for the company, rather than the
> project. For example, if you work for WhizCorp, create a
> whizcorp.story application, and then create a whizcorp.foobar project
> that imports whizcorp.story.
(this is the part where James poi
On Sun, Oct 19, 2008 at 4:55 PM, Rachel Willmer <[EMAIL PROTECTED]> wrote:
> It doesn't seem possible to run Django 1.0 and 0.96 concurrently on the same
> machine AFAICS - am I going to have to set up another machine to work on the
> 1.0 upgrade while I maintain the 0.96 release?
It's actually p
On Sun, Oct 19, 2008 at 2:10 PM, bruno desthuilliers
<[EMAIL PROTECTED]> wrote:
> Indeed. But , OTHO, having to copy/paste a whole urls.py just to a add
> a simple decorator on the view functions is not really DRY.
Personally, I don't agree; writing code to do what you want, even if
it starts wit
On Sun, Oct 19, 2008 at 4:20 PM, Erik Allik <[EMAIL PROTECTED]> wrote:
> In the compilation function of your template tag, you can force the
> parser to parse until tag named "endyourcustomtag" by calling nodelist
> = parser.parse(("endyourcustomtag", ). This will return the contents
> of your blo
On Mon, Oct 20, 2008 at 9:30 PM, Chuck22 <[EMAIL PROTECTED]> wrote:
> Adding context_instance=RequestContext(request) to the method fixed
> the problem. Seems this should be done by default for
> render_to_response method. Thank you.
It would be technically impossible to do this; render_to_respon
at my attempts to turn his solution into
a formset:
http://www.djangosnippets.org/snippets/1290/
Hope that is helpful to someone out there.
J
On Jan 14, 7:03 pm, James Smagala wrote:
> Hey All,
>
> There is a discussion here about building dynamic form select fields
> using __i
(T2.`parent_id`
= T3.`id`) because it's the parent of the parent... no?
It seems Django is getting confused because it's querying through the
same model class, but isn't paying attention to recursed instances.
This is Django 1.0.2. Any clues? Is there some (even more) magic q
On Tue, Feb 3, 2009 at 9:22 PM, Jeff Hammerbacher wrote:
> I could modify the call to Database.connect() in
> django/db/backends/mysql/base.py, but that's not the most elegant
> implementation. Does anyone have ideas on how to proceed in a
> Django-approved fashion?
http://docs.djangoproject.com
On Wed, Feb 4, 2009 at 2:35 AM, knight wrote:
> Thanks for the fast reply.
> I read this but I still cannot find the view that renders index.html.
You do not need to do anything to the view function. The view you're
looking for is designed so that you can place your own custom template
(named ap
On Sun, Feb 8, 2009 at 5:21 PM, Russell Keith-Magee
wrote:
> 1) Look at django.utils.version.get_svn_revision(). This method tells
> you Django's SVN revision. Make a copy of this method and modify it to
> point at your own code, telling you the version of your clients SVN
> checkout.
The second
On Mon, Feb 9, 2009 at 7:38 AM, rihad wrote:
> This is no surprise, as django always attempts to install databases/py-
> psycopg, and not databases/py-psycopg2, since the former is hardcoded
> in its port Makefile. Any ideas?
Django's documentation lists all available values for the
DATABASE_ENG
On Mon, Feb 9, 2009 at 6:39 AM, phoebebright wrote:
> In admin, if I change the content of one pic it blanks the rest. Is
> this expected behaviour?
Generally, when you think you've found a bug, searching the Django bug
tracker will turn up useful information, as in this case:
http://code.djan
On Wed, Feb 11, 2009 at 9:01 PM, Tim Johnson wrote:
> I installed from the tarball, and I see the docs directory beneath the
> initially extracted directory and a makefile. So now my questions is:
> What is Sphinx and where do I get it?
The documentation covers this:
http://docs.djangoproject.
On Fri, Feb 13, 2009 at 3:32 AM, Rhoel_in_Asia
wrote:
>
> Also, when the ./confure does run, it stops with the error
>
> checking for iconv.h... yes
> checking build system type... i686-pc-linux-gnu
> checking host system type... i686-pc-linux-gnu
> checking for pg_config... /usr/bin/pg_config
>
On Fri, Feb 13, 2009 at 6:31 AM, Lee Braiden wrote:
> What exactly is the reasoning behind this advice? It seems to me that
> one would very rarely want to store an empty string. For example, if
> a user doesn't enter a surname, that does not mean that their surname
> is "", unless they're Cher
Everything is happening in a Postgres transaction; at the first error
the transaction aborts and you must issue a ROLLBACK to the DB before
continuing. Consult Django's transaction dogs for information on how
to do this.
On 2/14/09, 83...@gmx.de <83...@gmx.de> wrote:
>
> Hi Folks,
>
> I'd like t
I don't really understand your question (perhaps English isn't your
first language), and I'm too tired to try to understand, but maybe one
of the following will help:
http://docs.djangoproject.com/en/dev/topics/db/models/#overriding-predefined-model-methods
http://docs.djangoproject.com/en/dev/re
On Tue, Feb 17, 2009 at 11:54 PM, Lloyd Budd wrote:
> Super minor suggestion, it looks like trunk is where 1.1 work is
> happening, for maintaining my own project using 1.0 it might be handy
> if there was django/branches/1.0/ . That way I could just do a check
> out there and svn up if/when nece
http://docs.djangoproject.com/en/dev/ref/contrib/admin/#list-per-page
Set the above to the number of items you would like to appear per
page. The default is 100, so set it it to something more manageable.
http://docs.djangoproject.com/en/dev/ref/contrib/admin/#ordering
Set that to a DateField or
On Sat, Feb 21, 2009 at 11:52 PM, Jlcarroll wrote:
> What is the best way to fix this? What if someone wants to enter a
> broken url in an admin page? What if the url isn't broken, just
> requires a login?
Please read the documentation for URLField, which explains how to
control this validation
-- Forwarded message --
From: May
Date: Mon, Feb 23, 2009 at 9:17 PM
Subject: python sql query in django
To: python-l...@python.org
I have three tables:
class Technology(models.Model):
technology = models.CharField(max_length=100, null=True,
blank=True )
def __unicode__(se
As we run up to Django 1.1 (due in April), we've started the process
of alpha and beta preview packages with Django 1.1 alpha 1, released
tonight. As always, alpha and beta packages are *not* for production
use, but if you'd like to try out the new features or go bug-hunting
in a safe environment,
On Thu, Feb 26, 2009 at 2:30 AM, jeff wrote:
> Wow, that's much simpler. They should list that option on the admin
> documentation page. Many thanks!
http://docs.djangoproject.com/en/dev/ref/contrib/admin/#inlinemodeladmin-options
"The InlineModelAdmin class is a subclass of ModelAdmin so it in
from django.shortcuts import render_to_response
class FullPageAdMiddleware(object):
def process_view(self, request, view_func, view_args,
view_kwargs):
request.session['testing'] = request.session['testing'] + 1
if request.session['testing'] > 10:
return None
On Sun, Mar 1, 2009 at 2:21 AM, James Mowery wrote:
> This code fails to work properly. There are numerous issues with even
> this example, and I could probably simply the code further, but here
> are some of the errors:
Note that the subject of this message is misleading; if there
The full story: http://dpaste.com/3776/
The settings.py that got me there: http://dpaste.com/3774/
http://dpaste.com/3778/
That code does work, but notice that the value does not increment.
On Mar 1, 2:45 am, Malcolm Tredinnick
wrote:
> On Sat, 2009-02-28 at 23:21 -0800, James Mowery wr
o, since I understand the reasoning behind the numbers oddity, I am
lead to believe that the issue is related?
Why would the MIME types be changed, and how can I possibly fix it?
Again, this happens when return None and/or return render_to_response
('mypage.html') is executed, so it
ral hours
of no progress in the IRC chat room.
Thanks for the help everyone.
On Mar 1, 3:45 am, James Mowery wrote:
> The output from the command when viewing the page:
>
> Development server is running athttp://127.0.0.1:8000/
> Quit the server with CONTROL-C.
> [01/Mar/2009 03:
On Mon, Mar 2, 2009 at 6:25 PM, Wiiboy wrote:
> I'm with a shared hosting company called Lunarpages. They tell me
> Django, by itself, even with Fast CGI, because it is a framework, is
> too resource intensive for them to allow. But many other shared
> hosting providers allow Django. So, how d
On Sun, Mar 8, 2009 at 9:08 PM, adelevie wrote:
> I am building an app that uses the python-twitter module (a python
> library for twitter's api). I want to gather data from the public
> timeline which is updated about every minute. I have a function that
> given a feed will store it in the db. W
On Mon, Mar 9, 2009 at 4:47 AM, K*K wrote:
> Because the
> requirements wrote all of database code should implemented with ORM
> code and can not use RAW SQL, and the interactive designer do not want
> to make concession.
The person responsible for this decision should be fired,
incidentally: te
On Tue, Mar 10, 2009 at 1:58 PM, Jonquille wrote:
> What am I missing please, and thank you.
You're missing the idea that templates are not Python code and are not
typed at a Python prompt -- they're placed in template files and
templates are loaded and rendered according to the documentation.
thing like FormPreview already exist for these sorts of
complicated forms? I would need it to work with customized views and
templates, multiple forms and formsets, etc.
Any suggestions?
James
--~--~-~--~~~---~--~~
You received this message because you are subscrib
On Fri, Mar 13, 2009 at 5:02 AM, Bastien wrote:
> I will answer my own question since I found the answer, may be it can
> help someone:
Unfortunately you found the wrong answer; if you're making changes to
the code that came with django-registration, you're doin' it wrong.
The "register" view t
Hi,
I have been using Django now for a while. I am wondering if there are any
applications like Typo for RoR in Django or you have to write it by
yourself.
Thanks
James
--
http://www.astorandblack.com
--~--~-~--~~~---~--~~
You received this message because you
Sure,
Typo is a blogging platform/cms (Like wordpress). I know about Django-cms
and I am wondering if there are any others?
Thanks
James
On Wed, Mar 18, 2009 at 12:02 AM, Alex Gaynor wrote:
>
>
> On Tue, Mar 17, 2009 at 5:59 PM, James Matthews wrote:
>
>> Hi,
>>
>
On Wed, Mar 18, 2009 at 3:00 PM, bob wrote:
> Is there an option to install Django into a sandbox area, and if so,
> would it work?
Python's distutils module is configurable in a variety of ways,
including where it puts the packages it installs. You can use either
one-off command-line options to
201 - 300 of 3176 matches
Mail list logo