I dont see any problem with Django Site...
El lun, 13-11-2006 a las 21:40 -0500, Gabriel Puliatti escribió:
> Is the Django site down?
>
> I've been getting a (145) Connection timed out for a while now.
>
--
http://igordevlog.blogspot.com/
--~--~-~--~~~---~--~
Is the Django site down?
I've been getting a (145) Connection timed out for a while now.
--
The Public is merely a multiplied "me."
-- Mark Twain
Gabriel Puliatti
[EMAIL PROTECTED]
predius.org
--~--~-~--~~~---~--~~
You received this message bec
On Nov 13, 2006, at 4:06 PM, Rob Hudson wrote:
>
> I'm building a rating system using AJAX (well, maybe AJAJ?) in Django.
> I've got it working and am doing some clean up and validation work. A
> few questions:
>
> 1. If a request is invalid, what is the appropriate or common thing to
> do? Send
On Mon, 13 Nov 2006 19:04:19 -0600, Jeremy Dunck wrote:
> On 11/13/06, Patrick <[EMAIL PROTECTED]> wrote:
>> I'd appreciate your informative answers and am
>> looking forward to getting familiar with this part of the framework.
>
> Can you show the code that's storing the cached info? There are
Good read, nice to see that there isn't a clear bias. A few thoughts:1) First glimpse in to the Rails code and I've found a breakpoint (ReadersController.edit), that and the lack of image uploading functionality makes me question competence of the Rails developer.
The remaining are preference, a lo
On 11/13/06, Patrick <[EMAIL PROTECTED]> wrote:
> I'd appreciate your informative answers and am
> looking forward to getting familiar with this part of the framework.
Can you show the code that's storing the cached info? There are
several ways to get data into and out of the cache (all document
Greetings fellow Djangonauts,
Later this year, at the Open Source Developer's Conference in
Melbourne, Australia, Ben Askins and I will be presenting a paper
comparing Rails and Django.
The paper is currently available on Google docs:
http://docs.google.com/View?docid=dcn8282p_1hg4sr9
Prior to
On 11/14/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> the models file has a slew of fields in it (for the columns in the
> database). Just wondering if the other fields can't be null.
Correct (unless your model defines the fields as blank=True,
null=True, which makes them completely opti
I'm trying to implement caching and for now decided to use MySQL cache
table.
I have a view that renders_to_response an object_list built from querying a
3rd party storage system (xml database). The object_list items depend
on the value of 'request.session.LANGUAGE_CODE' variable. The cache table
I'm building a rating system using AJAX (well, maybe AJAJ?) in Django.
I've got it working and am doing some clean up and validation work. A
few questions:
1. If a request is invalid, what is the appropriate or common thing to
do? Send a JSON error message? Send a 404? Something else?
2. Usi
doubtintom, It's Incredible how we do pretty the same things at the same time !
I can only add that I've tried to override (like a blind in the dark...) also:
-get_result
-get_ordering
from the main View (ChangeList), nothing happen and of course the
behaviour is the same.
I know It's not a good
Alright, I swore to myself that I would learn django, so here I
am...learning!
Anyways, I have run into another problem. I'm trying to make a form
that allows a user to submit information. The only problem is that
whenever I try to submit anything, it always comes back as saying
"Please correc
Jean-Luc wrote:
> igor Guerrero a écrit :
>
>> Django dont serve media files, that is the job of the production server
>> but if yo are using the development server: you can try this:
>>
>> http://www.djangoproject.com/documentation/static_files/
Based on above doc, I had same trouble as you Je
Hi Picio, Luke and anyone else interested in challenging Django
problems like this,
For those new to this thread, Picio and I independently tried using
this recipe:
http://code.djangoproject.com/wiki/CookBookThreadlocalsAndUser
to create model managers that only permit a logged in user to see and
Tom Smith wrote:
> So.. when doing a ps -ux I get...
>
> tomsmith 22106 0.0 0.0 6836 8 ?? SN Thu11AM 0:03.42 [python]
> tomsmith 22107 0.0 0.0 14772 8 ?? SN Thu11AM 0:06.32 [python]
> tomsmit h 22108 0.0 0.0 15352 8 ?? SN Thu11AM 0:04.84 [python]
> tomsmith 23
Merric Mercer wrote:
> I'm still a little uncertain of how to put a wrapper around a generic
> view. Given the following code below how does one handle pagination and
> other
> work that generic views does automatically.
>
> from django.views.generic.list_detail import object_list
>
> def gen
actually, I came across this link that did the trick...
http://groups.google.com/group/django-users/browse_thread/thread/b958a059b6dca44e/67cc4c2f05719a65?lnk=gst&q=datetimeshortcuts&rnum=6#67cc4c2f05719a65
thanks!
--~--~-~--~~~---~--~~
You received this mess
Win cash Rs.5,000. Guaranteed real players, real winners. Free
registration!
http://surl.in/HLDDT238206SVRAKSX
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email
On Mon, Nov 13, 2006 at 08:09:31PM -, yary wrote:
>
> You can set up your main site urls.py to read something like:
>
> urlpatterns = patterns('',
> (r'^app1/', include('app1.urls')) # Pass to app1
> (r'^app2/', include('app2.urls')) # Pass to app2
> )
>
> and within app1, have a
DeWitt wrote:
> This is great. I'm happy to see an RPM produced by a devoted
> maintainer.
>
> Is there any reason not to automate the RPM build and host it on the
> official django website? Since it is a .noarch it shouldn't be that
Well, the rpm build is reasonably automated in the sense tha
Umm guys,
I think I'm being a bit dense this evening...
I'm attempting to build set of template tags for some widget framework.
The current way it works is:
{% use_widget [pythonic path to widget] [args if required]%} tag loads
a module/class. The class does it's magic, and and sets a load of
This is great. I'm happy to see an RPM produced by a devoted
maintainer.
Is there any reason not to automate the RPM build and host it on the
official django website? Since it is a .noarch it shouldn't be that
difficult, correct? And bonus points if someone creates a yum or apt
repository for
You can set up your main site urls.py to read something like:
urlpatterns = patterns('',
(r'^app1/', include('app1.urls')) # Pass to app1
(r'^app2/', include('app2.urls')) # Pass to app2
)
and within app1, have a urls.py like this:
urlpatterns = patterns('',
(r'^view/(?P\d+)', 'vi
igor Guerrero a écrit :
> Django dont serve media files, that is the job of the production server but
> if yo are using the development server: you can try this:
>
> http://www.djangoproject.com/documentation/static_files/
>
> On 11/13/06, Jean-Luc <[EMAIL PROTECTED]> wrote:
> >
> >
> > Jay Parla
Thank you for the reponse.
I tried that before, but I continue to get an error message...
DateTimeShortcuts.calendars[num].drawCurrent is not a function
I have this at the top of my code.
and this in the middle of the web page.
Today's Date: {{
form.todayDate_date}} {{ f
Django dont serve media files, that is the job of the production server but if yo are using the development server: you can try this:http://www.djangoproject.com/documentation/static_files/
On 11/13/06, Jean-Luc <[EMAIL PROTECTED]> wrote:
Jay Parlar a écrit :> On 11/13/06, Jean-Luc <[EMAIL PROTECTE
DeWitt wrote:
> Great, this looks like it would work. Thanks so much!
>
> I'd also like to see if we can get the bdist_rpm solution to work. I'd
> be happier if the django distribution itself is responsible for
> generating the .spec file, insofar as I trust the django maintainers
> more than I
Check this:
http://www.djangoproject.com/documentation/forms/#c1576
I had the same error a few weeks ago :-)
Hope it helps,
G
On 11/13/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Hi!
>
> I have "models.DateTimeField defined in my model as "date_today".
>
> date_today
Great, this looks like it would work. Thanks so much!
I'd also like to see if we can get the bdist_rpm solution to work. I'd
be happier if the django distribution itself is responsible for
generating the .spec file, insofar as I trust the django maintainers
more than I trust myself to keep one
soundseeker a écrit :
> Hello,
> if there is a method definition in the models.py like this:
>
> class TMergeDoc(models.Model):
>
> def by_categories(self):
> from django.db import connection
> ...
> return objects
>
> what is the correspondi
This is what I have now, that is
-my code
-the two answers I got from the creator of our "Admin Hack Code" Luke.
I think we havo do a strict comparison between our and It's code.
My Django version is 0.95 official.
Hope this helps.
Picio
My Code:
http://paste.e-scribe.com/hold/2728/
I Answer
T
Jay Parlar a écrit :
> On 11/13/06, Jean-Luc <[EMAIL PROTECTED]> wrote:
> >
> > hi Django folks
> >
> > newbie question, style sheet not found
> >
> > my base.html
> >
> >
> >> type="text/css" media="screen"/>
>
> That's your problem right there, you have the 'media' folder as a
> relativ
DeWitt wrote:
> Hi,
>
> I am wondering if anyone has successfully used "setup.py bdist_rpm" to
> create a Django RPM.
>
> I have tried using both the 0.95 release and the SVN head release, but
> in both cases the RPM build process fails on RedHat Fedora Core 5,
> seemingly on the bytecompiled .pyo
Thank you for your help
unfornunately no
date_releve is always latest than date_operation or none
I don't understand what appends
jlT
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post
Hi!
I have "models.DateTimeField defined in my model as "date_today".
date_today = models.DateTimeField('todays date')
On my form submission template page, i have...
Today's Date: {{
form.date_today }}
Whenever I try to load this page, it never displays a field,
On 11/13/06, Tom Smith <[EMAIL PROTECTED]> wrote:
>
> I have been making changes to my code an not seeing the changes
> happen...
>
> How do I restart django under Lighttpd/FastCGI so that changes to my
> model etc stick?
>
If you're on a unix-like system, you should be able to just do a
'touch'
On 11/13/06, Jean-Luc <[EMAIL PROTECTED]> wrote:
>
> hi Django folks
>
> newbie question, style sheet not found
>
> my base.html
>
>
>type="text/css" media="screen"/>
That's your problem right there, you have the 'media' folder as a
relative URL. Look at the request, it's trying to get:
On 11/13/06, Jean-Luc <[EMAIL PROTECTED]> wrote:
>
> Hi Django folks
>
> i have this model
>
> class Operations(models.Model):
> id = models.IntegerField(primary_key=True)
> date_operation = models.DateField()
> mode_paiement = models.TextField()
> no_cheque = model
On 11/13/06, Merric Mercer <[EMAIL PROTECTED]> wrote:
>
> I'm still a little uncertain of how to put a wrapper around a generic
> view. Given the following code below how does one handle pagination and
> other
> work that generic views does automatically.
>
> from django.views.generic.list_detail
I'm still a little uncertain of how to put a wrapper around a generic
view. Given the following code below how does one handle pagination and
other
work that generic views does automatically.
from django.views.generic.list_detail import object_list
def generic_wrapper(request):
qs = Ar
I have been making changes to my code an not seeing the changes
happen...
How do I restart django under Lighttpd/FastCGI so that changes to my
model etc stick?
Thanks
tom
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Goog
patrickk wrote:
> got to check this - it should be open for everybody to use and change
> (either commercial or not).
Perhaps follow the precedent set by the Django core and use a BSD style
license?
--~--~-~--~~~---~--~~
You received this message because you are
Hi,
I am wondering if anyone has successfully used "setup.py bdist_rpm" to
create a Django RPM.
I have tried using both the 0.95 release and the SVN head release, but
in both cases the RPM build process fails on RedHat Fedora Core 5,
seemingly on the bytecompiled .pyo files.
Does anyone have an
Am 13.11.2006 um 17:23 schrieb James Stembridge:
>
> Hi Patrick,
>
> Looks very nice. I'm wondering what license applies to your code?
got to check this - it should be open for everybody to use and change
(either commercial or not).
>
> Thanks,
> James.
>
> PS. In all likelyhood you don't wa
Thanks... that helped track it down. django.contrib.comments got
corrupted.
--~--~-~--~~~---~--~~
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
T
Hi Patrick,
Looks very nice. I'm wondering what license applies to your code?
Thanks,
James.
PS. In all likelyhood you don't want to commit *.pyc files to
subversion, take a look at "global_ignores" in your
~/.subversion/config file for how to do this.
--~--~-~--~~~---
"[EMAIL PROTECTED]" wrote:
> I posted this before, but don't see it... hope I'm not double-posting.
>
> Last night I upgraded to 4066 and now I'm getting lots of errors like:
> invalid syntax (models.py, line 1)
> Request Method: GET
> Request URL:
> http://gretschpages.com/amplifiers/6144-pre-am
On 11/13/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> So I updated last night (Checked out revision 4066) and now I'm having
> big problems. It appears to happen where generic views are used, I get
> invalid syntax (models.py, line 1)
>
> Request Method: GET
> Request URL:http://gretschp
Hi,
New to the group. I just took over the website for a smaller, weekly
newspaper in NYC, and I am looking at completely rebuilding the system
with a Django framework. Do you have any suggestions how I can find a
good lead Django developer in NYC. Are there job boards etc, besides
this I shou
hi Django folks
newbie question, style sheet not found
my base.html
...
My urls.py
urlpatterns = patterns('',
# Admin
(r'^admin/', include('django.contrib.admin.urls')),
)
# par date
urlpatterns += patterns('django.views.generic.date_based',
(r'^budget/(?P\d{4})/(?P\d{2})
Hello,
if there is a method definition in the models.py like this:
class TMergeDoc(models.Model):
def by_categories(self):
from django.db import connection
...
return objects
what is the corresponding call in the views.py?
obje
So I updated last night (Checked out revision 4066) and now I'm having
big problems. It appears to happen where generic views are used, I get
invalid syntax (models.py, line 1)
Request Method: GET
Request URL:http://gretschpages.com/amplifiers/6162-dual-twin-reverb/
Exception Type: SyntaxErro
Hi Django folks
i have this model
class Operations(models.Model):
id = models.IntegerField(primary_key=True)
date_operation = models.DateField()
mode_paiement = models.TextField()
no_cheque = models.IntegerField()
description = models.TextField()
m
I posted this before, but don't see it... hope I'm not double-posting.
Last night I upgraded to 4066 and now I'm getting lots of errors like:
invalid syntax (models.py, line 1)
Request Method: GET
Request URL:
http://gretschpages.com/amplifiers/6144-pre-amp-reverb-unit/
Exception
On 13 Nov 2006, at 13:14, Ivan Sagalaev wrote:Tom Smith wrote: For example, I have made a change to my models.py file and I am logging all sql to a log file... But when I sit and watch it, the OLD sql is still getting executed... Could it be that having caching turned on is causing this? Does
Hi all.
I've a problem with an edit view. The idea is a model with 2 fk, but
editable in the same form. I've created a view to edit it. the code is
in http://paste.e-scribe.com/2798/ but it doesn't handle the
dom_social.
Someone have an idea please?
PD: I'm working with last svn version
--~--
I've got a second screencast almost ready.
But I've recently been busy launching the new training company, so
things are eating my time.
So I can't guarantee a when yet.
Ian.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Goo
Tom Smith wrote:
> For example, I have made a change to my models.py file and I am
> logging all sql to a log file... But when I sit and watch it, the OLD
> sql is still getting executed...
>
> Could it be that having caching turned on is causing this?
>
> Does Django automatically reload py
class Page(models.Model):
title = models.CharField(maxlength=200)
pub_date = models.DateTimeField('Publication date')
content = models.TextField(blank=True)
category = models.ForeignKey(Category, blank=True)
seo = models.ForeignKey(Seo, blank=True)
slug = models.SlugField('
Hello...
I am running Django using Lighttp and FCGI and I am not quite sure
about it conceptually,
For example, I have made a change to my models.py file and I am
logging all sql to a log file... But when I sit and watch it, the OLD
sql is still getting executed...
Could it be that having
so here is our trac-site for the filebrowser:
http://trac.dedhost-sil-076.sil.at/trac/filebrowser/
I hope it´s easier now to handle feedback and improve the filebrowser.
there´s a couple of new stuff in the last version:
1. jQuery is required for using the FileBrowseField
2. Integration with Tin
code = models.PositiveIntegerField("Code", unique=True)
For example : with a PositiveIntegerField, I can't insert 2 entries
with code = 100. Django display error message.
With a BooleanField, I can insert 2 or many entries with boolean = 1
without error message. The unique option doesn't apply h
Hi Jeff,
You'll need to add a __str__ method to your Status class as since it
doesn't have one it is only returning the object. If your familiar with
java its like a toString() method
class Status(models.Model):
Status = models.CharField(maxlength=50)
def __str__(self):
return sel
63 matches
Mail list logo