independed urls.py file
On Sat, Jun 12, 2010 at 10:45 AM, HARRY POTTRER wrote:
> On Jun 4, 4:10 am, Daniel Roseman wrote:
> > On Jun 4, 5:06 am, HARRY POTTRER wrote:
> >
> > > I'm writing a forum app that I want to be reusable. All of my urls I
> > > have named. Some of them are named like "in
I think like Kenneth... django is the same python but additional library. No
python - no django
My recommendation Python Essential Reference 4th edition
On Sat, Jun 12, 2010 at 11:01 AM, Kenneth Gonsalves wrote:
> On Saturday 12 June 2010 10:39:36 Jagdeep Singh Malhi wrote:
> > IndentationError:
did you tried so:
import sys
reload(sys)
sys.setdefaultencoding('utf-8')
or something similar?
On Sun, Jun 13, 2010 at 1:25 AM, MichaleHjulskov wrote:
> Hi Bjørn
>
> I have allready # -*- encoding: utf-8 -*-# in top of my settings.py
> and models.py
>
> Should I put it in all my .py files?
>
>
You should do it in admin.py
class MyClassAdmin(admin.ModelAdmin):
ordering = ['-myfield']
On Sun, Jun 13, 2010 at 6:18 AM, darren wrote:
> I'm sure the answer is probably documented clearly somewhere. But, I
> can't find it.
>
> I would like to change the ordering of a field in a form on
ln -s admin/media to /var/ww
On Sun, Jun 13, 2010 at 7:04 PM, Jagdeep Singh Malhi <
singh.malh...@gmail.com> wrote:
>
>
> On Jun 13, 12:12 am, Rolando Espinoza La Fuente
> wrote:
> > On Sat, Jun 12, 2010 at 12:58 PM, Jagdeep Singh Malhi
> >
> > wrote:
> > > Myhttp://localhost/admin/ is display
It also depends on your filesystem i think
On Mon, Jun 14, 2010 at 1:18 AM, MichaleHjulskov wrote:
> Hi Karen, I did not know there was a new release, sorry.
>
> So if I just install the new release, it will solve the problem just
> like that?
> Or do I still need to do something, in order to ma
reload(sys) etc you can put it in start of your settings.py it will reload
python utf-8 support so you will able to use different i had such problem
executing spain/portugal project
import os, sys
reload(sys)
sys.setdefaultencoding( "utf-8" )
On Mon, Jun 14, 2010 at 1:24 AM, Alexan
Read about python version difference in function overloading domain
-->ModelForm.__init__(self, *args, **kwargs) # this can be different
On Mon, Jun 14, 2010 at 2:06 AM, Jani Rahkola wrote:
> Hei,
>
> I hope someone could shed some light on this one.
> I have these in their appropriate file
Thank you. :)
On Mon, Jun 14, 2010 at 3:13 PM, stanleyxu2005 wrote:
> Take a look at
>
> ModelAdmin.formfield_overrides
>
>
>
> On Jun 14, 1:35 am, Jeliuc Alexandr wrote:
> > Hello.
> > I want to change default text input widget in admin for CharField to
> > text area...
> > How can I do it?
>
>
Thank You, I found a patch for that. My version is already 1.2.1
After pathching fields.py and widgets.py it start working fine
On Tue, Jun 15, 2010 at 12:49 AM, D3f0 wrote:
> Hi
> There's been a slighty change in 1.2, take a look at:
> http://docs.djangoproject.com/en/dev/ref/settings/#date-in
I didn't work with multidb but I think it is possible anyway... try it using
additional middleware... for example.. change dynamically db settings...
etc
On Tue, Jun 15, 2010 at 2:12 PM, johan de taeye wrote:
> Hello,
>
> In my application a number of databases are configured with identical
> sch
read about autofill_now=True and autofill=True
On Thu, Jun 17, 2010 at 8:14 AM, Sheena wrote:
> I've defined a number of models, one of which I've called
> MemberProfile that looks like this
>
> class MemberProfile(models.Model):
>postal_addr1=models.CharField(max_length=50, verbose_name="po
Date object initialized to something arbitrary. Does
> the DateField not get along with standard date objects? What format
> should stuff be in for populating DateFields?
>
> On Jun 17, 7:24 am, Alexander Jeliuc wrote:
> > read about autofill_now=True and autofill=True
> >
&g
value_to_string(self, obj):
val = self._get_val_from_obj(obj)
if val is None:
data = ''
else:
data = datetime_safe.new_date(val).strftime("%Y-%m-%d")
return data
def formfield(self, **kwargs):
defaults = {'
Default template engine is very nice... and more than enough.
On Thu, Jul 1, 2010 at 8:22 AM, Kenneth Gonsalves wrote:
> On Wednesday 30 June 2010 21:04:25 AllenDang wrote:
> > I'm new to django, it's amazing! But after I did some research from
> > google, I found out that some people say that t
Try djangopeople
On Fri, Jul 9, 2010 at 6:00 PM, Derek wrote:
> Not sure if this is the right place to ask, but... how do I go about
> finding Django developers that offer support for development of Django
> apps. i.e. not do the development themselves, but be available to
> provide answers to
Hello.
Django community use jquery in contrib/admin - motives - it is fast growing
js framework. I personally use both dojo, jquery and YUI. jQuery is best for
general uses but sometimes is slower then dojo and YUI. Finally it depends
on you and your needs. dajax is good choice.
On Mon, Jul 12, 20
It is your child. :(
On Tue, Jul 13, 2010 at 5:37 PM, cjl wrote:
> Djangoholics:
>
> I no longer have the time or interest to maintain my little project:
>
> http://www.instantdjango.com
>
> If anyone would like to take over the project, I would gladly give it
> away. Right now it costs a few do
Yes. there are dependencies.
On Sat, Jul 17, 2010 at 8:58 AM, haibin wrote:
> hi,
>
> I am trying to use GeoIP part of GeoDjango. I importing it by from
> django.contrib.gis.utils import GeoIP but getting import error. Do I
> have to install someting or do the whole installation process for
> Ge
intoVPS.com eu and us location
On Thu, Jul 29, 2010 at 2:51 PM, KLRUMPF wrote:
> Kostya, maybe have a look at www.ovh.fr, the language tabs are at the
> bottom. Lots of *ux flavours, too.
>
> Been using them for years, cheap and competent, but I don't know how much
> they know about django.
>
>
It is django-users group. Isn't it?
On Sun, Aug 1, 2010 at 5:35 PM, mayikmaster wrote:
> hello and thank you for this great project which I have learned so
> much. I would like to know what will happen with djanggo 1.3 Where
> we've heard.many thanks
>
>
> ---
> hola y gracias por este gran pro
gvim, emacs, eclipse, eric
On Wed, Aug 4, 2010 at 6:50 AM, Nick Arnett wrote:
>
>
> On Sun, Jul 18, 2010 at 10:19 AM, Biju Varghese wrote:
>
>> Eclipse is the best IDE for python and django.
>>
>>
> I don't know if it is actually the best, but I'm happy with it.
>
> Nick
>
> --
> You received t
you should include {% load i18n %} tag in every file you use translation
On Tue, Aug 10, 2010 at 8:13 PM, kostia wrote:
> My base.html has a header:
>
> {% load i18n %}
>
> {% get_current_language as LANGUAGE_CODE %}
>
>
>
> www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
>
> http://www.w3.org/19
23 matches
Mail list logo