On 11/1/06, Keith Mallory <[EMAIL PROTECTED]> wrote:
> How do I integrate a chat application in Django?
What chat application are you using that you want to "integrate"? What
exactly do you mean by "integrate"? Do you mean you want to rewrite an
existing application with Django? Do you mean you
Hi Benjamin,
http://www.gypsyjobs.com/ - is a forum setup by Django contributor Ian
Holsman, for django related jobs
and there is also -
http://code.djangoproject.com/wiki/DevelopersForHire
On Nov 1, 5:33 pm, Benjamin Ward <[EMAIL PROTECTED]> wrote:
> Hey good people,
>
> I'm wondering where i
On 01-Nov-06, at 10:03 AM, programguru wrote:
> ImportError: No module named MYSITE
why is it asking for caps? is it mysite or MYSITE?
--
regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpline.in/web/
--~--~-~--~~~---~--~~
You received this
Hi,How do I integrate a chat application in Django? Has anyone already integrated a chat application?Is there any Ajax toolkit which can be integrated easily?ThanksKeith
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Hey good people,
I'm wondering where i should post a Job availability? Is there a site
that could be recommended?
I'm wanting to find some talented Django developers to work on a site
i'm building. It's a new site for the Record Label i work for - quite
a big scope. I've managed to
On 10/31/06, Jeremy Dunck <[EMAIL PROTECTED]> wrote:
> I'm not sure how python on windows handles imports, since the native
> file system isn't case-sensitive, but try making MYSITE lowercase;
> python is case-sensitive.
The importing behavior on Windows and other case-insensitive
filesystems is
On 10/31/06, programguru <[EMAIL PROTECTED]> wrote:
...
> Directory of C:\MYDJANGO\MYSITE
...
> project_module = __import__(project_name, '', '', [''])
> ImportError: No module named MYSITE
> --
I'm not sure how python on windows handles imports, since the native
file system isn't
#ive installed django on windows with the combination of several tutorials
and intstructs, and i am beggining lose all #will to eat, sleep, or do
anything else until i can resolve this.
#I simply did this: django-admin.py startproject mysite
#AND all was fine as these files were created:
> > I'm probably just not seeing it, but how do I go about getting the
> > index of an item in a query set? I.E., this article is the Xth article
> > in this queryset of articles sorted by date.
>
> If you're looping through them in the template with the 'for' tag,
> each time through the loop
On Tue, 2006-31-10 at 20:19 -0600, James Bennett wrote:
> On 10/31/06, iain duncan <[EMAIL PROTECTED]> wrote:
> > I would like to change the template ( or change behaviour ) for the
> > change list view, but only for one model. Can anyone tell me how one
> > could find out in the template which
On 11/1/06, shidan <[EMAIL PROTECTED]> wrote:
>
> Hi how can I get a Users password after it has been hashed. Reseting it
> is not
> good enough due to the nature of the application and how it integrates
> with the
> rest of the system
You can't. Non-reversibility is the entire purpose of a
On 10/31/06, shidan <[EMAIL PROTECTED]> wrote:
> Hi how can I get a Users password after it has been hashed.
The salted hash process Django uses is (deliberately, for security
purposes) a one-way procedure, so it's not possible to recover the
original password later.
--
"May the forces of evil
> When Django renders the list, it looks for the following templates, in
> order, and uses the first one it finds:
>
> admin/appname/modelname/change_list.html
> admin/appname/change_list.html
> admin/change_list.html
>
> Where 'appname' and 'modelname' are the names of the application and
>
Hi how can I get a Users password after it has been hashed. Reseting it
is not
good enough due to the nature of the application and how it integrates
with the
rest of the system
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
On Tue, 2006-31-10 at 20:19 -0600, James Bennett wrote:
> On 10/31/06, iain duncan <[EMAIL PROTECTED]> wrote:
> > I would like to change the template ( or change behaviour ) for the
> > change list view, but only for one model. Can anyone tell me how one
> > could find out in the template which
On 10/31/06, iain duncan <[EMAIL PROTECTED]> wrote:
> I would like to change the template ( or change behaviour ) for the
> change list view, but only for one model. Can anyone tell me how one
> could find out in the template which model we are representing? Or
> alternately, where in the admin
I would like to change the template ( or change behaviour ) for the
change list view, but only for one model. Can anyone tell me how one
could find out in the template which model we are representing? Or
alternately, where in the admin code one might add extra variables to
render to the template?
Hey guys,
I just need a little guidance here as I'm not all that awesome with
servers. I'm currently being hosted on grokthis.net and a short while
after I received my account information I've been trying to get a quick
site up so that I can start making something significant
they've set it up
Hi,Yeah, it could be really useful if you want to build a your standard enterprise GUI database front-end, for example. Just discard the view and template layers, and use models to simplify interacting with the database. Django is so nicely decoupled that you can just as easily use the model layer
What is the format for __id in filters?
Does this code look correct (assuming characterDefinition is a member
of GameElement):
game.gameelement_set.filter(characterDefinition__id = characterId)
Note the two underscores. Also, I'm assuming gameElement_set gets
changed to lower-case
Howdy folks,
I just ran across the problem mentioned in this older thread:
http://groups.google.com/group/django-users/browse_thread/thread/2d1dc42cea162c4b/
The issue is exactly as stated there and in my own subject line -
deletion of related objects, via
On 10/31/06, Vortexmind <[EMAIL PROTECTED]> wrote:
>
> Hi all
> I am currently developing a rather large data model, and I need to use
> Many-to-Many with Intermediate Table (as I need to stick some
> attributes within the association). I try to explain with the Django
> example about this issue:
On 10/31/06, Rob Hudson <[EMAIL PROTECTED]> wrote:
> When I send a GET request, I do get the right header:
>
> X-Object-Type: blog.post
> X-Object-Id: 1
>
> (Wait, those are actually two different things in two different places
> in Django. Hmmm...)
Ah, it wasn't clear to me which X-
hi,
try something like the following:
> {% if latest_posts %}
> {% for post in latest_posts %}
>
> {{ post.title }}
>
> publié le {{
> post.pub_date|date:"l d F Y à
Hi folks, I would like to add a custom form button to the admin
interface somehow and am not sure how to go about it.
I want to add a "download now" button the list view for some file
entries, so it needs to be a link to file. Any idea how this should be
done?
Thanks
Iain
Hello,
I'm testing django with a blog and I have the following issue :
I have the following model :
class Post(models.Model):
author = models.ForeignKey(User)
title = models.CharField(maxlength=50)
summary = models.TextField(blank=True)
message = models.TextField()
category
On review, I guess the latter doesn't actually work. So, please
ignore. We have things running now!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to
Well... I'm not sure you need to mimic anything.
Let's take an example:
class Friend(models.Model):
name = models.CharField(maxlength=79)
Now suppose I do a function like this:
def names():
for friend in Friend.objects.all():
print friend.name
if '__main__'==__name__:
Jeremy Dunck wrote:
> It has to be a HEAD request.
When I send a HEAD request to the one that was working, now it returns
this header (which looks like a bug, and probably relates to ticket
1840 (http://code.djangoproject.com/ticket/1840) which looks
complicated:
X-View:
I think the tricky part is what Guillermo is saying. All views take a
request object and return a response object. You'd have something that
would have to mimic HTTP requests and work with HTTP responses. At
that point it seems like you should just create your MVC pattern-based
app using an
Yay!
It worked with:
SetEnv DJANGO_SETTINGS_MODULE ce.settings
PythonPath "['/var/www/closed'] + sys.path"
Now, we have another question. It also worked with:
SetEnv DJANGO_SETTINGS_MODULE settings
PythonPath "['/var/www/closed/ce'] + sys.path"
Is there any reason why we wouldn't want to go
It's something I've often though about.
I've used databases in many projects, both web and not-web based. And
I am now sure that Django would have been a great help in those
non-web applications as well.
The problem would then be to strip Django of all those web-specific
libraries it's bundled
This is a huge religious debate that's probably not suited for this list.
I'd suggest reading the numerous topics available about this across the
net. Usually the best threads are in database specific lists, like
lists.mysql.com
In those lists database admins usually jump in and speak their
I'm going to work a small photo managment app for an LAN site here, and
I wanted to hear some opinions.
>From what I've seen people tend to store images outside the db and just
keep their location field to grab em.
What are the advantages/disadvantages of doing so? That way the httpd
gets to
Django is called "The Web framework . ."
Does django also make sense for non-web apps?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to
I found out that I needed to change the query set to a list, then I
could append new data to the end and return this. The following is the
ammeded inclusion tag.
@register.inclusion_tag('cashtransfer.html')
def show_cash_transfer(username):
balance=[]
x=0
y=0
On 10/31/06, sansmojo <[EMAIL PROTECTED]> wrote:
>
> Hello all! My server admin has set up an apache/mod_python server for
> me, but we keep getting the following error:
> http://paste.e-scribe.com/2490/
>
> Our apache config is here: http://paste.e-scribe.com/2491/
>
You probably only need to
Joe,
My orginal code (see the inclusion tag below ) was returning a Query
Set and an interable list. I can't understand how I can loop through
the Query set and append the data to the end - as there is no matching
attribute in the Query set.
I am looking to return a query set and build a
yary wrote:
> Do you have an example of any project in the wild, using the django
> admin, with a field "null=True, blank=False, editable=True"? I'm
> curious to know the use of such a beast in an actual implementation.
to clarify,I do think it is useful to have "null=True, blank=False,
This is one of those things that just isn't exceptionally straightfoward to accomplish.From within a template, and without extensions, I can't think of how you would do that immediately. It sounds like you have a relatively simple set of data, so I'd recommend instead on "tweaking" the data you
Maybe the bug is in KarmaScoreManager.vote():
karma = self.get(content_type=content_type,object_id=object_id)
might need to be:
karma = self.get(content_type__pk=content_type,object_id=object_id,
user__pk=user_id)
otherwise, you'll get a set of karma votes for a given object, instead
of the vote
Hi all
I am currently developing a rather large data model, and I need to use
Many-to-Many with Intermediate Table (as I need to stick some
attributes within the association). I try to explain with the Django
example about this issue:
from django.db import models
class Reporter(models.Model):
James Bennett wrote:
> On 10/25/06, yary <[EMAIL PROTECTED]> wrote:
> > Seems that if someone says a field can be null, that implies the admin
> > interface should let it be null.
>
> I really, really, really don't like having a system assume that one
> thing I've done "implies" another thing it
Hi everyone,
The cool Manipulator feature in Django did save me lots of time while
developing forms, cheers for developers who wrote it first:-)
But as a CSS-aholic web developer, I find that I can not define or
modify form elements' attributes such as "id", "class", "style"
generated by default
Hi
I was wondering about this. Is it possible to apply filters in prebuilt
admin application so that we can filter out the contents of the select
boxes from foreign keys, using a criteria defined by the user (a
text-pattern based match should be sufficient)?
Example
class Airplane(...)
name
Hi,
I am using OneToOneField to simulate model inheritance. I have all the
shared fields in a base model, and then for every specific case I have
a derived model that has a OneToOneField to that base model. That was
all working fine.
Recently I was trying to encapsulate some of the
Hey all!
I want to spawn a thread when Apache starts that will do some stuff in
the background. The thread will need to access the Django data model.
I'd really like the solution to work with the development environment
too (non-apache).
I was thinking about just using a singleton during a
Hi guys, I try it to do a break on a for loop (django template).
For example, iterates until find a element. How can I make it?
thanks.-
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To
On 10/31/06, Henhiskan <[EMAIL PROTECTED]> wrote:
> Hi guys, I try it to do a break on a for loop (django template).
> For example, iterates until find a element. How can I make it?
This really feels more like something that would belong in the view;
if you want a particular list or dictionary
Hi all,
I'm probably just not seeing it, but how do I go about getting the
index of an item in a query set? I.E., this article is the Xth article
in this queryset of articles sorted by date.
Thanks,
Sam
--~--~-~--~~~---~--~~
You received this message because
On 10/31/06, samuel <[EMAIL PROTECTED]> wrote:
> I'm probably just not seeing it, but how do I go about getting the
> index of an item in a query set? I.E., this article is the Xth article
> in this queryset of articles sorted by date.
If you're looping through them in the template with the
Is it nescessary to use runserver with the same Django version or is it
possible to mix them?
I use Django 0.91 and I somehow mixed Django with a runserver (
probably version 0.95 and 0.90 or 0.91) and now runserver reloads
without any good reason.
Thank you for help
L.
if you´re talking about the admin-interface, the one thing I can
think of is:
copy change_form.html and use a js-framework (e.g. jquery):
1. on change dynamic-field-1 do ajax
2. get xml response
3. populate dynamic-field-2
patrick
Am 31.10.2006 um 12:41 schrieb MerMer:
>
> Is it possible to
On 31/10/06, Enoch <[EMAIL PROTECTED]> wrote:
>
> Hi
>
> I have used Django for 2 months, and I really enjoy the rich features
> of django framework. Now I have a question and hope I can get help
> here.
>
> I'd like to write my own Models Field which likes EmailField, FileField
> integrated with
Am Dienstag, 31. Oktober 2006 15:20 schrieb Dirk Eschler:
> In this case i would expect a TemplateSyntaxError. Since you don't get one,
> i suppose it is loaded.
>
> I tried to reproduce your error: i get empty captcha_* values when my
> captcha/urls.py is wrong. Judging from the code you have
Guillermo Fernandez Castellanos wrote:
> Hi,
>
> Just guessing, but if I understood well the error you get, that's normal.
>
> The KarmaScoreManager is not the amount of karma of a coment (or in
> your case an object). It keeps in the database the karma score that a
> given user gave to a
Many thanks, Rajesh. I'll take a look.
MerMer
--~--~-~--~~~---~--~~
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
Hello Dirk Eschler!
On Tue, 31 Oct 2006 15:32:03 +0100 you wrote:
> > urlpatterns = patterns('anastas.apps.captcha.views',
> > (r'^i/$', 'image'),
> > (r'^json/$', 'json'),
> > )
This is like mine.
> Uh wait, only the image is broken in this case.
>
> Another thing to check, does
Am Dienstag, 31. Oktober 2006 14:24 schrieb Grigory Fateyev:
> Hello Aidas Bendoraitis!
>
> On Tue, 31 Oct 2006 12:11:00 +0100 you wrote:
> > Maybe your captcha template tag is not loaded? Did you put it in the
> > right place?
>
> Thanks for replay!
>
> I am sure templsate is in the right place:
Hello Aidas Bendoraitis!
On Tue, 31 Oct 2006 12:11:00 +0100 you wrote:
> Maybe your captcha template tag is not loaded? Did you put it in the
> right place?
Thanks for replay!
I am sure templsate is in the right place:
anastas/
apps/
captcha/
templatetags/
Hi
I have used Django for 2 months, and I really enjoy the rich features
of django framework. Now I have a question and hope I can get help
here.
I'd like to write my own Models Field which likes EmailField, FileField
integrated with Django. I read all the Models related documents but
didn't
wow thanks...that's it!
Thanks for your answer and the link to the doc.
I totally surveyed this part of the documentation. (sorry)
In the moment i am in the university. I will try your trick immediately
i arrived my job.
cu
Rafael
--~--~-~--~~~---~--~~
You
Maybe your captcha template tag is not loaded? Did you put it in the
right place?
Regards,
Aidas Bendoraitis aka Archatas
On 10/31/06, Grigory Fateyev <[EMAIL PROTECTED]> wrote:
>
> Hello Grigory Fateyev!
> On Mon, 30 Oct 2006 21:30:01 +0300 you wrote:
>
> > Why it can be, and how to fix it?
>
On 31/10/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> in the last time i use django to create a gui for the internet. and it
> works fine.
> I have a lot of m2m relations. and they really work great.
> But there are one problem:
>
> In a custom manipulator:
>
> class
Hello,
in the last time i use django to create a gui for the internet. and it
works fine.
I have a lot of m2m relations. and they really work great.
But there are one problem:
In a custom manipulator:
class AddRelationManipulator(forms.Manipulator):
def __init__(self):
self.fields
Hello Grigory Fateyev!
On Mon, 30 Oct 2006 21:30:01 +0300 you wrote:
> Why it can be, and how to fix it?
Please, any suggestions?
--
Всего наилучшего! Григорий
greg [at] anastasia [dot] ru
Письмо отправлено: 2006/10/31 13:06
--~--~-~--~~~---~--~~
You received
66 matches
Mail list logo