On 10/8/06, ryangriff.in <[EMAIL PROTECTED]> wrote:
>
> A question, If I am working on multiple django projects do I have to
> continually set the DJANGO_SETTINGS_MODULE to point at the settings of the
> project I am currently working on?
'Continually' isn't really the right way to put it. You on
On Sun, 2006-10-08 at 08:10 +0800, Russell Keith-Magee wrote:
[...]
> 5) Document the problem away. Advise users that
> TEMPLATE_STRING_IF_INVALID is purely a temporary debugging flag, and
> it shouldn't be enabled for prolonged periods, even on a development
> server.
>
> (5) is my personal favo
Hi,I tried to hack it via the admin base.html by including the following code in the of the admin/base.html.
I use 4 text area on the same page there
http://www.cefinban.net
You can get the source here
http://www.coulix.net/projects/cefinban/
Ramdas S wrote:
> Hi,
>
> I tried to hack it via the admin base.html by including
> the following code in the of the admin/base.html.
>
> * src="../jscripts/tiny_m
Am Samstag, 7. Oktober 2006 23:38 schrieb MerMer:
> I'm using a default local installation on a Windows XP machine, running
> Firefox 1.5
>
> When I try the following URL
> http://localhost:8000/media/js/textareas.js I get a message saying
> that the file cannot be found on the following (notice
On 10/8/06, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote:
>
> On Sun, 2006-10-08 at 08:10 +0800, Russell Keith-Magee wrote:
> [...]
> > 5) Document the problem away. Advise users that
> > TEMPLATE_STRING_IF_INVALID is purely a temporary debugging flag, and
> > it shouldn't be enabled for prolonged
Hello all,
I'm using django 0.96 r3709. I have base.html, page1.html, and
page2.html templates. The latter two extend the former one. base.html
creates a box with all supported LANGUAGES. This works as
expected in page1, but not in page2. page1 is a verdjn templatepage
(rendered with HttpRespons
Baurzhan Ismagulov wrote:
> I'm using django 0.96 r3709. I have base.html, page1.html, and
> page2.html templates. The latter two extend the former one. base.html
> creates a box with all supported LANGUAGES. This works as
> expected in page1, but not in page2. page1 is a verdjn templatepage
> (r
Hello Ivan,
On Sun, Oct 08, 2006 at 05:54:27PM +0400, Ivan Sagalaev wrote:
> All the extra information (such as {{ user }} or {{ LANGUAGES }}) is
> passed to templates by a RequestContext that processes a number of
> context processors defined in TEMPLATE_CONTEXT_PROCESSORS in settings.
>
> I
Hello,
i can't get my project translation to load. Original strings are in English. I
switch the language to "de" with set_language (like described in the i18n
doc). Checked it with "get_current_language" in the template, which
outputs "de" as expected. My strings however are still in English
On Sun, Oct 08, 2006 at 06:27:38PM +0400, Ivan Sagalaev wrote:
> If I correctly suspect that we speak the same language then I can
> recommend my blog post about it:
> http://softwaremaniacs.org/blog/2006/01/12/context-processors/
This is great, it describes first the use case rather than the
f
Am Sonntag, 8. Oktober 2006 17:30 schrieb Dirk Eschler:
[...]
> - The translation is in place:
> $ cd ${my_project_dir}
> $ ls conf/locale/de/LC_MESSAGES/django.*
> conf/locale/de/LC_MESSAGES/django.mo conf/locale/de/LC_MESSAGES/django.po
Nevermind, Django looks in $project_dir/locale, not in $p
thanks
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For mor
What I'm looking for is something like r = Record.objects.get(x=a, y=b)
which doesn't work.
--~--~-~--~~~---~--~~
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@goo
On 8 Oct 2006, at 19:48, carlwenrich wrote:
> What I'm looking for is something like r = Record.objects.get(x=a,
> y=b)
> which doesn't work.
Give the following a go:
Record.objects.filter(x__exact='a', y__exact='b')
John.
--~--~-~--~~~---~--~~
You received thi
it worked, thanks. where would i find it if you hadn't been so kind as
to tell 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@googlegroups
Details are in the Database API document . The "exact" expression is
defined in the glossary thoough the example uses .get rather than
.filter
MerMer
carlwenrich wrote:
> it worked, thanks. where would i find it if you hadn't been so kind as
> to tell me?
--~--~-~--~~~
This is probably a daft question - but is there a way to find out what
my web root is when I'm using the Django development web server.
With PHP you can see all your configuration settings easily using the
phpinfo() function, including all your web settings. Is there an
equivalent for Django.
M
thanks
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For mor
I'm not extremely well-versed in Django by any means, but we're
currently looking for a framework that can replace our existing
.NET-based website and control system. We get anywhere between 80,000
hits a day (average) but can unexpectedly spike to several times that
many in a very, very short per
I've been trying to implement the user registration process from
http://www.b-list.org/weblog/2006/09/02/django-tips-user-registration .
It's basically a registration process where the user has to be
activated by clicking on a link in an email. Everything went fine and
it worked. Then I wanted to
Hi,
John Sutherland wrote:
> class BlogPost(models.Model):
> categories = models.ManyToManyField(Category)
>
> It may be worth having a look at the generic relationships [1] stuff
> and the Tag application used as an example. While the GR stuff in the
> Django admin is truly horrible, you
> user_account = user_profile.user
> user_account.is_active = True
> user_account.save()
> user = User.objects.get(pk=user_account.id)
> if user is not None:
> login(request, user)
> return render_to_response('login/confirm.html', {'success': True})
>
I've was t
What I'm doing is this:
class Dvd(models.Model):
pass
class File(models.Model):
#...
dvd = models.ForeignKey('Dvd', blank=True, null=True)
I'm using blank and null, 'cause the file might not be backed up to a
DVD yet.
Problem is, I'm not sure how to define something to 'class Adm
Panos,
On 10/8/06, Panos Laganakos <[EMAIL PROTECTED]> wrote:
>
> What I'm doing is this:
>
> class Dvd(models.Model):
> pass
>
>
> class File(models.Model):
> #...
> dvd = models.ForeignKey('Dvd', blank=True, null=True)
>
> [...]
>
> Problem is, I'm not sure how to define something t
> Try using the same pattern you' ve used with the Dvd class with the
> inner Admin class,
> like this:
>
> class Dvd(models.Model):
> pass
>
> class Admin:
> pass
>
> That should solve both problems (that really are of the same issue, when
> an admin view has been activated/de
Hello everybody, sorry if it may sounds a bit of off-topic, but
still...
I'd like to know what editor/IDE Django users (and developers) uses on
daily basis, to boost development process. And why exactly - what
features you find useful, how it helps you to save time (or just makes
coding enjoyable
You might want to look into a caching reverse proxy. You can setup
Squid in that configuration:
http://wiki.squid-cache.org/SquidFaq/ReverseProxy
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group
I'm using VIM 7 under Windows XP and under my Ubuntu linux and I love
this editor!
It's very nice, fast and can do many nice things...and ofcourse it is
very customizable!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Gr
On 8 Oct 2006, at 23:22, Serg Kovrov wrote:
> I'd like to know what editor/IDE Django users (and developers) uses on
> daily basis, to boost development process. And why exactly - what
> features you find useful, how it helps you to save time (or just makes
> coding enjoyable, which probably incre
On 10/9/06, Serg Kovrov <[EMAIL PROTECTED]> wrote:
>
> Hello everybody, sorry if it may sounds a bit of off-topic, but
> still...
>
> I'd like to know what editor/IDE Django users (and developers) uses on
> daily basis, to boost development process. And why exactly - what
> features you find usefu
On 10/8/06, Serg Kovrov <[EMAIL PROTECTED]> wrote:
> I'd like to know what editor/IDE Django users (and developers) uses on
> daily basis, to boost development process. And why exactly - what
> features you find useful, how it helps you to save time (or just makes
> coding enjoyable, which probabl
> I'd like to know what editor/IDE Django users (and developers) uses on
> daily basis,
I love Vim (Linux and if necessary Windows) since about 4 years.
Main reasons:
* super fast because of the sophisticated motion keys and
multi-line editing (visualmode I)
* filetype plugins for django-html
On Sun, 2006-10-08 at 12:58 -0700, MerMer wrote:
> This is probably a daft question - but is there a way to find out what
> my web root is when I'm using the Django development web server.
Your question doesn't really make sense for the development server,
since it only ever serves dynamic conten
On Sun, 2006-10-08 at 14:52 -0700, Panos Laganakos wrote:
> > Try using the same pattern you' ve used with the Dvd class with the
> > inner Admin class,
> > like this:
> >
> > class Dvd(models.Model):
> > pass
> >
> > class Admin:
> > pass
> >
> > That should solve both problem
On Sun, 2006-10-08 at 20:06 +0800, Russell Keith-Magee wrote:
> On 10/8/06, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote:
> >
> > On Sun, 2006-10-08 at 08:10 +0800, Russell Keith-Magee wrote:
> > [...]
> > > 5) Document the problem away. Advise users that
> > > TEMPLATE_STRING_IF_INVALID is purely
On Sun, 2006-10-08 at 19:45 -0500, James Bennett wrote:
> On 10/8/06, Serg Kovrov <[EMAIL PROTECTED]> wrote:
> > I'd like to know what editor/IDE Django users (and developers) uses on
> > daily basis, to boost development process. And why exactly - what
> > features you find useful, how it helps y
UliPad is very good!
--~--~-~--~~~---~--~~
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 [EMAIL PROT
>
> > It's got all the "standard" features: syntax highlighting,
> > indentation, etc., but it's also got so much more. The
> > text-manipulation things it can do run circles around everything else,
> > it's got support for Subversion and WebDAV, it has an insanely
> > powerful editing file brow
On 10/8/06, iain duncan <[EMAIL PROTECTED]> wrote:
> - the python interface for gvim ( allows running a python interpreter
> within vim that can in turn call methods on the vim buffers ).
Hooray for C-c C-c in Emacs!
--
"May the forces of evil become confused on the way to your house."
-- Geo
On 10/8/06, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote:
> Isn't there a risk of drowning if you drink as much of the Emacs
> Kool-Aid as you clearly have been doing?
Actually, I haven't drunk the Kool-Aid yet. I do have the track suit
and the sneakers, though.
--
"May the forces of evil becom
On Sun, 2006-08-10 at 21:39 -0500, James Bennett wrote:
> On 10/8/06, iain duncan <[EMAIL PROTECTED]> wrote:
> > - the python interface for gvim ( allows running a python interpreter
> > within vim that can in turn call methods on the vim buffers ).
>
> Hooray for C-c C-c in Emacs!
>
I was ment
Actually, exact lookups are the default:
http://www.djangoproject.com/documentation/db_api/#default-lookups-are-exact
Carl, it's likely that you were not using quotes around your strings.
.get(x=a) will get the record where property x matches the defined
variable a (which you probably hadn't defi
I use eric3 for my python work, jEdit for templates.
I only use the basic features of eric (projects and editing). I use it
because it is easy and works well.
I use Ubuntu. I think eric is available on windows (it's written in
python) though I've never tried it.
http://www.die-offenbachs.de/det
On 10/8/06, iain duncan <[EMAIL PROTECTED]> wrote:
> I was mentioning it to let other people know about it, not to convert
> you or continue the ridiculous holy war. Many vim users are not aware
> that you can host a session within the editor and control the editor
> itself from python.
And I was
On 09-Oct-06, at 3:52 AM, Serg Kovrov wrote:
> I'd like to know what editor/IDE Django users (and developers)
eric3 and quanta
--
regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpline.in/web/
--~--~-~--~~~---~--~~
You received this message because
Everything seems to work fine with the development server. And with an
earlier version of my code, things were (mostly) working under
Apache/mod-python. But after this last (massive) set of changes, I'm
suddenly getting nowhere once the python calls are not in the base
project directory. The er
At the moment, my favourite Windows python editor is PyScripter[1]. It
has code completion, class navigation, integrated debugger, and is
compact, fast and free.
[1] http://mmm-experts.com/Products.aspx?ProductId=4
- Kjell Magne Fauske
--~--~-~--~~~---~--~~
You
48 matches
Mail list logo