Hi.
Im using the latest svn of django (SVN 7457) and the latest release of
TinyMCE (3.0.7)
When I use TinyMCE in django-admin, my ForeignKey field, with option
raw_id_admin=True, I can't select an Item. The link that usually
insert the Item ID into the ForeignKey field, simply redirects me to
th
I checked out the newest django trunk to my dreamhost domain, and
suddenly I got an error when I tried to go to the admin site.
ImportError: MySQLdb-1.2.1p2 or newer is required; you have 1.2.1g3
Tried 'python manage.py validate' and got this:
Traceback (most recent call last):
File "manage.
Thank you!
Regards
Tomas
On 22 Mar, 12:36, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote:
> On Thu, 2007-03-22 at 04:11 -0700, Tomas Jacobsen wrote:
> > I checked out the newest django trunk to my dreamhost domain, and
> > suddenly I got an error when I tried to
Hi. Im trying to install django on my Dreamhost domain. I have followed
the dreamhost wiki and the guide on
http://www2.jeffcroft.com/2006/may/11/django-dreamhost/ about 4 times
now, and the last 3 times I get the same 503 error when I try to login
to admin.
Before I installed admin I get the "I
I use: http://www.django.tomasjacobsen.com/admin/ and
http://django.tomasjacobsen.com/admin/ . The same result on both.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, se
Ah, good to know Im not stupid :) Will try it out with my regular
domain later. Thank you!
--~--~-~--~~~---~--~~
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@goog
Im trying to make a blog-like portfolio with finished projects I have
done. I want it to be easy to update when I have done something new, so
I thougth django seemed interesting for my webpage. I have been reading
some tutorials, and I finaly have manged to get in all the fields I
want in the admi
Wow, thanks for the help! I do understand the principle of views and
templates now, but I still need some help.
I have managed to get out the slug name of my projects in
"mydomain/portfolio/". But I don't know how I write the view for the
detail page or how I get the right URL to the detail.
I w
I will try to explain some more.
I have managed to "render" project slug and project title into html. My
template is inside "/django/django_templates/portfolio/" and is called
"index.html". If I try to type in "mydomain.com/portfolio" I get the
nice list of project name, and inside the "a href" I
I have done some more reading of other tutorials, and Im slowly getting
further. I now understand that I can use django generic views instead
of writing my own view. (sorry Malcolm, I diden't get that before). I
have now made one url pattern for my project listing. It's listing all
of my project,
I have been on vaction for a week, so I haven't had time to do more
coding before now. I think I understand what you have written in the
view, but I can't understand what to write in urls.py.
My views.py in my portfolio app folder looks like this:
from django.views.generic.list_detail import obj
Yes, that seems to get me one step further!
But now I get a new error:
NameError at /portfolio/3d/
global name 'object_detail' is not defined
Exception Location: /myproject/portfolio/views.py in category_view,
line 10
--~--~-~--~~~---~--~~
You received this
Yes! That worked. Woho!! Thank you Malcolm and Martin!
The next step is getting the detail view of each project to work. Do I
need to write a new view for that, or can I use django generic view?
My urls looks like this now:
mydomain.com/portfolio = list all my projects
mydomain.com/portfolio/c
Hi. Im pulling my hair out trying to make this url. I have seem some
more source codes of other django projects, but I cant find anything
like my problem.
I've tried
(r'^portfolio/(?P[-\w]+)/(?P[-\w]+)$',
'myproject.portfolio.views.category_view'),
and
(r'^portfolio/(?P[-\w]+)/(?P[-\w]+)$',
'
Malcolm Tredinnick wrote:
> Since the first part of the URL mapping tuple is a Python regular
> expression, you can experiment at the command line. Import the "re"
> module and use the regular expression you are trying to get working to
> match against the sorts of URLs you are going to be sendin
Malcolm Tredinnick wrote:
> On Fri, 2006-08-11 at 02:12 -0700, Tomas Jacobsen wrote:
> > Malcolm Tredinnick wrote:
> >
> > The command line your talking about, is it the shell?
>
> Yes.
>
> > I've tried python manage.py shell and the code you wrote. But
Yes, I was missing the last slash. Now I get the detail page, but now I
get the real problem I thought I had at first for this page. Because I
use the category_slug in my url for the detail page, I don't think I
can use generic view for this page?
Don't I need a "custom" view that get the 'catego
> Is there an easy way to just drop the 'category_slug' the detail_view,
> or is it another/better way to do this?
I missed a 'in' there:" just drop the 'category_slug' in* the
detail_view "
Anyways, it seems like you got the idea.
Im trying to modify the view you wrote for me for the category
Malcolm Tredinnick wrote:
> On Fri, 2006-08-11 at 05:59 -0700, Tomas Jacobsen wrote:
> > > Is there an easy way to just drop the 'category_slug' the detail_view,
> > > or is it another/better way to do this?
> >
> > I missed a 'in' there:&q
Hello
I'm trying to write a custom backed for login in users from an external
encrypted cookie.
I have done it in PHP, but I'm trying to convert it to python/django logic, but
this is most advanced python code I have tried to write! I have found some
basic examples to look at, but none of them
Hello!
I have a account model, which can store up to six max_values . Those
max_values ranges from 0 to 500 000. Each max_value field has a correlating
percentage_value field.
Im trying to write a view that finds what max_value field has a value from
0 to 5, and what number field it has, s
Thank you!
kl. 20:48:27 UTC+2 torsdag 18. oktober 2012 skrev Dennis Lee Bieber
følgende:
>
> On Thu, 18 Oct 2012 03:03:17 -0700 (PDT), Tomas Jacobsen
> > declaimed the following in
> gmane.comp.python.django.user:
>
> > Hello!
> >
> > I have a acco
Im trying to migrate my django model:
from django.contrib.auth.models import User
class Post(models.Model):
headline = models.CharField(max_length=200)
slug = models.SlugField(max_length=200)
body = models.TextField(blank=True, null=True)
author = models.ForeignKey(User, null=True
Hi
Im trying to make a table to show product prices over a year.
Here is what Im doing on a YearArchiveView:
{% regroup object_list|dictsort:"store.id" by store as store_list %}
{% for store in store_list %}
{{ store.grouper }}
{% regroup store.list|dictsort
24 matches
Mail list logo