Weird. It looks correct to me. I'm out of ideas, sorry.
Julien Enselme
Développeur chez BureauxLocaux
Le jeu. 5 sept. 2019 à 11:55, Pasquale a écrit :
> On 04/09/19 10:24, Julien Enselme wrote:
>
> Did you do the reverse with 'reviews:detail'?
>
> >>>
> reverse(&qu
Did you do the reverse with 'reviews:detail'?
Can you post your new urls.py and the code you use to do the reverse?
Julien Enselme
Développeur chez BureauxLocaux
Le mer. 4 sept. 2019 à 00:35, Pasquale a écrit :
> Applied your suggestion,now I get
> django.urls.exceptions.NoRevers
namespace is an argument of the include function and you can remove the
name argument to path.
Julien Enselme
Développeur chez BureauxLocaux
Le mar. 3 sept. 2019 à 13:28, Pasquale a écrit :
> I did put reviews/urls.py:
>
> from django.urls import path, include
> from . impor
ot;, namespace="reviews")) You should
then be able to use reverse("reviews:detail").
Julien Enselme
Développeur chez BureauxLocaux
Le lun. 2 sept. 2019 à 15:39, Pasquale a écrit :
> I have in mysite/urls.py:
>
> from django.contrib import admin
> from django.url
Hello,
I start by saying that english is not my main language and I am sorry if I
made mistakes.
I have an old app in Django 1.2 and I need to update it to Django 2.2.
I have made a lot of change to be hable to run the application in Django
2.2 but I have an issue..
In my project there is 2
in a test env. It may take a while depending on the amount of code
that relies on MySQL specific features. I hope this helps!
Regard,
Julien Enselme
Développeur chez BureauxLocaux
Le mar. 4 juin 2019 à 00:56, Kiran Capoor a
écrit :
> Hi,
>
> As said by ankhi, change to pgsql in settin
ent. This exception, on which environment did you
receive it? Local or remote?
I happened in my local env. I tried to delete the venv and recreate it from
scratch but it didn't help.
I'll try to report the bug.
Thanks for you help!
Julien Enselme
Développeur chez BureauxLocaux
Le lun. 8 avr. 2019 à 13
the bug tracker but found nothing.
Can someone help me on this? I guess I can keep deleting problematic
entries from our database one by one but it will take a long time and it
doesn't look right.
Regards,
Julien Enselme
--
You received this message because you are subscribed to the Google Group
ython/tree/master/overlay
Disclaimer: I work at Scaleway
Regards,
--
Julien Castets
+33 (0)6.85.20.10.03
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to
pinion, the projects has nothing to
do with my app.
What do you recommend?
I'd be happy to provide more info if needed.
Thanks in advance,
Julien Gréard
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group
Hello,
I have multiple databases, so in my queries I must exploit the `using`
keyword (even if here I consider only **one** of them).
Now in `MY_DB`, I want to create a `User` that has a reference to a
`People` entry - a different table in the **same** database. I do
person =
Are you like me to change the output
> of forms ? I would like to control the layout of the form of each module ,
> it is possible?
Hi,
Give a look to https://github.com/maraujop/django-crispy-forms
--
Julien Castets
--
You received this message because you are subscribed to the Google
Hello Guys,
I'm working on the an existing project with django,
but i need to change some behavior of this project for personal use.
but the problem is if i change some part of code of the project after it
will be complicate to apply the next update with git
that why i'm trying to find a way
I would say a good ol' mycsvdata.split(",") on each line of your CSV and
then put all this in a table.
J
On 04/10/2014 12:43 PM, Saransh Mehta wrote:
> I need to analyze the incoming data from the csv file and present it
> to the user in the best possible way?
> What tools do i need to use for
Hi,
Can you please post the entire traceback?
Thanks!
Julien
On Sunday, November 25, 2012 4:03:11 PM UTC+1, 名宏贾 wrote:
>
> I don't know why, editer have default utf-8 setting.
--
You received this message because you are subscribed to the Google Groups
"Django users"
is 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+unsubscr...@googlegroups.com.
> For more options, visit this grou
hello www,
This is the model:
from django.contrib.auth.models import User
class Task(models.Model):
creator = models.ForeignKey(User)
assigned_to = models.ManyToManyField(User)
And there are four users: bob, roger, dan and joe
I want to get all the tasks where the current user is the
Hello,
from django.contrib.auth.models import User
class Team(models.Model):
users = models.ManyToManyField(User)
I would like to retrieve every User in my database who does not belong
to a team.
I'm facing to this problem for several hours, and I found a *very*
crappy solution :
def
up.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>
--
Julien Castets
+3
of the admin
form rather than next to the aspect_ratio form field.
Is there a way to achieve the same type of specific validation like
with forms?
Many thanks,
Julien
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group,
ypically a postgresql issue. I'm using psql version 8.3.1 and a
recent checkout of Django trunk.
Any help would be very welcome, as I'm really baffled here.
Many thanks!
Regards,
Julien
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
T
Oh I have exactly this problem and cant find a good way to display my
"categories" field ordered/grouped by parent type
On 31 jan, 12:30, jul wrote:
> I reposted this question with more details.
>
> On Jan 29, 12:56 pm, jul wrote:
>
>
>
> > hi,
>
> > I've
On Nov 11, 10:07 am, Julien Phalip <jpha...@gmail.com> wrote:
> On Nov 11, 9:37 am, Julien Phalip <jpha...@gmail.com> wrote:
>
>
>
> > On Nov 10, 9:12 pm, Daniel Roseman <dan...@roseman.org.uk> wrote:
>
> > > On Nov 10, 1:36 am, Julien Phalip <jph
On Nov 11, 9:37 am, Julien Phalip <jpha...@gmail.com> wrote:
> On Nov 10, 9:12 pm, Daniel Roseman <dan...@roseman.org.uk> wrote:
>
>
>
> > On Nov 10, 1:36 am, Julien Phalip <jpha...@gmail.com> wrote:
>
> > > Hi,
>
> > > I've tri
On Nov 10, 9:12 pm, Daniel Roseman <dan...@roseman.org.uk> wrote:
> On Nov 10, 1:36 am, Julien Phalip <jpha...@gmail.com> wrote:
>
>
>
> > Hi,
>
> > I've tried to install MySQL for an existing project, and I'm getting a
> > strange error (see
u know how this could be fixed?
Thanks a lot for you help.
Julien
Traceback (most recent call last):
File "/Users/julien/Documents/Development/eclipse/workspace/
myproject/trunk/site/manage.py", line 13, in
execute_manager(settings)
File "/Users/julien/Documents/Development/eclipse
will have what you
want for your user model
http://docs.djangoproject.com/en/dev/topics/auth/#specifying-authentication-backends
I hope this helps,
Julien
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users&q
On Mon, Nov 2, 2009 at 5:28 PM, Nick Arnett <nick.arn...@gmail.com> wrote:
>
>
> On Mon, Nov 2, 2009 at 3:30 AM, Julien Petitperrin <
> julien.petitper...@gmail.com> wrote:
>
>> Hello,
>>
>> I had this kind of issue a few days ago. I found this:
>
Hello,
I had this kind of issue a few days ago. I found this:
http://collingrady.wordpress.com/2008/02/18/editing-multiple-objects-in-django-with-newforms/
I hope this helps you to find a way to do your multiple items edit form.
Have a nice day,
Julien
Thank you Clifford and all for your tips. There are apparently a few
options to explore. I'll give them a shot and see how far I get.
Cheers!
Julien
On Oct 25, 4:35 am, CLIFFORD ILKAY <clifford_il...@dinamis.com> wrote:
> Preston Holmes wrote:
> > It doesn't seem like it wou
to get me started?
Thanks!
Julien
--~--~-~--~~~---~--~~
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,
Proxy Error. I can edit the corresponding row
in Phpmyadmin without any problem so the database doesn't seem to be
damaged. Saving works with all other organisations I've tested.
It is using Django revision 9975.
Would you have any tips for debugging this?
Thanks a lot!
Regards,
Julien
('/')
...
However, if the setting BLAH exists, the call to delattr returns an
"Attribute error: BLAH" error.
I'm wondering if that's because the settings are lazily loaded. BTW,
I'm using Python 2.5.
Do you have a tip on how I could achieve thi
On Apr 13, 9:43 am, Julien Phalip <jpha...@gmail.com> wrote:
> Hi,
>
> I've implemented and ajax upload progress bar and I've got a strange
> issue with sessions. I've reused the exact same code from another
> project where it works perfectly, so I assume there is some ki
y help would be much appreciated :)
Thanks!
Julien
--~--~-~--~~~---~--~~
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 unsubscri
On Mar 26, 4:42 pm, Michael Strickland wrote:
> You should just be able to take out the MEDIA_ROOT portion of your
> upload_to path. So instead of:
> upload_to='%s/images/' % settings.MEDIA_ROOT
> You would have:
> upload_to='images/'
>
> That should make it store
both on
windows and on a Linux server.
Thanks a lot,
Julien
--~--~-~--~~~---~--~~
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 unsubs
On Mar 26, 11:55 am, Graham Dumpleton <graham.dumple...@gmail.com>
wrote:
> On Mar 26, 11:04 am, Julien Phalip <jpha...@gmail.com> wrote:
>
> > Hi there,
>
> > If I login on my site on example.com, and then visitwww.example.com
> > it asks me to log
www.example.com and example.com.
It does that on all the sites I manage. So I wonder if I've badly
configured them all, or if that's a bug. If the latter, is there a
ticket open for it? I couldn't find any tip either in the doc or in
the bug tracker.
Thanks a lot,
Julien
On Mar 5, 2:40 pm, Alex Gaynor <alex.gay...@gmail.com> wrote:
> On Mar 4, 2009, at 10:33 PM, Julien Phalip <jpha...@gmail.com> wrote:
>
>
>
>
>
> > On Mar 5, 2:16 pm, Alex Gaynor <alex.gay...@gmail.com> wrote:
> >> On 3/4/09, Julien Phalip <jp
On Mar 5, 2:16 pm, Alex Gaynor <alex.gay...@gmail.com> wrote:
> On 3/4/09, Julien Phalip <jpha...@gmail.com> wrote:
> > Hi,
>
> > I can't find the exact cause of this, but it seems as though something
> > has changed in the admin's email widget.
>
> >
):
if db_field.attname == 'email':
kwargs['widget'] = AdminTextInputWidget() # Have to do
that, otherwise the email field is bizarrely small (it doesn't have
the 'vTextField' class)...
return super(MyModelAdmin, self).formfield_for_dbfield
(db_field, **kwargs)
Thanks a lot,
Julien
On Feb 10, 3:19 pm, Karen Tracey <kmtra...@gmail.com> wrote:
> On Mon, Feb 9, 2009 at 4:17 PM, Julien Phalip <jpha...@gmail.com> wrote:
> > Hello again,
>
> > I finally fixed it with the following nasty hack:
>
> > class Entry(models.Model):
> >
On Feb 10, 7:52 am, Julien Phalip <jpha...@gmail.com> wrote:
> On Feb 10, 7:41 am, Alex Gaynor <alex.gay...@gmail.com> wrote:
>
> > I don't know what manager old forms admin used, but do you have a custom
> > manager that blocks access to some objects.
>
> Tha
Thanks again,
Julien
--~--~-~--~~~---~--~~
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
On Feb 9, 7:20 pm, Julien Phalip <jpha...@gmail.com> wrote:
> Hi,
>
> This is a strange case. I have a simple blog entry model which can be
> edited in the admin, from the URL that looks
> like:http://www.example.com.au/admin/blog/entry/52/
>
> Now, what is strange is
ook to debug this. Would you have some hints to suggest?
Thanks a lot for your help,
Julien
PS: It is using a quite old version of Django, a trunk revision
between 0.96 and 1.0.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Goo
On Feb 3, 2:47 am, Alex Koshelev <daeva...@gmail.com> wrote:
> Look at the `--verbosity` test command option
Thanks Alex, I should have thought of that.
Cheers,
Julien
--~--~-~--~~~---~--~~
You received this message because you are subscribed to t
you please point me out as I can't
find it in the doc.
If that's not possible, do you think this is worth opening a ticket?
Thanks a lot,
Julien
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users&q
On Feb 2, 7:40 pm, Malcolm Tredinnick <malc...@pointy-stick.com>
wrote:
> On Mon, 2009-02-02 at 00:17 -0800, Julien Phalip wrote:
> > Hi,
>
> > I'm a bit stuck with the design of a system and so I was wondering if
> > someone could give some advice.
>
> >
, is that a good system? If
not, would you have any other approach to suggest?
Thanks a lot for your help.
Regards,
Julien
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this g
On Jan 24, 12:57 pm, Malcolm Tredinnick <malc...@pointy-stick.com>
wrote:
> On Fri, 2009-01-23 at 12:15 -0800, Julien Phalip wrote:
> > On Jan 24, 2:45 am, varikin <vari...@gmail.com> wrote:
> > > The UploadedFile[1] object has a field called content_type. So if
testing with
self.client.post(), all files are systematically encoded as
'application/octet-stream'. To test the behaviour of my view I need to
control the content type of each uploaded files. And it doesn't seem
like there's another way than creating a custom request from scratch
to achie
'wsgi.input': client.FakePayload(payload),
}
response = self.client.request(**r)
Is there a more concise or more elegant way to do?
Thanks a lot for your help,
Julien
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
in advance
Julien
--~--~-~--~~~---~--~~
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
dj
modifier be reliably used with generic relations, or is
there a workaround?
Thanks a lot for your advice.
Julien
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group,
?
Thanks a lot,
Julien
--~--~-~--~~~---~--~~
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 [EMAIL
On Nov 29, 10:32 pm, Andrei Eftimie <[EMAIL PROTECTED]> wrote:
> Probably best thing would be to have accounts...
>
> On Nov 29, 12:27 am, Julien Phalip <[EMAIL PROTECTED]> wrote:
>
> > Hi,
>
> > I'm building a rating app, so people can rate any kind of obje
mistaken for a bot.
Are there some algorithms in Django to cope with this kind of
situations? Maybe passing some kind of key protection in the URL?
Thanks a lot,
Julien
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
On Nov 28, 1:21 pm, "Russell Keith-Magee" <[EMAIL PROTECTED]>
wrote:
> On Thu, Nov 27, 2008 at 11:21 AM, Julien Phalip <[EMAIL PROTECTED]> wrote:
>
> > I'm keen to try to find some proper ways to fix this, but before I go
> > too deep into the
On Nov 27, 7:17 pm, Julien Phalip <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm writing some tests for a view that sets entries in the session.
> Everything works fine, the entries are properly set and the session
> seems to work ok (using the default DB SessionStore).
>
:
self.client.post('/blah/1/') #Sets an entry in the session
self.client.session.clear()
#The session's entry still exists
What is the proper way to do this?
Thanks a lot,
Julien
--~--~-~--~~~---~--~~
You received this message because you are subscribed
ing Django, but is it acceptable? and if not, why?
At this stage, it looks good enough to me except for two main points
that feel dirty:
1) the test models should be unloaded after the test is run
2) potential conflicts with external apps should be avoided.
Any advice/hint welcome ;)
Julien
On Nov 27
On Nov 27, 10:55 am, "Russell Keith-Magee" <[EMAIL PROTECTED]>
wrote:
> On Thu, Nov 27, 2008 at 8:33 AM, Julien Phalip <[EMAIL PROTECTED]> wrote:
>
> > So, all this works pretty well. The 'fakeapp' app is loaded
> > dynamically, tables are created and the F
.
Regards,
Julien
[1] http://code.google.com/p/django-voting/source/browse/#svn/trunk/voting/tests
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send e
ors of testing
to the community and everyone would eventually benefit from it!
Russ and Malcolm (if you're still here :) ), I'd love to hear your
view on this, as I know testing is very important in your eyes.
Regards,
Julien
[1] http://ericholscher.com/blog/2008/
On Nov 25, 10:56 pm, Malcolm Tredinnick <[EMAIL PROTECTED]>
wrote:
> On Tue, 2008-11-25 at 20:47 +0900, Russell Keith-Magee wrote:
> > On Tue, Nov 25, 2008 at 8:40 PM, Julien Phalip <[EMAIL PROTECTED]> wrote:
>
> > > Hi,
>
> > > I've got a v
On Nov 25, 11:01 pm, Julien Phalip <[EMAIL PROTECTED]> wrote:
> On Nov 25, 10:56 pm, Malcolm Tredinnick <[EMAIL PROTECTED]>
> wrote:
>
>
>
> > On Tue, 2008-11-25 at 20:47 +0900, Russell Keith-Magee wrote:
> > > On Tue, Nov 25, 2008 at 8:40 PM, Julien Phal
Excellent! Thanks for the tip Russ ;)
On Nov 25, 10:47 pm, "Russell Keith-Magee" <[EMAIL PROTECTED]>
wrote:
> On Tue, Nov 25, 2008 at 8:40 PM, Julien Phalip <[EMAIL PROTECTED]> wrote:
>
> > Hi,
>
> > I've got a view which uses a different template depen
, but it means I have to ship my app with that dirty
"test_blah" folder.
Is there any other way to proceed?
Thanks a lot,
Julien
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users&
in a browser. The error I get is:
"HTTP Error 302: The HTTP server returned a redirect error that would
lead to an infinite loop.
The last 30x error message was:
Found"
Is there a way around that, other than by switching "verify_exists"
off?
T
to set the upload handler dynamically at
the beginning of the view.
Is there a way around that? Also, is that bad practice to access those
dictionaries from within a middleware?
Thanks for your advice,
Julien
--~--~-~--~~~---~--~~
You received this message because you
You might want to give a shot with 'add_to_builtins':
http://blog.michaeltrier.com/2007/8/7/common-template-tags
On Sep 13, 11:05 am, akonsu <[EMAIL PROTECTED]> wrote:
> hello,
>
> is there a way to make my custom tags and filters available to a
> template that i create from a string like this:
phrase this problem correctly.
Thanks a lot for your help.
Julien
--~--~-~--~~~---~--~~
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
> I've spent a couple hours trying to debug this, in vain...
I figured out my problem, so I just thought I'd post it here.
It was in fact due to some stale .pyc files and folders, not in my
apps but in Django itself. I had just done an 'svn update' on it, and
apparently some old stuff kept
dynamically.
Cheers,
Julien
--~--~-~--~~~---~--~~
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
.
Regards,
Julien
On Aug 30, 4:04 pm, keltus <[EMAIL PROTECTED]> wrote:
> After many frustrating hours, I have yet to monkey patch the
> form.username variable from:
>
> to
>
>
> In my urls.py file, I added:
> from django.contrib.auth.f
odule. Certainly not from the middleware module, which is the same as
the flatpage's one:
http://code.djangoproject.com/browser/django/trunk/django/contrib/flatpages/middleware.py
The traceback is really not helpful. Would you have any hint to debug
this?
Thanks a lot!
Julien
--~--~-~-
> That is the subject of ticket #8454.
Thanks Malcolm! I had missed that one. I like the proposed patch.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to
a '403 Forbidden' error.
Is there a way to force the properties for the stored file (e.g. 605
would be enough)?
Thanks!
Julien
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" grou
The import is likely to be in your view:
# views.py
from forms import MyForm
myview(request):
if request.method == 'POST':
form = MyForm(request.POST)
...
That's assuming that views.py and forms.py are at the same level.
Cheers,
Julien
On Aug 23, 11:25 pm, Gerard Petersen
with ;)
Personally, for each app, I usually separate the classes and functions
in the following modules: models, admin, views, forms, urls, utils
(for the helper functions).
Cheers,
Julien
On Aug 23, 10:29 pm, Gerard Petersen <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> Im working on forms
Hi,
I think that you need to set the form's object instance when
collecting the POST data too:
form = WrestlerProfileForm(request.POST, request.FILES,
instance=profile)
That way, the image will be set with the existing one, and the form
won't complain when validating.
Hope it helps,
Julien
On Aug 21, 4:43 am, "Tom Tobin" <[EMAIL PROTECTED]> wrote:
> On Tue, Aug 19, 2008 at 11:16 AM, Tom Tobin <[EMAIL PROTECTED]> wrote:
> > Let me propose a stopgap: edit the django-users and django-developers
> > pages to state, in large bold text, what the purpose of each list is
> > (this is "edit
se the cache by setting a key that the other view can look
up.
Julien
--~--~-~--~~~---~--~~
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.c
On Aug 20, 12:15 pm, Graham Dumpleton <[EMAIL PROTECTED]>
wrote:
> That is only half the answer.
>
> Before you get to this point you need a means of backgrounding the
> task to be completed.
You're quite right, I had completely overlooked that side of things ;)
.
That should work and be quite simple to implement.
Cheers,
Julien
On Aug 20, 10:37 am, makebelieve <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I've built an app that accepts inputs from the user and then uses them
> to do some heavy data crunching. I've got everything working
&g
put in a text file?
Thanks!
Julien
[1] http://code.djangoproject.com/wiki/DjangoOnWindows
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to
Hi,
The declarative attribute 'auto_now' (as well as 'auto_now_add') is
deprecated and its support will eventually be dropped. To achieve that
you need to override the 'save' method. In that same method you can
also call the parent's 'save' method to propagate the change to the
ancestors:
Hi,
Django is just Python, and documentation works the same way as in any
Python code.
Not sure what you're actually after but you might want to check this
excellent article by J. Bennett about documentation:
http://www.b-list.org/weblog/2008/jun/21/documentation/
On Jul 19, 1:52 am, Chris
Just found this via google:
http://lexhair.wordpress.com/2007/08/29/rss-feeds-and-internet-explorer-6/
Apparently IE 6 and RSS are not friends...
On Jul 20, 3:23 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> I'm trying to generate RSS feed for my site using Django's syndication
>
'set' is a Python standard object [1], since version 2.4. In version
2.3 you need to import the 'Set' package first.
So, if you care about backward compatibility in Python, the most
secure way to import it is:
try:
set
except NameError:
from sets import Set as set # Python 2.3 fallback
Hi,
It is not very clear what problem you're having here. What are those
noticeable differences?
On Jul 19, 12:54 pm, Tye <[EMAIL PROTECTED]> wrote:
> Quick background: I started a new project ("mpi") and app ("main"),
> created a template folder and added its path to settings, and did
>
Hi,
Could you post the whole traceback? Also, precise what version of
Django you're using. Without that info it's a bit hard to help you.
Cheers,
Julien
On Jul 19, 10:01 pm, Amirouche <[EMAIL PROTECTED]> wrote:
> I got an encoding error while rendering in the admin some text I
>
Seems like it could be, as you say, related to a problem with psycopg,
see:
http://groups.google.com/group/comp.lang.python/browse_thread/thread/8e78649ac40472fe/
On Jul 18, 9:14 am, Julien Phalip <[EMAIL PROTECTED]> wrote:
> Which version of Django are you using?
>
> As a fir
Which version of Django are you using?
As a first attempt, I'd replace your __str__ method by __unicode__ and
replace the calls to 'str' by 'unicode'.
On Jul 18, 7:02 am, andrewljohnson <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am getting a strange programming error, and I wonder what causes it?
>
Hi,
Django's upload handling has recently been refurbished and it is now
possible upload large files without upsetting the server. Check the
doc for more info at:
http://www.djangoproject.com/documentation/upload_handling/
Cheers,
Julien
On Jul 16, 7:49 pm, Niall Mccormack <[EMAIL PROTEC
How about:
Item.objects.filter(categories__watching__user=request.user).distinct()
I haven't tested it, but if it works it would return all items watched
by the user. Then, to display items by category, I would use the
regroup tag [1] in the template.
[1]
I guess you would have to preprocess the text with the template
system, reversing all the URLs, and then pass it to markdown
processing.
So, you'd have:
({% url mylink %} "Check this link")
On Jul 16, 3:11 am, gzy <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I like the idea of seperating the..
Sorry, I forgot to give the link:
[1] http://www.djangosnippets.org/snippets/74/
On Jul 15, 9:04 pm, Julien Phalip <[EMAIL PROTECTED]> wrote:
> Hi,
>
> On my site users must login with their email address. I'm successfully
> using a custom authentication backend based on [1
1 - 100 of 285 matches
Mail list logo