On Jan 27, 2:50 am, Malcolm Tredinnick
wrote:
> > I don't care if it takes more than one line, though there is, in
> > fact :), a big difference between taking more than one line and having
> > to bypass the public API.
>
> Only semantically, when you're trying to access something like "group
> b
Thanks a lot, Malcolm,
You got me on the right track, I just needed to escape the string,
like this:
var prices=[{% for price in prices %}[{{ price.0 }}, '{{ price.1|
escape }}']{% if not forloop.last %},{% endif %}{% endfor %}];
I tried the `escapejs` filter. That didn't work. Then I tried the
I am drown in documentation. I want to do simple thing. There is a
ShortDescription model in my app, which has string =
models.CharField(max_length=300), but i want to show it as in my
admin panel.
I tried some, here
class ShortDescription(models.Model):
product = models.ForeignKey(Prod
Hi All,
I'm using something along the following lines to bulk add a bunch of
objects to a model's reverse foreignkey relationship:
foo.bar_set.add(*bars)
where bars is a list of Bar objects.
I've noticed that Django is generating a new INSERT query for each
object in the list rather than just
On Jan 27, 10:54 am, Mirat Can Bayrak
wrote:
> I am drown in documentation. I want to do simple thing. There is a
> ShortDescription model in my app, which has string =
> models.CharField(max_length=300), but i want to show it as in my
> admin panel.
>
> I tried some, here
>
> class ShortDesc
Very nice Malcolm!
It works like a charm!
I was confused about how to extend an iterator, but I can surely find
my own way from here.
Thanks for the help!
Best regards,
Enrico
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Goog
please look at the below logging.conf file.
http://dpaste.com/hold/113443/
For RotatingFileHandler [handler_rfileHandler] i have hard coded the log
file path as "/home/rama/djangoprojects/doloto/logs/logs.txt"
how to avoid such hard coding of log file path in the logging.conf file.
1) i have tri
Dear all,
I'm using Django 1.0.2 with Oracle 9i, cx_Oracle 5.0, Oracle Instantclient
10.2.0.4 and CentOS 5.2.
When I access the admin page, after login, the following error happens:
*'ascii' codec can't encode characters in position 0-42: ordinal not
in range(128)*
*Unicode error hint*
*The s
Hello,
iam new to django and in the phase of researching django production features.
Iam planing to run django as fcgi behind a thin webserver. Can some point me
out a good read or resource to find more about this topics. Iam specially
interested in the problem about scaling, regarding threadi
Hi,
I'm pretty new to django so please bear with me.
The Server:
lighttpd
python 2.5
django 0.96
The Code:
>>> settings.py
# Cache settings
CACHE_MIDDLEWARE_SECONDS = 5*60
CACHE_BACKEND = 'file:///var/www/data/some_project/tmp/file_cache/?
timeout=300&max_entries=500'
# Middleware
MIDDLEWARE_
On Jan 27, 8:20 pm, David wrote:
> Hello,
>
> iam new to django and in the phase of researching django production features.
> Iam planing to run django as fcgi behind a thin webserver. Can some point me
> out a good read or resource to find more about this topics. Iam specially
> interested in
Rama schrieb:
> please look at the below logging.conf file.
> ...
> can any one guide me on how to avoid hardcoding of log file path ?
>
>
Hi,
I am not a logging expert, maybe there is a solution, but if you
do your setup with python code, you can use e.g. os.environ['HOME'] or
settings.FOO.
On Jan 27, 2009, at 9:28 PM, Thomas Guettler wrote:
>
> Rama schrieb:
>> please look at the below logging.conf file.
>> ...
>> can any one guide me on how to avoid hardcoding of log file path ?
>>
>>
> Hi,
>
> I am not a logging expert, maybe there is a solution, but if you
> do your setup with
Eric,
can you please show me the code snippet of specifying a logfile in
settings.py.
On Jan 27, 6:37 pm, Eric Abrahamsen wrote:
> On Jan 27, 2009, at 9:28 PM, Thomas Guettler wrote:
>
>
>
> > Rama schrieb:
> >> please look at the below logging.conf file.
> >> ...
> >> can any one guide me on h
On Jan 26, 6:21 pm, birkin wrote:
> On Jan 24, 7:08 pm,Almad wrote:
>
> A very simple solution in
> this edge-case of mine is to simply start up an additional terminal
> window and execute the runserver command again
Don't You have a race condition where both servers are trying to bind?
But tha
On Jan 26, 7:28 pm, DragonSlayre wrote:
> Ok, well I reinstalled ubuntu.
>
> It'd still be good to know how to change python versions easily, if
> anybody knows how to do this - it seems like it's not documented
> anywhere :(
A little while back I wrote up how I installed all versions from 2.3
u
I am using a NullBooleanField called bequeath in a form wizard with a
RadioSelect widget with two choices. I would like to place the two
radio buttons in a customised layout in the template but do not know
how.
Currently, I can only layout the buttons next to each other by
writing:
form.bequeath
On Jan 26, 1:19 am, Russell Keith-Magee
wrote:
> On Sun, Jan 25, 2009 at 10:45 PM,Almad wrote:
> > I still feel kinda weird that I must hack around Django so much to
> > make basic testing things working :-]]]
>
> Let's be clear here - the "basic testing" thing that is failing here
> is a very sp
On Jan 27, 3:21 pm, Almad wrote:
> On Jan 26, 1:19 am, Russell Keith-Magee
> wrote:
> i guess PHP users are our target group.
Sorry, that was too bitter, unneccessary, offensive and intended to be
removed by my self-censoring filter.
Almad
--~--~-~--~~~---~--~~
dear list,
i am a noob,
i just starting a project, then create app and add some models,
in the model there is an ImageField,
at the admin area i can't insert record, the browser status is "waiting for
localhost"
is django development server can upload file/image ?
i have completely read model doc
We are a small, rapidly expanding, company near Loughborough in
Leicestershire and are looking for people who are experienced in using
Django to join our development team. You will need to live within
reach of the office. If interested in learning more, send me your CV.
--~--~-~--~~-
djangogigs.com
On Tue, Jan 27, 2009 at 9:27 AM, l...@hiveonline.co.uk <
l...@hiveonline.co.uk> wrote:
>
> We are a small, rapidly expanding, company near Loughborough in
> Leicestershire and are looking for people who are experienced in using
> Django to join our development team. You will need t
On 27 jan, 11:31, Rama wrote:
> please look at the below logging.conf file.http://dpaste.com/hold/113443/
>
> For RotatingFileHandler [handler_rfileHandler] i have hard coded the log
> file path as "/home/rama/djangoprojects/doloto/logs/logs.txt"
> how to avoid such hard coding of log file path
On Jan 27, 2009, at 9:45 PM, Rama Vadakattu wrote:
>
> Eric,
> can you please show me the code snippet of specifying a logfile in
> settings.py.
Sure, here's something I use to keep a separate log of requests to an
RSS feed:
settings.py
###
LOG_FILE = '/path/to/log/file.log'
feeds.py
##
After having a closer look in django, it seems that the
RadioFieldRenderer that renders the radio buttons, renders the entire
set as a single string, therefore it is not possible to split these
fields in the template (using django) - if anyone else is interested!
Thanks anyway.
On Jan 27, 2:19 p
After having a closer look in django, it seems that the
RadioFieldRenderer that renders the radio buttons, renders the entire
set as a single string, therefore it is not possible to split these
fields in the template (using django) - if anyone else is interested!
Thanks anyway.
On Jan 27, 2:19 p
On Tue, Jan 27, 2009 at 5:44 AM, João Olavo Baião de Vasconcelos <
joaool...@gmail.com> wrote:
> Dear all,
>
> I'm using Django 1.0.2 with Oracle 9i, cx_Oracle 5.0, Oracle Instantclient
> 10.2.0.4 and CentOS 5.2.
>
> When I access the admin page, after login, the following error happens:
>
> *'asc
On Jan 26, 4:52 pm, Margie wrote:
> Thanks very much, autoescape did the trick, here is the result for
> anyone interested:
>
> {% autoescape off %}
> {{ task.done|yesno:" \" alt=\"False\" />, \"False\" />" }}
> {% endautoescape %}
>
> Margie
Margie,
Thanks for being
After having a closer look in django, it seems that the
RadioFieldRenderer that renders the radio buttons, renders the entire
set as a single string, therefore it is not possible to split these
fields in the template (using django) - if anyone else is interested!
Thanks anyway.
On Jan 27, 2:19 p
Thanks!
Thanks helps.
On Jan 26, 10:15 pm, Malcolm Tredinnick
wrote:
> On Mon, 2009-01-26 at 19:27 -0800, DrKayBee wrote:
> > Hi,
> > I am creating a small website, where I would like to provide users
> > with a database field (through admin) where they can enter a link to
> > their public googl
Thanks! This method worked fine for me:
from django.http import HttpResponse
from django.template.loader import render_to_string
def render_to_xmlutf8(template, isodata):
rendered = render_to_string(template, isodata)
result = rendered.encode('utf-8')
return HttpResponse(result, mime
there is some hashing function or combination of URL encoding that can do
this :
given some parameters :
'music' 'artist' 32L 2L 100 100
( artist id 32, 2nd picture, dimensions 100 x 100 )
I wish to generate a fake filename eg:
tartan_ba6e5e06e794f1368ed3ec20b4594eec.png
and then be able to r
no problem uploading using the dev server
no idea. you didn't leave a pdb in your code, did you ?
what is the output if any in the shell ?
On Tue, Jan 27, 2009 at 2:58 PM, Akhmat Safrudin
wrote:
>
> dear list,
> i am a noob,
> i just starting a project, then create app and add some models,
>
Hi,
I made several tests using 'django.core.mail' with the 'mail_managers
()' function.
OK when using GMAIL smtp with these settings:
EMAIL_HOST = 'smtp.gmail.com'
EMAIL_PORT = '587'
EMAIL_HOST_USER = 'my.valid.acco...@gmail.com'
EMAIL_HOST_PASSWORD = 'gmail.pwd'
EMAIL_USE_TLS = True
DEFAULT_FRO
On Tue, Jan 27, 2009 at 10:52 AM, funkazio wrote:
>
> Hi,
> I made several tests using 'django.core.mail' with the 'mail_managers
> ()' function.
>
The doc for this function is (around) here:
http://docs.djangoproject.com/en/dev/topics/email/#django.core.mail.mail_admins
Note it says the "From
Using cmemcache .95 I am getting the following errors in the apache
logs:
[fa...@1233073307.022758] mcm_fetch_cmd():1156: memcache(4) protocol
error: protocol, expected a response
[fa...@1233073307.030416] mcm_get_line():1544: memcache(4) protocol
error: no \r before \n
It seems to be occurring
I have made a little progress on the problem I posted about earlier
(http://groups.google.com/group/django-users/browse_thread/
thread/100679d9c298dc52/ffa1564be0c4b276?hl=en&lnk=gst&q=tree
+admin#ffa1564be0c4b276">creating tree inputs in the admin) but am
getting stuck on what i am sure is a very
Hello,
I'm converting PHP pages to Django. I'm using base.html for my
formatting. I've included the left-side bar in the base.html, which
includes links that do not require using a database, such as the
"contact us" page. Since I'm using localhost for testing my link
looks something like this
I am assuming that you already have an idea of how your datastring will look
like, and what data it is containing... I am considering *"music artist 32L
2L 100 100"* as input data
so here is a example...
L1 = "music artist 32L 2L 100 100".encode("hex")
> L2 = zlib.compress(L1)
> L3 = L2.encode("he
Check out:
http://docs.djangoproject.com/en/dev/howto/static-files/?from=olddocs
I have Django serve static files during development so that all my links
that don't need to go thru Django work.
On Tue, 2009-01-27 at 08:42 -0800, May wrote:
> Hello,
>
> I'm converting PHP pages to Django. I'm
Hello,
The tutorial suggests not serving the static pages with this method on
a permanent basis. Are you using this method for your production
server? I'm using windows/apache/modpython and I've tried using the
IP address and still run into django url requests. Do you know of a
way to get apac
I ONLY use it for development with the Django server. I only set up to
serve static pages when DEBUG = True (as they show toward the bottom of
the page).
No need to change links on the production server (apache + mod_python)
because the URLs are a different location than what I have set up for
m
Hello,
I'm having problems using {% ifequal s1 "some text" %} to compare
strings with extended characters in Django templates. When string s1
contains ascii characters >127, I get exceptions in the template
rendering. What am I doing wrong? I'm using UTF-8 coding throughout
the rest of applicatio
On Tue, 2009-01-27 at 08:42 -0800, May wrote:
> I'm converting PHP pages to Django. I'm using base.html for my
> formatting. I've included the left-side bar in the base.html, which
> includes links that do not require using a database, such as the
> "contact us" page. Since I'm using localhos
Sometimes there's nothing like describing a problem to someone else to
help you solve it. :) I should have marked the Python strings as
Unicode like this and everything works now:
def test(request):
return render_to_response("test.html", {
"s1": u"d
Hi everybody there! :-)
I have a decimal field and I wish I could use a comma as a separator
between the integer and the decimal part (according to my country
habit).
How do you think I can manage that?
I found this snippet [0], which seems promising. The thing is, I need
to use that field in m
On Jan 27, 11:06 am, May wrote:
> Hello,
>
> The tutorial suggests not serving the static pages with this method on
> a permanent basis. Are you using this method for your production
> server? I'm using windows/apache/modpython and I've tried using the
> IP address and still run into django url
Hello Adam,
Thanks! I have already set up several sections for the
django site, so I must not have the syntax quite right for apache to
ignore the static links. I will work on it. One last question? What
are eggs?
SetEnv PYTHON_EGG_CACHE /tmp/.python-eggs
Thanks,
Ana
On Ja
Apologies for the daft question, but after 10 mins of trawling through
the official docs and various random google articles, I cannot find
thyis info.
Thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django us
Eggs seems to be something related to python packages, not sure exactly
what they are used for. I needed the PYTHON_EGG_CACHE because my web
server could not write to the default egg cache directory and so I had
it use a temp place.
Perhaps somebody else can better explain eggs.
On Tue, 2009-01
I have duplicated as best I can the processing for handling variables
in custom template tags mentioned in an earlier post but it's not
working for me as I need the value of the variable before I parse it.
Is there another way of making the variable available?
The tag is being called from the tem
You might also check,
You have DEBUG = True in settings.py
And have permissions set on the photo directory
And have something in urls.py file to point to the photo directory
On Jan 27, 1:58 pm, Akhmat Safrudin wrote:
> dear list,
> i am a noob,
> i just starting a project, then create app and ad
-- MODELS -- ( Other, unimportant fields/models have been removed )
class Band(models.Model):
name= models.CharField(max_length = 50, unique = True)
class Venue(models.Model):
name= models.CharField(max_length = 50)
class Event(mod
On Tue, Jan 27, 2009 at 12:53 PM, Karen Tracey wrote:
> Don't use cx_Oracle 5.0, use a 4.X version. The docs were recently changed
> to specify that, after investigation into
> http://code.djangoproject.com/ticket/9935 revealed the problem is due to a
> bug in cx_Oracle 5.0.
>
Thanks, Karen. It
Thanks!
Ana
On Jan 27, 9:51 am, Adam Stein wrote:
> Eggs seems to be something related to python packages, not sure exactly
> what they are used for. I needed the PYTHON_EGG_CACHE because my web
> server could not write to the default egg cache directory and so I had
> it use a temp place.
>
>
On Mon Jan 26 17:51 , DragonSlayre sent:
>
>
>
>On Jan 27, 1:41 pm, sha...@speakeasy.net> wrote:
>
>> Does this help? Found via google and ubuntu
forums.https://launchpad.net/~doko/+archive
>>
>> Sorry, I run Debian (which ubuntu is based on), I just apt-get install all
>> of the
>> available
Hi!
I want to add a profile to every user, that I can register in my
application. In future it should contain such fields as avatar, email,
about_me fields
I found a snippet how to extend django User model:
http://www.b-list.org/weblog/2006/jun/06/django-tips-extending-user-model/
But when added
Os my bug. It was a mistype in a model. Exception gone now
On Tue, Jan 27, 2009 at 8:43 PM, Oleg Oltar wrote:
> Hi!
> I want to add a profile to every user, that I can register in my
> application. In future it should contain such fields as avatar, email,
> about_me fields
>
> I found a snip
On Jan 28, 2009, at 1:52 AM, phoebebright wrote:
>
> I have duplicated as best I can the processing for handling variables
> in custom template tags mentioned in an earlier post but it's not
> working for me as I need the value of the variable before I parse it.
> Is there another way of making
I had been looking through that documentation already, but it's
certainly possible I missed something. I'll give it another look.
Thanks for the help guys :)
On Jan 23, 5:10 pm, Brian Neal wrote:
> On Jan 23, 2:43 pm,oboedude wrote:
> [...]
>
> > How do I create a custom widget and what do I hav
>
>On Mon Jan 26 17:51 , DragonSlayre sent:
>
>>
>>
>>
>>On Jan 27, 1:41 pm, sha...@speakeasy.net> wrote:
>>
>>> Does this help? Found via google and ubuntu
>forums.https://launchpad.net/~doko/+archive
>>>
>>> Sorry, I run Debian (which ubuntu is based on), I just apt-get install all
>>> of the
Anybody done anything like:
a) using the django admin change_list filters directly in custom views
and templates outside of admin?
or
b) created something *like* the admin change_list filters for use in
custom views and templates outside of admin?
or
c) got any tips on the simplest way one could d
Hello,
I'm playing around with the contrib.comments framework. I want to
change the preview form. For that I've copied preview.html to xgm/Blog/
templates/comments (xgm is my project, Blog is app). My template
loaders are:
TEMPLATE_LOADERS = (
'django.template.loaders.app_directories.l
Hi community --
All my models have some common fields, say "created_date" and
"last_modified_date". However, for various reasons not important here,
we have some naming conventions on column names: we like them to have
a prefix that pertains to the entity itself, so that the Account model
has db_
Thanks for the answer, I was already getting worried about my
'session' way. No caching for know although it doesn't seem difficult
to implement. And yes the way you do it would have that advantage, but
mine has beautiful urls!! ^^
thanks again,
Tim DG
--~--~-~--~~~---
On Tue, Jan 27, 2009 at 6:42 PM, JonUK wrote:
>
> Apologies for the daft question, but after 10 mins of trawling through
> the official docs and various random google articles, I cannot find
> thyis info.
django.forms.widgets
--~--~-~--~~~---~--~~
You received th
I am not very sure, whether this posting will be attributed to
sendmail or any other mailing software when compared to Django. I am
using Django 1.0.2. And I have requirement like, each user of the site
will be mailing any other guy and I have rules for that communication
(let them aside for now).
Madhav,
You need to configure this in your mail server.
On Wed, Jan 28, 2009 at 1:17 AM, madhav wrote:
>
> I am not very sure, whether this posting will be attributed to
> sendmail or any other mailing software when compared to Django. I am
> using Django 1.0.2. And I have requirement like, e
I'm trying to decorate a view function with login_required. I want
the user to be redirected to the current view after they log in.
I'm trying:
@login_required(redirect_field_name=request.path)
def myview(request, comment_id):
return render_to
but, I'm getting a "NameError: name 'reque
On Tue, Jan 27, 2009 at 3:42 PM, JonUK wrote:
>
> Apologies for the daft question, but after 10 mins of trawling through
> the official docs and various random google articles, I cannot find
> thyis info.
I found it by clicking ion "the Module Index" link in the main
documentation page,
which to
On Tue, Jan 27, 2009 at 2:00 PM, bobhaugen wrote:
>
> Anybody done anything like:
> a) using the django admin change_list filters directly in custom views
> and templates outside of admin?
> or
> b) created something *like* the admin change_list filters for use in
> custom views and templates out
Hi,
I'm seeing occasionally bug that is causing an infinite loop. What is
the best way to debug these in production environment? I was thinking
that why there is no built-in simple profiler in Django, just for
example to log how much time it takes to e.g. render each view?
--~--~-~--~---
Thanks Waylan -
http://achinghead.com/archive/83/installing-multiple-versions-python/
is just what I needed.
Thanks Shaleh,
I appreciate the detailed explanation :)
Yes - the shell is something that I have to get more familiar with -
I've only really recently started using ubuntu for developme
I just figured it out.
Instead of using a decorator, I just used this:
def myview(request, comment_id):
...if not request.user.is_authenticated():
..return HttpResponseRedirect('/login/?next=%s') % request.path
On Jan 27, 11:57 am, Jonathan Nelson wrote:
> I'm trying to decorate a view func
On Tue, Jan 27, 2009 at 2:57 PM, Jonathan Nelson wrote:
>
> I'm trying to decorate a view function with login_required. I want
> the user to be redirected to the current view after they log in.
>
> I'm trying:
>
> @login_required(redirect_field_name=request.path)
> def myview(request, comment_id
Hi there,
my users keep several browser windows open in my application, I need
to keep session information for all these windows separate. But I have
only one session object - modifying it while the user works in window
A and window B in parallel might get me in trouble if Request A and
Request B
phoebebright wrote:
> You might also check,
> You have DEBUG = True in settings.py
> And have permissions set on the photo directory
> And have something in urls.py file to point to the photo directory
0. DEBUG was true,
1. to ensure directory is writable, its set to 777,
3. is it some think like
felix wrote:
> no problem uploading using the dev server
>
> no idea. you didn't leave a pdb in your code, did you ?
>
> what is the output if any in the shell ?
i point the url in the browser to http://localhost:8000/admin/
how to debug with pdb in admin area ?
somat.
--
Stay Hungry Stay Fool
On Tue, Jan 27, 2009 at 5:12 AM, Malcolm Tredinnick
wrote:
>
> On Tue, 2009-01-27 at 00:11 +0100, Alex Rades wrote:
>> Hi,
>> I need to have two sets of users in my application: One is the Person
>> and the other is the Company. So, I have to decide between going with
>> the userprofile way or in
On Tue, Jan 27, 2009 at 3:25 PM, Jonathan Nelson wrote:
>
> I just figured it out.
>
> Instead of using a decorator, I just used this:
> def myview(request, comment_id):
> ...if not request.user.is_authenticated():
> ..return HttpResponseRedirect('/login/?next=%s') % request.path
>
This is wh
Hi!
I am trying to create few nose test for my application.
I need to test registration/login, so want to create a test sqlite3
database, and pre-populate it with some data.
No sure how to do it.
I created a setup method:
def setup():
setup_test_environment()
create_test_db()
But getting
I am running a python process separate from my actual Django web
server to do background processing. Since I need database access and I
like using Django's models, I call
django.core.management.setup_environ at the start of my background
process.
I am now trying to fork the process using the proc
Check out http://docs.python.org/library/logging.html for logging.
There's also some Django logging middleware floating around that might
be useful -- just Google for it.
On Jan 27, 11:45 am, defone wrote:
> Hi,
>
> I'm seeing occasionally bug that is causing an infinite loop. What is
> the best
On Tue, Jan 27, 2009 at 3:51 PM, Oleg Oltar wrote:
> Hi!
> I am trying to create few nose test for my application.
> I need to test registration/login, so want to create a test sqlite3
> database, and pre-populate it with some data.
> No sure how to do it.
>
> I created a setup method:
> def setu
I have model that represents a file, and has a FileField, that I am
rendering via an Inline Formset. When a user fills in the form it gets
saved with no problems.
However, I want the users to be able to continue editing the file, but
when I re-display the newly created object, the data for the Fil
ah, danke dir !
that's exactly what I was looking for
full encodings here:
http://docs.python.org/library/codecs.html#standard-encodings
actually I guess in this case I would have a series of numbers;
[ content_type_id, object_id, index, width, height ]
rather than a string. I can figure that
on my dev server (laptop) I serve the MEDIA_ROOT through the normal apache
localhost.
I do not get django to serve them.
ie I do not do this at all:
urlpatterns += patterns('',
(r'^site-media/(?P.*)$', 'django.views.static.serve',
{'document_root': settings.MEDIA_ROOT}),
)
Thanks guys, it was staring me in the face but I didn't get it until
the 4th or 5th re-read!
Creating links in the list display with allow_tags is a great feature.
Paddy
On Jan 27, 5:42 pm, Malcolm Tredinnick
wrote:
> On Mon, 2009-01-26 at 21:51 -0800, Paddy Joy wrote:
> > The admin interface
felix wrote:
>
> on my dev server (laptop) I serve the MEDIA_ROOT through the normal
> apache localhost.
> I do not get django to serve them.
>
ok, thank's for your attention,
the problem is solved,
i don't know how it solved,
but with deleting table from database,
than create it again with pytho
Hi,
I have a model that includes:
from datetime import date as pydate, datetime
date = models.DateField()
I've overridden delete to do:
def delete(self):
...
if self.date < pydate.today():
Notification.process(None, self, 'Event deleted')
and that works fine
If I
I have a client that maintains several hundred small web sites
running on dozens of different machines all over the world. These
sites have common data (footers, privacy policy pages, etc.) he would
like to manage through a single CMS. Currently, he uploads all the
changes manually using F
mvtango writes:
> my users keep several browser windows open in my application, I need
> to keep session information for all these windows separate. But I have
> only one session object - modifying it while the user works in window
> A and window B in parallel might get me in trouble if Request
P.S ,,, Never use index in name generation, or you will run out of range one
day ;) think of that nightmare in advance... i can only wish further
schlaf süß,
grüß
Puneet
On Tue, Jan 27, 2009 at 10:25 PM, felix wrote:
>
> ah, danke dir !
>
> that's exactly what I was looking for
>
> full encoding
Margie wrote:
> Thanks very much, autoescape did the trick, here is the result for
> anyone interested:
>
> {% autoescape off %}
> {{ task.done|yesno:" \" alt=\"False\" />, \"False\" />" }}
> {% endautoescape %}
>
Neat, but I think you need to correct your first alt stri
I am trying to write a model for which the data can be represented as
a simple array of a fixed number of one byte integers. To use a
SQL database for that would be very much overkill. I would simply use
a file where I can seek to the index position and read or write that
byte.
While this in it
On Jan 27, 4:52 pm, Matthias Julius wrote:
> mvtango writes:
> > my users keep several browser windows open in my application, I need
> > to keep session information for all these windows separate. But I have
> > only one session object - modifying it while the user works in window
> > A and w
Hi!
I'm planing to add an article list to my application. The idea is to show
every article stored in the database but in a truncated way.
So I used the following template tags to produce the list
{% autoescape off %}
{% for article in list_of_articles %}
{{article.title}}
{{article.bod
On Tue Jan 27 12:12 , DragonSlayre sent:
>
>Thanks Waylan -
http://achinghead.com/archive/83/installing-multiple-versions-python/
>is just what I needed.
>
>Thanks Shaleh,
>
>I appreciate the detailed explanation :)
>Yes - the shell is something that I have to get more familiar with -
>I've o
On Jan 27, 9:11 pm, "Rodrigo C." wrote:
> I have model that represents a file, and has a FileField, that I am
> rendering via an Inline Formset. When a user fills in the form it gets
> saved with no problems.
> However, I want the users to be able to continue editing the file, but
> when I re-dis
great - 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
django-users+unsu
1 - 100 of 137 matches
Mail list logo