error that the not null constraints on slno and mode are violated.
so it looks to me that get_or_create will only work reliably when there are no
not null or unique constraints in the model. Or am I missing something?
--
regards
Kenneth Gonsalves
Senior Associate
NRC-FOSS
http
self.cursor().execute(self.ops.savepoint_rollback_sql(sid))
File "/usr/lib/python2.6/django/db/backends/__init__.py", line 75, in cursor
cursor = self._cursor()
File "/usr/lib/python2.6/django/db/backends/postgresql/base.py", line 149,
in _cursor
cursor.execute(&quo
et=Account.objects.filter(pk=self.head)
class Meta:
model = Account
--
regards
Kenneth Gonsalves
Senior Associate
NRC-FOSS
http://certificate.nrcfoss.au-kbc.org.in
--
You received this message because you are subscribed to the Google Groups
"Django users" group
no longer my
responsibility now, so I will probably shift. Am top posting as there is
nothing specific to reply to. Thanks again.
On Friday 26 Mar 2010 4:55:39 pm Karen Tracey wrote:
> On Fri, Mar 26, 2010 at 1:49 AM, Kenneth Gonsalves wrote:
> > Here is what I mean - A simple model
rk - from yourproject.yourapp.views import * and import
yourproject.yourapp.views. There used to be a bug where syncdb failed silently
when the concerned views/models file had a failed import. I am not sure whether
the bug has been rectified. (bad internet so cannot check)
--
regards
Kenneth Gonsalves
Senior Asso
configure the virtual
hosts.
--
regards
Kenneth Gonsalves
Senior Associate
NRC-FOSS
http://certificate.nrcfoss.au-kbc.org.in
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegro
On Tuesday 06 Apr 2010 4:24:42 am Wedg wrote:
> So has anyone ever heard of anything like this? Or should I start
> posting code?
>
unless you post the code and the errors, it may be difficult to diagnose
--
regards
Kenneth Gonsalves
Senior Associate
NRC-FOSS
http://certificate.n
On Wednesday 14 Apr 2010 1:37:46 pm Benjamin Buch wrote:
> I was wondering if there is a django app to manage sports teams and
> scores out there...
>
there is one for golf, but that is not a sport - it is a vocation ;-)
--
regards
Kenneth Gonsalves
Senior Associate
NRC-
one i came up with after a quick search...
>
http://bitbucket.org/lawgon/djangogolf/
and to see it live:
http://greenchilly.in
--
regards
Kenneth Gonsalves
Senior Associate
NRC-FOSS
http://certificate.nrcfoss.au-kbc.org.in
--
You received this message because you are subscribed to the Google
On 08-Jun-07, at 4:54 PM, Gilbert Fine wrote:
> I am a Chinese user. I found some message is displayed as English in
> my site. So I check the django.po under zh_CN. I found that the msgid
> is already in django.po, but not in django.mo. Why?
are they marked as fuzzy? if so, they will be ignore
On 08-Jun-07, at 11:57 PM, ZebZiggle wrote:
> Strong python, javascript, CSS, postgres, jquery (or alike), debugging
> and lots of general experience in software development. And when I say
> CSS, I don't mean graphic design skills, but knowing how to take a
> graphic design and translate it int
On 09-Jun-07, at 12:20 AM, Kenneth Gonsalves wrote:
>> Strong python, javascript, CSS, postgres, jquery (or alike),
>> debugging
>> and lots of general experience in software development. And when I
>> say
>> CSS, I don't mean graphic design skills, b
On 09-Jun-07, at 12:41 AM, Nic James Ferrier wrote:
>> to elaborate, i dont think such skill sets are available on the
>> market. People who have them are all happily employed or are self-
>> mployed
>
> Self employed means available on the market.
>
> I have those skills. I am self employed. I
On 10-Jun-07, at 7:33 AM, Mike Schinkel wrote:
> Does anyone know of a free service (or software) that I could proxy
> through
> that would let me add a subject header? Given that it appears to be a
> non-negotiable on the list, that's about the only potential
> solution left
> that I can s
On 14-Jun-07, at 6:00 PM, Dushyant Sharma wrote:
> has any body used jsonrpc with django if yes kindly help me
> here is how to use it but i cant use it with django facing problems
would be helpful if you stated what you tried and what the errors were
--
regards
kg
http://lawgon.livejournal.
On 19-Jun-07, at 11:21 AM, [EMAIL PROTECTED] wrote:
> Now, maybe a stupid question but for how long does it take to really
> understand Django/Python and start actually creating some code for the
> game?
from what i see on the IRC channel, you can pretty much start
producing your game by day
On 20-Jun-07, at 3:45 PM, [EMAIL PROTECTED] wrote:
> The site is now live and ready to be used and abused. Please, login
> and submit your sites.
i had registered as 'lawgon' and waited several hours - but no mail.
Can you check out?
--
regards
kg
http://lawgon.livejournal.com
http://nrcfo
On 21-Jun-07, at 12:50 PM, [EMAIL PROTECTED] wrote:
> cache gets confused. But if I do that, the settings don't work
> correctly and the site won't load. What am I doing wrong?
you need a pythonInterpretor line in each Location with a different
name. It is in the documentation
--
regards
On 20-Jun-07, at 8:22 PM, Kenneth Gonsalves wrote:
>> The site is now live and ready to be used and abused. Please, login
>> and submit your sites.
>
> i had registered as 'lawgon' and waited several hours - but no mail.
> Can you check out?
still havent got the
On 21-Jun-07, at 11:28 PM, Geoff wrote:
> unique interactive web applications, etc. current plans include a
> python-based CMS such as django on Linux.
you could also inform them that django is not a CMS - if they are
expecting one, they may be in for a disappointment.
--
regards
kg
http:/
On 22-Jun-07, at 5:41 AM, Noah Gift wrote:
> > unique interactive web applications, etc. current plans include a
> > python-based CMS such as django on Linux.
>
> you could also inform them that django is not a CMS - if they are
> expecting one, they may be in for a disappointment.
>
> I think y
On 25-Jun-07, at 5:45 AM, Ross Poulton wrote:
> On Jun 21, 12:52 am, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote:
>> i had registered as 'lawgon' and waited several hours - but no mail.
>> Can you check out?
>
> As you'd noticed, I've verified your
On 02-Jul-07, at 11:15 AM, nick feng wrote:
> Will anybody share your django-based website source code with me ?
> Thank you very much!
> I promise that your codes is only used for my studying django.
http://nrcfosshelpline.in/code/ <-- use it as you
like. It is not state
On 03-Jul-07, at 2:58 AM, [EMAIL PROTECTED] wrote:
> Problem: In the dynamic language of your choice, write a short program
> that will:
>
> 1. define a list of the following user ids 42346, 77290, 729 (you can
> hardcode these, but it should still work with more or less ids)
> 2. retrieve an
On 03-Jul-07, at 11:33 AM, Russell Keith-Magee wrote:
>> It may seem incorrect for you to talk on this without looking into
>> code.
>
> Well, I'm one of the Django core developers, and I've made plenty of
> changes to the database backends over the years - so I'm fairly well
> qualified to spea
On 11-Jul-07, at 2:36 PM, Matt Davies wrote:
> On the fly I guess I mean
no
--
regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpline.in/web/
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django u
On 12-Jul-07, at 6:45 AM, nick feng wrote:
> Which database is better for django, PostgreSQL or MYSQL?
postgresql - general, not for django in particular
--
regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpline.in/web/
--~--~-~--~~~---~--~~
You re
On 14-Jul-07, at 6:10 PM, Michael wrote:
> for costumers that already have some of hosting service, the chance
> that they use a hosting service from that list is very low, almost
> zero.
>
> That's means that I can't use Django or any other python-based
> framework for my job ?
> I'm asking al
On 14-Jul-07, at 10:30 PM, Michael wrote:
>> what i do is host on my own server until they are hooked on django
>> and then they either twist their provider's arms or get a new
>> provider]
>
> but how I can convince them to change provider? I mean, they could
> hire some PHP programmer instea
On 17-Jul-07, at 3:21 AM, Michael wrote:
> and the most important reason that made me leave django and use php
> instead is finding a REAL job.
> after the freelance period, I hope to find a job in some company,
> unfortunately, there is no requests for Django developers, and the
> requests for
On 17-Jul-07, at 9:36 AM, james_027 wrote:
> Yes I am looking for the explanation of ?P syntax, is this
> something related to python's regex or django's own regex.
python
--
regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpline.in/web/
--~--~-~--~~~-
On 17-Jul-07, at 9:26 PM, Chris Hoeppner wrote:
>
> You'll wanto to try with at least 2.4. Though it's said that 2.3 *is*
> supported, it has given me tons of headaches. For safe, go for 2.4
> at least.
all my servers run on 2.3.5 and one of them also on the latest svn
head without any pro
On 18-Jul-07, at 11:31 AM, James Bennett wrote:
> So I'm not necessarily convinced that there's a great need for a
> "standard" Django blog application; it would appease some folks, but I
> have a feeling that in the Django world a lot of people really would
> be happier, in the long run, writin
On 19-Jul-07, at 11:08 AM, Dmitriy Sodrianov wrote:
> How should the process of synchronisation be performed?
> To my mind only dropping table and recreating it should do the task.
for example:
http://www.djangosnippets.org/snippets/188/
--
regards
kg
http://lawgon.livejournal.com
http://nr
On 20-Jul-07, at 7:20 AM, walterbyrd wrote:
>> You could do what I did decide Dreamhost is unacceptable for
>> hosting anything but a very, very small Django site, and go over to
>> Webfaction.
>
> I don't use Webfaction myself, but I have heard nothing but good
> things about them. If you d
On 20-Jul-07, at 2:07 PM, Alper KANAT wrote:
> What is newforms any way ? A new looking (style) of a form or
> something
> ? If so, can somebody post a screenshot please ?
no - form look the same - just the new ones are easier to handle and
more functional than the old, but a screenshot won
On 20-Jul-07, at 2:39 PM, Jon Atkinson wrote:
> I don't mean to pry, but at your workplace have you had any difficulty
> hiring into Python/Django roles at your company (compared to PHP)? Do
> you get less applicants? A better quality of applicant?
my experience is: no qualified applicants - th
On 21-Jul-07, at 1:51 PM, Christian Hoeppner wrote:
> That's just silly. Or I might be dumb. It took me 2 weeks the first
> time
> to setup a django-development environment on my linux pc. And now it's
> "autoloading" somewhere else? Heck, I must have missed the
> autoloading-installer. ;)
mu
On 21-Jul-07, at 2:35 PM, Chris Hoeppner wrote:
>>> to setup a django-development environment on my linux pc. And now
>>> it's
>>> "autoloading" somewhere else? Heck, I must have missed the
>>> autoloading-installer. ;)
>>
>> must be some virus called django
>>
>
> A quite useful virus, IMHO.
On 21-Jul-07, at 4:42 PM, Christopher wrote:
> Can no one out there help me with this or is this just a really stupid
> question?
you should be patient and wait for an answer - I personaly try never
to ask questions on a friday as the reply may only come on
tuesday ;-) As for your question,
On 22-Jul-07, at 11:33 AM, Nicola Larosa wrote:
>> I think it's this historical baggage of non-ANSI-compliance for MySQL
>> that dings it to a lower status than PostgreSQL. As the newer, more
>> compliant versions of MySQL begin to be more available on hosting
>> services, this gap will close.
On 22-Jul-07, at 10:09 AM, Greg wrote:
> {% for i, a in enumerate(mychoice) %}
if this is the python enumerate function, you cant put python code in
a template - and i dont think you can pass parameters withing ()
anyway in a template.
--
regards
kg
http://lawgon.livejournal.com
http://n
On 27-Jul-07, at 1:21 PM, james_027 wrote:
> I really love Django admin, however how can I add customer validation
> or contraints to my models?
there is an on-going GSoc project for this - and a thread on this
list started yesterday. You could check that out
--
regards
kg
http://lawgon.li
On 01-Aug-07, at 12:32 PM, Ben wrote:
> I am a total Django newbie. Hence the probably silly questions:
> There are professional-looking website templates for sale in several
> places (templatemonster, etc).
> Can those be used easily with Django ?
yes
> Do they need to be designed specifical
On 03-Aug-07, at 8:06 AM, james_027 wrote:
>> create different URLs (and thus different views) for the different
>> buttons and then redirect to wherever you want to go.
>>
>
> How do I create a different URL for different buttons but under one
> form?
each submit button has a name - say 'add',
On 03-Aug-07, at 10:12 AM, Kenneth Gonsalves wrote:
>
>
> On 03-Aug-07, at 8:06 AM, james_027 wrote:
>
>>> create different URLs (and thus different views) for the different
>>> buttons and then redirect to wherever you want to go.
>>>
>>
>> Ho
On 03-Aug-07, at 2:44 PM, Chris Hoeppner wrote:
> Oh and please don't call Template Monster "professional"... Please...
thank god they dont offer free django templates
--
regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpline.in/web/
--~--~-~--~~~---~-
On 03-Aug-07, at 4:46 PM, Aljosa Mohorovic wrote:
> on few blogs/web sites it is stated that > 30 django sites on one
> server running apache/mod_python have some issues, like untraceable
> errors and wrong site displaying for some domain.
> any comments on this?
is this an official bug? I have
On 03-Aug-07, at 6:36 PM, David Reynolds wrote:
>> per server. i have a situation where i have many small sites.
>> anybody here using mod_python for larger number of sites per server?
>
> We have around 30 and have noticed the problems you've mentioned..
could you mention what exactly the prob
On 03-Aug-07, at 10:02 PM, Nis Jørgensen wrote:
>> how about surrounding the statement with a try and work the leap year
>> to regular year case with the exception?
> That seems like overkill. There isn't really any leap-year handling
> necessary:
>
> import datetime.date as date
this should be
On 05-Aug-07, at 6:19 PM, Marco A. wrote:
> >>> p.user
p.User
--
regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpline.in/web/
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To
On 08-Aug-07, at 6:51 PM, Stephen Bunn wrote:
> Is there any documentation anywhere that describes setting up correct
> database permissions for use with Django.
use whatever permissions you are happy with. As long as the user
under which django accesses the database, can do everything django
On 08-Aug-07, at 7:19 PM, Stephen Bunn wrote:
> therein lies the problem. What is 'everything' that Django
> requires to
> be done?
>
> I know it obviously needs to be able to execute SELECT, UPDATE, and
> INSERT statements, but what about ALTER? SHOW? does it need to create
> views? create i
On 08-Aug-07, at 10:13 PM, James Bennett wrote:
>> constructing the SQL. With Django, it is building the SQL for me.
>
> Your best bet is to thoroughly read the documentation on the ORM; once
> your tables are created (it can create them for you, but you don't
> have to let it do that -- instea
On 10-Aug-07, at 12:19 PM, james_027 wrote:
> Can I use the django's built in web server in an intranet enviroment
> where the maximum users could be not more than 50 users? I am just
> asking this for the purpose for easy deployment :).
sure
> I am very newbie,
> and trying to avoid apache
wh
On 10-Aug-07, at 1:19 PM, james_027 wrote:
>>
>>> I am very newbie,
>>> and trying to avoid apache
>>
>> why?
>>
>
> Just in case a problem occur, I think it could be more easy to
> troubleshoot it without being a apache expert? Or if threre's a patch
> for the client's program that need to be a
On 14-Aug-07, at 2:47 PM, Malcolm Tredinnick wrote:
>> PostgreSQL, MySQL, Oracle and SQLite (the latter doesn't require a
>> separate server to be running)."
(SQLite doesn't require a separate server to be running) <---
will stay true even if other rdbms names are added after 'SQLite'
On 15-Aug-07, at 12:59 AM, Tim Chase wrote:
>> I've downloaded the tarball several times - each time the archiver
>> shows it as corrupt (other tarballs work fine). Using Ubuntu Feisty.
>> (and the Feisty backport package is broken as well).
>
> Given the multiple responses that the tarball see
On 15-Aug-07, at 10:33 AM, Jay Parlar wrote:
> I have Django sites hosted with both DreamHost and Webfaction. While
> Dreamhost is pretty good, once you get it working, I recommend
> Webfaction. So much easier to setup, direct contact on the forums with
> the people who run it, it's just fantast
On 16-Aug-07, at 7:37 AM, Greg wrote:
> is all I see - .
are there spaces in your filename?
--
regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpline.in/web/
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google G
On 16-Aug-07, at 8:05 AM, Greg wrote:
> The file I uploaded was called 'IMG_0090'. When I looked in the site-
> media folder it has been renamed to 'myphototest-photo-none'
try an image without '_' or spaces or special characters in the name
--
regards
kg
http://lawgon.livejournal.com
http:
On 16-Aug-07, at 9:02 PM, Greg wrote:
> When the image gets uploaded the name of the image is myphototest-
> photo-none (without auto_rename attribute). Isn't none supposed to be
> the object pk. Shouldn't that be a 1,2,3 etc instead of none?
i'm afraid i cant help you further - I have been u
On 17-Aug-07, at 6:15 AM, [EMAIL PROTECTED] wrote:
> There seems to be some trickery in updating a model that already has
> database entries.
There is no trickery involved. One thing people forget is that Django
is a framework made up of python, sql, html, css and javascript. It
simplifies
On 17-Aug-07, at 6:35 AM, James Bennett wrote:
>> So how do I do it?
>
> http://www.google.com/search?hl=en&q=sql+alter+table&btnG=Google
> +Search
an example:
http://www.djangosnippets.org/snippets/188/
--
regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpline.in/web/
--~--~---
On 17-Aug-07, at 6:49 AM, Greg wrote:
> Thanks for the reply. When you use nesh and you upload a picture is
> the name of the picture:
>
> classname-fieldname-none.jpg? Or does the filename contain the pk of
> the record?
no - it is just the name of the picture that is on my local hard disk
On 17-Aug-07, at 7:47 AM, Greg wrote:
> Kenneth,
> So in your models.py file do you use auto_rename=False?
i use an old version - at that time it didnt have the auto_rename
feature
>
> This is what I have:
>
> photo = field.ImageWithThumbnailField(upload_to='site_media/')
thats what i have
>
On 21-Aug-07, at 8:20 PM, b3n wrote:
> What is the python/django way of achieving this?
template inheritance
--
regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpline.in/web/
--~--~-~--~~~---~--~~
You received this message because you are subscribe
On 26-Aug-07, at 11:51 AM, Brandon Taylor wrote:
> -bash: django-admin.py: command not found
what happens if you run /usr/local/bin/django-admin.py, that is, with
the full path name. If it runs, then it means your path does not
contain /usr/local/bin. If it doesnt run, your alias is borked.
Hi,
I have a site on WebFaction with 40 MB RAM. It is a very small site
in the sense that it is used for administering an organisation, so
would have just 2-3 users at a time, mainly doing admin stuff. The
only load is when pdf reports are being generated. Leaving apache
untweaked, the RA
On 27-Aug-07, at 3:05 PM, Iapain wrote:
> Yes it is, I am running a huge site on webfaction 40 MB, performance
> wise its excellent.
what is your RAM usage? How did you tweak apache to achieve that?
--
regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpline.in/web/
--~--~-
On 27-Aug-07, at 4:07 PM, Graham Dumpleton wrote:
>> in for more RAM?
>
> BTW, have you also made sure you have read:
>
> http://blog.webfaction.com/tips-to-keep-your-django-mod-python-
> memory-usage-down
yes
>
> Maybe your size problems are due to not turning debug off.
it's off
--
re
On 27-Aug-07, at 8:18 PM, Iapain wrote:
>> what is your RAM usage? How did you tweak apache to achieve that?
>
> I didnt check RAM usage, but site always work like express instead i
> did clean coding and tried to optimize my code.
this is the command that webfaction uses to check RAM usage:
hi,
when i upgraded to the latest svn head, I found that all the places
in admin that had drop downs for choices were blank. I had always
marked my choices for translation like so:
article_type = (
("NW", _("News")),
("FT",_("Features")),
)
now, this doesnt work - when I remove the _(), the
On 28-Aug-07, at 9:55 PM, Chris Hoeppner wrote:
>> when i upgraded to the latest svn head, I found that all the places
>> in admin that had drop downs for choices were blank. I had always
>> marked my choices for translation like so:
>>
>> article_type = (
>> ("NW", _("News")),
>> ("FT",_("Featu
On 29-Aug-07, at 12:58 PM, vanderkerkoff wrote:
> I was wondering if anyone in this group had built a django powered
> site in the welsh language, that is, with Welsh Language content and
> using Django's built in Welsh Admin backend?
is there a separate admin backend for welsh? I was under the
On 29-Aug-07, at 1:26 PM, James Bennett wrote:
>> "must be US citizens with no criminal history"
>
> Somewhat OT, but for some companies this is a legal requirement.
> Citizenship for certain firms who do government work, no criminal
> record is common in industries where the company is bonded a
On 29-Aug-07, at 2:24 PM, Michael Radziej wrote:
now, this doesnt work - when I remove the _(), then the choices
appear. How do I then mark them for translation?
>>>
>>> Make sure to use gettext_lazy
>>
>> i *am* using: from django.utils.translation import gettext_lazy as _
>
> Ha
On 29-Aug-07, at 2:51 PM, Michael Radziej wrote:
>> doesnt work - i just marked one string, the marked string didnt
>> appear, the other two did.
>
> Well, sorry, then I'm personally running out of ideas. But this
> looks really
> weird.
i filed a bug report
--
regards
kg
http://lawgon.liv
On 29-Aug-07, at 2:53 PM, Jarek Zgoda wrote:
>> now, this doesnt work - when I remove the _(), then the choices
>> appear. How do I then mark them for translation?
>>
> Make sure to use gettext_lazy
i *am* using: from django.utils.translation import gettext_lazy
as _
On 30-Aug-07, at 1:29 PM, Michael Radziej wrote:
>>
>> True, that's why I call this behaviour "buggy".
>
> Ah! I thought that you advocated for gettext instead of
> gettext_lazy in this
> specific situation.
well, i am using gettext until the bug is fixed - so far no problems
--
regards
kg
hi,
I have a site in finnish. It was rendering fine until I upgraded to
the latest svn head. Now the character A with marks on top of it
refuses to render. The other finnish characters are rendering. Any
clues?
--
regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpline.in/web/
-
I upgraded to svn
trunk (i was working in non-unicode previously, and am in unicode now.
>
> El jue, 06-09-2007 a las 16:24 +0530, Kenneth Gonsalves escribió:
>> hi,
>> I have a site in finnish. It was rendering fine until I upgraded to
>> the latest svn head. Now t
hi,
after upgrading to the unicode (latest svn head) nesh thumbnails dont
work saying: TypeError, Make_thumbnail() keywords must be strings.
Any clues?
--
regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpline.in/web/
--~--~-~--~~~---~--~~
You re
On 07-Sep-07, at 4:43 PM, Kenneth Gonsalves wrote:
>
> checkbox itemname
>
> I tried to format this in the view itself - but didnt get a link -
> just got the literal string above. Any ideas?
solved - just broke up the form and made the template by hand
--
hi,
I have a multiplechoice field using multiplecheckbox widget. There is
a form which has various action buttons for the selected items. In
addition, I need to add a link to each of the selected items -
something like 'details here ...' and clicking the link would take
them to the detail
hi,
is there any quick way of entering sane dates in admin - that is d/m/
y and not y/m/d?
--
regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpline.in/web/
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Group
On 08-Sep-07, at 1:23 PM, beck917 wrote:
> Is anyone here?
never ask questions on friday/saturday and expect immediate replies.
--
regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpline.in/web/
--~--~-~--~~~---~--~~
You received this message becaus
hi,
this is not a bug report, because unicode upgrade is not backwardly
compatible. When i did the upgrade, the finnish data in the site had
problems rendering. Fortunately only one or alphabets were affected.
For example:
Jarske-Sjöstedt
became
Jarske-Sjöstedt
retypeing the correct spel
On 08-Sep-07, at 10:38 PM, Brisingman wrote:
> What is the philosophy behind the Django admin app? Is is supposed to
> be a quick start to a CMS, ie was the thinking that developers would
> use this base code to build their custom CMS or are we to use some
> other CMS?
you are supposed to use
On 04-Jan-08, at 12:41 PM, LRP wrote:
> So, it appears that my major problem is version. As several of you
> point out, I'm running version 0.95.1-1, which I downloaded from the
> current stable Debian repository, etch. I see that the Debian testing
> repository, lenny, contains 0.96.1-1.
>
> No
On 06-Jan-08, at 11:52 AM, shabda wrote:
> I have an app, and that app is included in the installed_apps in
> settings.py. Whn I run manage.py runserver, tables referred in the app
> are created. However none of the entities in that table are displayed
> in the admin interface, which shows table
On 06-Jan-08, at 11:01 PM, Michael Hipp wrote:
> Attempting to do a method call {% views.get_stuff %} just results
> in a 'bad
> tag' error.
>
> Doing it like a variable {{ views.get_stuff }} just seems to be
> ignored.
make a templatetag
--
regards
kg
http://lawgon.livejournal.com
http:
On 08-Jan-08, at 11:05 AM, Ravi Kumar wrote:
> 3. I was reading some pros-cons about Django. I came to know Django
> has a memory problem in deployment environment, leaked memory. I
> also read many articles regarding how to prevent such leakage and
> hogging
where did you hear this? It i
On 09-Jan-08, at 12:14 AM, James Bennett wrote:
>> Another dirty solution would be to simply create a user account, and
>> give it permissions to only view things. I haven't played with
>> permissions at all, but I imagine it would be possible.
>> The correct way is still to write your own code
On 10-Jan-08, at 8:20 PM, mjj wrote:
> I need to get a postgresql db sorted out for my django install, having
> never used it before its a little tricky. Postgres etc is installed as
> are the appropriate python bits etc etc, the problem I get is an IDENT
> error when I try to connect. Anyone ha
On 10-Jan-08, at 8:54 PM, Darthmahon wrote:
> Is there any real difference between passing the data from a views.py
> file into a template compared with asking for the data using a
> templatetag?
if you are only using it in one template - do it in the view. If you
are doing it in several or a
On 12-Jan-08, at 2:48 PM, ocgstyles wrote:
> def __init__(self, user):
you need a super line here
> profile = user.get_profile()
--
regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpline.in/web/
Foss Conference for the common man: http://registration.fossconf.in/web/
--~--~
On 12-Jan-08, at 10:12 PM, crybaby wrote:
> What is the fastest way to remove ^M from every files in main project
> folder and apps folders. Doing it by hand seems time consuming. Is
> there a simple script take care of this? if I just leave the ^M in
> python code, would it cause problems?
On 14-Jan-08, at 4:42 PM, Nader wrote:
>
> Hallo,
>
> Maybe this is an irrelevant question, but I have to define a model
> for an application without any primary-key. Is such definition
> possible in "Django"? Because I have to make a model from the below
> MySQL table which doesn't have any pr
On 14-Jan-08, at 5:40 PM, shabda wrote:
> Exception Type: SuspiciousOperation at /admin/
> Exception Value: User may have tampered with session cookie.
sounds like something has been re-installed
--
regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpline.in/web/
Foss Conference for t
601 - 700 of 2036 matches
Mail list logo