yes I do have ssh access and the server does have python on it.
On Tue, Nov 17, 2009 at 7:02 AM, Kenneth Gonsalves wrote:
> On Monday 16 Nov 2009 7:41:47 pm Amit Sethi wrote:
>> Hi , I just developed my first small app using django , I wish to
>> deploy it . I have a apache server with drupal run
hi mike,
sry i dont want to be unkind but could you please turn the mail delivery
confirmation off when you write to a list?!
thx
Mike Ramirez wrote:
> On Monday 16 November 2009 20:12:57 Kenneth Gonsalves wrote:
>
>> anyway, in pitching for django (in particular), python and postgresql in
>>
On Tuesday 17 Nov 2009 11:10:15 am jd_python wrote:
> raise ImproperlyConfigured("Error loading MySQLdb module: %s" % e)
> django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb
> module: No module named MySQLdb
>
you did not install MySQLdb which is the python module used to connect
On Tuesday 17 Nov 2009 11:29:25 am adelaide_mike wrote:
> Can anyone give me a push in the right direction? Thanks for any
> help.
>
practical example:
http://bitbucket.org/gopalasivam/fida/src/tip/web/views.py
line 194 onwards (not necessarily good code, but there are a lot of things
like dif
Hello there,
I am a newbie learning Python/Django...
Am using the following tutorial located at:
http://bit.ly/eIdT
Created a mysite database in MySQL 5 running on Snow Leopard.
Edited the settings.py file to look like this:
DATABASE_ENGINE = 'mysql' # 'postgresql_psycopg2',
'postgr
Hi, we are looking to install and setup Django for our school in
Sydney, Australia.
Looking for advice as well as someone to help design, install and
configure it.
Please contact me at roxit...@gmail.com if you live in Sydney and have
skills with Django.
Paul Lister
Director ICT, The Scots College
On 09-11-16 9:59 PM, adelaide_mike wrote:
> I am attempting to user ReportLab with Django to make a report
> displaying my data in a tabular format.
[..]
> ['Conclusion','Run!']
Loop through your vehicles as your simple naive start, eg:
data = []
for vehicle in vehicles:
data.ap
I am attempting to user ReportLab with Django to make a report
displaying my data in a tabular format.
An example model is:
class Vehicle(models.Model):
ve_name = models.CharField(max_length=20)
ve_type = models.CharField(max_length=20)
My report generating view a copy of the example in
On Nov 17, 10:58 am, Damon Jablons wrote:
> Hey,
>
> I'm running Nginx which proxies Apache and on my website, I get the
> following error when I tail the Apache log:
>
> [Mon Nov 16 23:51:08 2009] [error] [client 127.0.0.1] No WSGI daemon
> process called 'sub.domain.net' has been configured: /
Thanks for your help!
Indeed a {% url %} tag was calling a view directly with the
unfortunate name 'settings', which I had renamed. (named url patterns
ftw)
On Nov 16, 9:05 pm, Karen Tracey wrote:
> On Mon, Nov 16, 2009 at 8:02 PM, Gene wrote:
> > I'm getting an error that has completely perple
On Tue, 17 Nov 2009 07:38:35 +0530, Kenneth Gonsalves
wrote:
> On Monday 16 Nov 2009 10:44:27 pm Mike Ramirez wrote:
>> > it is precisely this assumption that does not seem logical to me. But
>> > frankly I do not know how to counter it ;-)
>> >
>>
>> How is it not logical? Product A is widely
On 09-11-16 9:01 PM, Ishwor Gurung wrote:
> "Django includes a “signal dispatcher” which helps allow decoupled
> applications get notified when actions occur elsewhere in the
> framework." The word "framework" is I think the key here. Right?
Correct, signals won't help spot changes in the database
On Mon, Nov 16, 2009 at 8:02 PM, Gene wrote:
> I'm getting an error that has completely perplexed me: AttributeError:
> 'Settings' object has no attribute 'rindex'.
>
> The complete traceback is listed below. I get this for any request but
> a root request '/'. I'm, using Django 1.1 with mod_wsgi
Hi folks,
Is there any way in Django to have a global hook (not Python hook, an
architecture hook rather :-) on a database table?
I want to get notifications in my django layer of changes in DB i.e.
whenever theres an update/delete. Is this feasible or am I heading the
wrong way?
The doc[1] says
On Monday 16 November 2009 20:12:57 Kenneth Gonsalves wrote:
> anyway, in pitching for django (in particular), python and postgresql in
> general, I put safe code as number one in the list. And I personally am
> confident (after seeing the work done in the last 5 years in django, python
> and post
I think pt-BR will fit. Just can't understand why the backoffice is
translated and the main app not : (
Even in pt-Pt.
On Nov 17, 2009 2:30 AM, "Kenneth Gonsalves" wrote:
On Monday 16 Nov 2009 9:46:58 pm Carlos Ricardo Santos wrote: > I use to
folders at app/locale: > >...
I have implemented eng
On Mon, Nov 16, 2009 at 5:41 PM, dave.l
wrote:
> Hi!
>
> The following line in my application seems to have stopped working as
> I expect:
>
> for object in self.queryset.select_related().order_by
> ("app_building.principal_name", "reference"):
>
> the first ordering term on principal_name is no
Thanks everyone. I was able to resolve my issues by getting the
easy_install tools and then using that to update MySQL. phew!
On Nov 16, 10:07 am, "Mark (Nosrednakram)"
wrote:
> I'd check rpmforge
> see:http://wiki.centos.org/AdditionalResources/Repositories/RPMForge
> for centos notes
>
> On N
On Tuesday 17 Nov 2009 8:46:31 am Mike Ramirez wrote:
> On Monday 16 November 2009 18:08:35 Kenneth Gonsalves wrote:
> > On Monday 16 Nov 2009 10:44:27 pm Mike Ramirez wrote:
> > > > it is precisely this assumption that does not seem logical to me. But
> > > > frankly I do not know how to counte
If you had a model called Flight which has two fields, one called
"total_time", and the other called "distance", you could create a
"speed" field like so:
Flight.objects.extra(select={'speed': 'distance / time'})
Each object will now have a 'speed' field. What if one of those fields
is a result o
Hey,
I'm running Nginx which proxies Apache and on my website, I get the
following error when I tail the Apache log:
[Mon Nov 16 23:51:08 2009] [error] [client 127.0.0.1] No WSGI daemon
process called 'sub.domain.net' has been configured: /var/www/django/
scribblitt/deploy/domain.wsgi
Here's my
On Monday 16 November 2009 18:08:35 Kenneth Gonsalves wrote:
> On Monday 16 Nov 2009 10:44:27 pm Mike Ramirez wrote:
> > > it is precisely this assumption that does not seem logical to me. But
> > > frankly I do not know how to counter it ;-)
> >
> > How is it not logical? Product A is widely use
Hi,
In your templates/wkw1/lawyer dir extend change_list.html and override
the title::
{% extends "admin/change_list.html" %}
{% block content_title %}Your Title Here{% endblock %}
Hope it helps
lzantal
http://twitter.com/lzantal
On Nov 16, 5:31 pm, Zeynel wrote:
> RIDER 2:
>
> pictures of the
On Monday 16 Nov 2009 9:46:58 pm Carlos Ricardo Santos wrote:
> I use to folders at app/locale:
>
> pt-PT
> en-GB
>
> Any ideas? Someone has implemented a foreign language before?
>
I have implemented english ;-) I assume you mean implementing a non-english
language? This support has been ther
On Monday 16 Nov 2009 10:44:27 pm Mike Ramirez wrote:
> > it is precisely this assumption that does not seem logical to me. But
> > frankly I do not know how to counter it ;-)
> >
>
> How is it not logical? Product A is widely used, Product B is used less.
> Bad Guy A. is smart enough to real
On Monday 16 Nov 2009 7:41:47 pm Amit Sethi wrote:
> Hi , I just developed my first small app using django , I wish to
> deploy it . I have a apache server with drupal running on it . Can
> anybody guide me about the procedure i should use to deploy the
> project without disturbing the drupal insta
2009/11/17 Joshua Kramer :
> Thanks a ton Mark! I wish I would have done this much earlier.
>
> Some of my models had GeoDjango models in them. For these, I need to have
> ctypes and geos installed - neither of which are installed. When I
> commented out the bits requiring GD, presto - everything
RIDER 2:
pictures of the title I want to change:
http://zeynel.posterous.com/django-template-problem
On Nov 16, 3:35 pm, Zeynel wrote:
> In case someone else has the same problem: I hard-coded the text I
> wanted in between h1 tags in template base.html.
>
> {% block content_title %}{% if tit
Thanks a ton Mark! I wish I would have done this much earlier.
Some of my models had GeoDjango models in them. For these, I need to have
ctypes and geos installed - neither of which are installed. When I
commented out the bits requiring GD, presto - everything is installed
properly.
On Mon, Nov
Yes, this is probably true. I am still learning. And I like Django and
how it works but it takes time to understand some concepts. I was
rushing a little bit because I wanted to meet this challenge
>> [the tutorial] is enough to build it in no longer that a few days (learning
>> included),
>> even
I'm getting an error that has completely perplexed me: AttributeError:
'Settings' object has no attribute 'rindex'.
The complete traceback is listed below. I get this for any request but
a root request '/'. I'm, using Django 1.1 with mod_wsgi.
The only cases I could find por google of others runn
On Tue, Nov 17, 2009 at 6:29 AM, Brandon wrote:
> How do I request a feature from Django?
http://docs.djangoproject.com/en/dev/internals/contributing/#requesting-features
It's also worth keeping in mind the release cycle:
http://docs.djangoproject.com/en/dev/internals/release-process/#release-c
On 11/16/09 1:12 PM, despy wrote:
> Hi,
>
> I'm trying to get my head around a complex aggregate query and I could
> do with some help. Say I have the following models
>
> StockMarket
> |
> Stock
> |
> StockPrice
>
> If StockPrice has price and date fields, and one price entry for every
> day for e
On Nov 16, 4:31 pm, Zeynel wrote:
> Thanks!
>
> I noticed that using
>
> class Lawyer(models.Model):
> ...
> ordering = ('last',)
>
> did not work.
>
> But this worked
>
> class Lawyer(models.Model):
> ...
> class Meta:
> ordering = ('last',)
>
> copied fromhttp://www.djang
Hi!
The following line in my application seems to have stopped working as
I expect:
for object in self.queryset.select_related().order_by
("app_building.principal_name", "reference"):
the first ordering term on principal_name is no longer working. by
looking at ...query.as_sql() I can see th
How do I request a feature from Django?
This one would be simple. I'd like the authenticate method to take an
extra boolean argument which would determine if it should treat the
username as case sensitive. Default would be True, since it treats it
that way already.
I understand that passwords wou
Hi Guys!
Can I stop the forms sequence in a Form Wizard?
Doing something like execute an extra function that return a Http
response.
Thanks in advance.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django
On Monday 16 November 2009 12:55:25 Alessandro Ronchi wrote:
> If I put Debug = False in my django settings.py I receive an internal
> server error with no explanation.
>
> I'm using mod_passenger.
>
> What can cause the problem? Is there any way I can debug the error or
> get more information? D
On Nov 17, 6:57 am, Christophe Pettus wrote:
> On Nov 16, 2009, at 12:55 PM, Alessandro Ronchi wrote:
>
> > I'm using mod_passenger.
>
> Isn't that for Ruby rather than Python?
You can use mod_passenger for python, with a passenger_wsgi.py file.
(I use it on my development machine with Passenger
On Nov 16, 8:31 am, Zeynel wrote:
> Thanks!
>
> I noticed that using
>
> class Lawyer(models.Model):
> ...
> ordering = ('last',)
>
> did not work.
>
> But this worked
>
> class Lawyer(models.Model):
> ...
> class Meta:
> ordering = ('last',)
>
> copied fromhttp://www.dja
Hello,
Is there a good way to handle serving files behind django
authentication? I'm working on a project right now where people can
upload files, and based on certain permissions can download them as
well. However, there doesn't seem to be a good way to handle checking
authentication, and then se
do you have error templates defined?
http://docs.djangoproject.com/en/dev/topics/http/views/#customizing-error-views
-Preston
On Nov 16, 12:55 pm, Alessandro Ronchi
wrote:
> If I put Debug = False in my django settings.py I receive an internal
> server error with no explanation.
>
> I'm using
On Nov 16, 2009, at 12:55 PM, Alessandro Ronchi wrote:
> I'm using mod_passenger.
Isn't that for Ruby rather than Python?
--
-- Christophe Pettus
x...@thebuild.com
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, se
If I put Debug = False in my django settings.py I receive an internal
server error with no explanation.
I'm using mod_passenger.
What can cause the problem? Is there any way I can debug the error or
get more information? Dreamhost cannot answer me, maybe someone got
similar esperience.
--
Ales
In case someone else has the same problem: I hard-coded the text I
wanted in between h1 tags in template base.html.
{% block content_title %}{% if title %}Enter last name{%
endif %}{% endblock %}
but this defeats the purpose of templates. If you know how titles are
created in django, please let m
I found that the base.html template takes the title in admin change
page from the title of the page:
line 64 in base.html:
{% block content_title %}{% if title %}{{ title }}{% endif %}
{% endblock %}
How can I change the title of the page? Does anyone know?
Also mentioned here:
http://code.djan
Karen Tracey wrote:
> http://code.djangoproject.com/ticket/10899
Thanks - I missed that one. Yes it's ugly, yes you can hide it in setUp
(), and yes it bypasses the problems in the earlier works-around I
looked at.
--
Phlip
http://code.djangoproject.com/ticket/10899
--
You received this me
Ok, thanks for the example.
On Mon, 2009-11-16 at 11:27 -0800, pjrhar...@gmail.com wrote:
> > if not cleaned.has_key("string2") and
> > cleaned.has_key("string1"):
> > cleaned["string2"] = string1
> >
> > return cleaned
> >
> I think the problem here is that if string2
On Mon, Nov 16, 2009 at 1:37 PM, Phlip wrote:
> > Yours,
> > Russ Magee %-)
>
> Yours wouldn't happen to know an answer for this, right?
>
>
> http://groups.google.com/group/django-users/browse_thread/thread/a91f161f386f10da/2eaccb410c4c0692
>
> I literally don't know how to develop without TDD,
> if not cleaned.has_key("string2") and
> cleaned.has_key("string1"):
> cleaned["string2"] = string1
>
> return cleaned
>
I think the problem here is that if string2 is not required it will be
in the cleaned dictionary but an empty string. So instead you might
need:
if
doh! thanks Karen
On Nov 16, 2:10 pm, Karen Tracey wrote:
> On Mon, Nov 16, 2009 at 1:58 PM, Bobby Roberts wrote:
> > ok so i deleted what i had done and did the following:
>
> > 1. uploaded the entire basic app directory into django_apps/live/
> > basic
> > 2. changed installed apps to load:
On Mon, Nov 16, 2009 at 1:58 PM, Bobby Roberts wrote:
> ok so i deleted what i had done and did the following:
>
> 1. uploaded the entire basic app directory into django_apps/live/
> basic
> 2. changed installed apps to load:
> basic.blog
> basic.inlines
>
>
> Now i'm getting a tota
Hi Hugo.
I am using eclipse with pydev and have no idea how it is saved...
maybee you know that?
Ulferik
On 16 Nov, 18:44, Hugo González Monteverde wrote:
> What editor are you using for the template? There's no point in
> specifying the encoding as a meta if the actual html template files
> has
ok so i deleted what i had done and did the following:
1. uploaded the entire basic app directory into django_apps/live/
basic
2. changed installed apps to load:
basic.blog
basic.inlines
Now i'm getting a totally different traceback
athttp://www.thecigarcastle.com/blog/2009/nov/1
EDIT:
In the page source code the title that I want to change shows like
this:
Select lawyer to change
Where do i find this class="flex" ?
On Nov 16, 1:34 pm, Zeynel wrote:
> Django rocks! I used disable a site-wide action as explained here
>
> http://docs.djangoproject.com/en/dev/
Hi,
Is there any functionality, or possibility, to generate many fields in
a model file that are all identical and follow an easy (repetitive)
naming convention?
i.e.
locations = (loc1, loc2, lo3)
places = (place2, place2)
for l in locations:
for p in places:
l + p + _has_been_checked =
> Yours,
> Russ Magee %-)
Yours wouldn't happen to know an answer for this, right?
http://groups.google.com/group/django-users/browse_thread/thread/a91f161f386f10da/2eaccb410c4c0692
I literally don't know how to develop without TDD, and the inability
to call any but the most trivial GET actions
Django rocks! I used disable a site-wide action as explained here
http://docs.djangoproject.com/en/dev/ref/contrib/admin/actions/#disabling-a-site-wide-action
but now I have the title "Select a lawyer to change" just above my
search box. The action box is gone, but it's title is still there. Can
On Mon, 2009-11-16 at 17:57 +0100, Dennis Kaarsemaker wrote:
> On Mon, Nov 16, 2009 at 5:12 PM, Adam Stein wrote:
> > Running Django v1.1.1 on Apache v2.2.8 with Firefox v3.5.4.
> >
> > I have a very simplified and unreal example below to demonstrate what's
> > happening.
> >
> >8 --
> >
> >d
On my website http://www.mathmaster.org, I have a lot of forms that
generated a PDF math worksheets file after the user click the submit
button.
The way I test these pages is using the code similar to this method:
def test_addition_post(self):
post_data = {
'max_value': 10,
Hi,
I'm trying to get my head around a complex aggregate query and I could
do with some help. Say I have the following models
StockMarket
|
Stock
|
StockPrice
If StockPrice has price and date fields, and one price entry for every
day for every stock how would I write a query to get the average p
Tom Evans wrote:
> On Mon, Nov 16, 2009 at 5:25 AM, Melvyn Sopacua
> mailto:msopa...@warp10.thruhere.net>> wrote:
>
> On Mon, 16 Nov 2009 08:53:26 +0530, Kenneth Gonsalves
> mailto:law...@au-kbc.org>>
> wrote:
> > On Monday 16 Nov 2009 6:50:10 am Christophe Pettus wrote:
> >
On Mon, Nov 16, 2009 at 12:49 PM, Bobby Roberts wrote:
> Karen -
>
> Thanks for your reply... The path in both my blog and inlines module
> was edited and i removed basic. from all the calls (since i wasn't
> using the primary basic/ directory with all of the standard apps. The
> error was there
So then the answer to my question is "no", you do not have a file
inlines.py in a directory named "templatetags" which is itself in an
app directrory recognizable by the presence of a models.py, the path
such that the models.py file is importable as appname.models, and the
app mentioned in INSTALLE
Karen -
Thanks for your reply... The path in both my blog and inlines module
was edited and i removed basic. from all the calls (since i wasn't
using the primary basic/ directory with all of the standard apps. The
error was there even if when i was using basic/blog or basic/inlines
structure as d
What editor are you using for the template? There's no point in
specifying the encoding as a meta if the actual html template files
has not been saved in that encoding. Use the same encoding in your
editor settings as you are using in your meta specification.
Either your template file has a BOM
On Sun, Nov 15, 2009 at 4:35 PM, Malcolm MacKinnon wrote:
> Hi,
>
> I'm new to django and am having a problem with the modelformset factory not
> rendering all my form fields.For some odd reason, when I exclude the primary
> key field, prim, it does not render this field in my template below.
> {{
On Monday 16 November 2009 09:20:03 Bobby Roberts wrote:
> the path to inlines.py is:
>
> /django_apps/live/inlines/inlines.py
>
>
> live is on my pythonpath (my main application)
>
> blogs and inlines were pulled out of the basic app and put into these
> directories
>
> /django_apps/live/blog
On Mon, Nov 16, 2009 at 12:20 PM, Bobby Roberts wrote:
> the path to inlines.py is:
>
> /django_apps/live/inlines/inlines.py
>
>
> live is on my pythonpath (my main application)
>
> blogs and inlines were pulled out of the basic app and put into these
> directories
>
> /django_apps/live/blog/ (w
the path to inlines.py is:
/django_apps/live/inlines/inlines.py
live is on my pythonpath (my main application)
blogs and inlines were pulled out of the basic app and put into these
directories
/django_apps/live/blog/ (works)
/django_apps/inlines/(doesn't work)
you can view the full trace
On Sunday 15 November 2009 19:23:26 Kenneth Gonsalves wrote:
> On Monday 16 Nov 2009 6:50:10 am Christophe Pettus wrote:
> > On Nov 15, 2009, at 5:10 PM, Kenneth Gonsalves wrote:
> > > I do also point out to plone vs drupal, but there again the
> > > argument is the drupal is more widely used and h
On Mon, Nov 16, 2009 at 5:12 PM, Adam Stein wrote:
> Running Django v1.1.1 on Apache v2.2.8 with Firefox v3.5.4.
>
> I have a very simplified and unreal example below to demonstrate what's
> happening.
>
>8 --
>
> def clean(self):
> cleaned = self.cleaned_data
>
> if not cleaned.h
Hello,
I've been using admin to create/change some objects in my company.
Now I have a new set of users that will be able to change objects but
a moderator needs to approve the changes. Do you have any suggestion
on how to implement this?
Best regards,
Luis
--
You received this message becaus
2009/11/16 Carlos Ricardo Santos :
> Hi:
> I tried all the ways possible and impossible to make my Django project have
> i18n...
> Put all settings (INSTALLED_APPS, CONTEXT_PROCESSORS), generated languages,
> compiled messages, edited the ".po" files, setted the ugettext to "_", in
> views all the
My app is almost done but before I send it out to get some feedback I
want to make a couple of more design tweaks.
I changed the branding on the login dialogue box and on the dark blue
band on top, by changing the template base_site.html.
On the home page (www.swimswith.com/admin/) I want to chan
Thanks!
I noticed that using
class Lawyer(models.Model):
...
ordering = ('last',)
did not work.
But this worked
class Lawyer(models.Model):
...
class Meta:
ordering = ('last',)
copied from http://www.djangoproject.com/documentation/models/ordering/
What is the correc
I had been eyeing Sass for a while, hoping to get to use it on a
project. When we chose Django instead of Rails for FeedMagnet, I was
bummed that we wouldn't have access to the Rails Sass gem.
Thankfully I found Compass - it let's us generate all our CSS from
Sass source files and it works really
Hi:
I tried all the ways possible and impossible to make my Django project have
i18n...
Put all settings (INSTALLED_APPS, CONTEXT_PROCESSORS), generated languages,
compiled messages, edited the ".po" files, setted the ugettext to "_", in
views all the strings are like this: toSend= _("Hello"), but
Running Django v1.1.1 on Apache v2.2.8 with Firefox v3.5.4.
I have a very simplified and unreal example below to demonstrate what's
happening.
class MyForm(forms.Form):
string1 = forms.CharField()
string2 = forms.CharField(widget = forms.HiddenInput())
def clean(self):
clean
On Mon, Nov 16, 2009 at 5:25 AM, Melvyn Sopacua <
msopa...@warp10.thruhere.net> wrote:
> On Mon, 16 Nov 2009 08:53:26 +0530, Kenneth Gonsalves
> wrote:
> > On Monday 16 Nov 2009 6:50:10 am Christophe Pettus wrote:
> >> On Nov 15, 2009, at 5:10 PM, Kenneth Gonsalves wrote:
> >> > I do also point o
On Monday 16 November 2009 06:11:47 Amit Sethi wrote:
> Hi , I just developed my first small app using django , I wish to
> deploy it . I have a apache server with drupal running on it . Can
> anybody guide me about the procedure i should use to deploy the
> project without disturbing the drupal in
Do you have among your installed apps a name identifying a directory on the
python path having both a models.py and a subdirectory named templatetags,
that subdirectory containing a file inlines.py ? Or was that in the stuff you
excluded from basic.app?
Bill
On Sun, Nov 15, 2009 at 10:34 PM, Bob
Karen I did as you said and it is amazing what know-how can do.
I am yours forever.
Ulferik
On 16 Nov, 16:20, Karen Tracey wrote:
> On Mon, Nov 16, 2009 at 10:08 AM, ulferik wrote:
> > Thank's Karen for your reply.
> > With php+smarty I do the same I make a base template on which I have
> > some
On Mon, 16 Nov 2009 08:53:26 +0530, Kenneth Gonsalves
wrote:
> On Monday 16 Nov 2009 6:50:10 am Christophe Pettus wrote:
>> On Nov 15, 2009, at 5:10 PM, Kenneth Gonsalves wrote:
>> > I do also point out to plone vs drupal, but there again the
>> > argument is the drupal is more widely used and hen
On Mon, Nov 16, 2009 at 10:11 AM, Zeynel wrote:
> Hi,
>
> Is there a way to change the default sort order in admin of my sqlite
> db? At this point it sorts the table in the order entered (last
> entered item first).
>
>
http://docs.djangoproject.com/en/dev/ref/contrib/admin/#django.contrib.admin
On Mon, Nov 16, 2009 at 10:08 AM, ulferik wrote:
> Thank's Karen for your reply.
> With php+smarty I do the same I make a base template on which I have
> some
> stuff that is the same for all. In the template I place a meta tag
> with charset=ISO-8859-1
> and everything is fine.
The meta tag, I
Hi,
Is there a way to change the default sort order in admin of my sqlite
db? At this point it sorts the table in the order entered (last
entered item first).
Thanks
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send e
Thank's Karen for your reply.
With php+smarty I do the same I make a base template on which I have
some
stuff that is the same for all. In the template I place a meta tag
with charset=ISO-8859-1
and everything is fine. With Django it doesn't make any difference
what I place in meta or
xml tags. The
This site has instructions
http://www.webmonkey.com/tutorial/Install_Django_and_Build_Your_First_App
that appear to be simpler than the official django tutorial
http://docs.djangoproject.com/en/dev/intro/install/#intro-install
On Nov 16, 1:20 am, harshad wrote:
> hello All,
>
> Im new to python,
I'd check rpmforge see:
http://wiki.centos.org/AdditionalResources/Repositories/RPMForge
for centos notes
On Nov 15, 3:27 pm, mkumm wrote:
> Colin thanks - I will try installing all of the -devel stuff. ha - 2.4
> - thanks!
>
> On Nov 15, 2:32 pm, Colin Bean wrote:
>
> > On Sun, Nov 15, 2009 at
Hello,
I'm not expert but have seen this behavior when I have a bad import.
I would start by trying ./manage.py shell and copy past your imports
from models and then views or other imports. It's almost always been
a bad import when I've seen this and ./manage.py syncd will fail
silently and ./ma
On Nov 16, 2:06 pm, Andy wrote:
> Thank you all for your replies. Karen, both good points. pjrharley,
> I agree with Dennis. If the user is required to re-type their email
> address, then that in combination with Django's simple built in email
> validation should be sufficient.
>
> I am using a
On Mon, Nov 16, 2009 at 4:06 PM, Andy wrote:
> Thank you all for your replies. Karen, both good points. pjrharley,
> I agree with Dennis. If the user is required to re-type their email
> address, then that in combination with Django's simple built in email
> validation should be sufficient.
>
Hi , I just developed my first small app using django , I wish to
deploy it . I have a apache server with drupal running on it . Can
anybody guide me about the procedure i should use to deploy the
project without disturbing the drupal installation in any way...
--
A-M-I-T S|S
--
You received th
Thank you all for your replies. Karen, both good points. pjrharley,
I agree with Dennis. If the user is required to re-type their email
address, then that in combination with Django's simple built in email
validation should be sufficient.
I am using a ModelForms right now. If I remove email_co
On Mon, Nov 16, 2009 at 3:59 AM, ulferik wrote:
> My problem is that when I put one of these characters (´ Å Ä Ö) in the
> template I get an error like this "UnicodeDecodeError: 'utf8' codec
> can't decode bytes in position 578-579: invalid data"
> Normally I specify the encoding in meta like thi
On Monday 16 November 2009 08:43:35 Alessandro Pasotti wrote:
> after banging my head for a few hours, I've found a solution to this
> problem with a snippet:
>
> http://www.djangosnippets.org/snippets/1338/
>
> This works for me with the standard SQL syntax (dollar quoting), just put
> your cus
On nov. 14, 02:13, Preston Holmes wrote:
> I'm setting up a conference website where a submission will have one
> or more "reviews"
>
> I've got the reviews set as inlines for submissions in the admin
>
> The submission model has a "status" field that needs to go through
> steps like "submitted" a
My problem is that when I put one of these characters (´ Å Ä Ö) in the
template I get an error like this "UnicodeDecodeError: 'utf8' codec
can't decode bytes in position 578-579: invalid data"
Normally I specify the encoding in meta like this "charset=ISO-8859-1"
or "xml version="1.0" encoding="ISO
On Nov 16, 8:12 am, Continuation wrote:
> > As the docs show, when you've defined a GenericRelation, querying is
> > exactly the same as with a reverse foreign key. So:
> > Bookmark.objects.get(tags__tag='django')
>
> A somewhat related question:
>
> What if instead of having a ForeignKey to Conte
1 - 100 of 104 matches
Mail list logo