Well, the link to view a record would appear on each and every
record line in the nomal tabular list.
On Nov 8, 3:27 pm, joker wrote:
> do u want to see last or first record?
>
> On 8 Kasım, 08:44, derek wrote:
>
>
>
> > I am not sure what you mean by "on change list"?
>
> > The usual way that
Hi all,
I have a strange error on a website I developed (quite some time
ago...).
The main url works: http://www.christina-kratzenberg.de
So do all the links at the bottom except for the "portfolio" one. It's
of course the interesting part where a photo portfolio is shown.
When I click on that
Hi. I have a problem with configuring my django site with mod_wsgi.
My httpd.conf is:
LoadModule wsgi_module modules/mod-wsgi.so
WSGIScriptAlias /peergw C:/mxhw/mx30/django.wsgi
Order deny,allow
allow from all
Alias /media/ "C:\Program Files\Apache Software Foundation
\Apache
1. write a new User Model, it like django.contrib.auth.models.User
2. write a new backend , like django.contrib.auth.backends.ModelBackend
3. modify settings.py , add
AUTHENTICATION_BACKENDS=('myproject.myapp.backends.MyBackend' ,)
http://docs.djangoproject.com/en/dev/topics/auth/#authenticatio
Folks,
Thought I might put it out there. I mean technically this is not
limited to django. I need to extend the
django.contrib.auth.models.User class (adding an extra field, making
the email field unique and increasing the length of the username
field).
Now what are your thoughts on doing t
On 8 Lis, 18:06, Victor wrote:
> Hi,
>
>
> user_item_rel_set is a m2m relationship between the User and Item
> class. For every item, I look back at its m2m relationship model and
> retrieve payment_amount. The only problem is, select_related()
> doesn't grab the user_item_rel_set.all() when I
On 8 Lis, 21:41, zweb wrote:
> I have
>
> description|safe|striptags
>
> but description has some " " in addition to html tags. How do I
> strip that off?
There is 'cut' built-in filter. In never used it
but looking at its source code it looks to me
that it does what you want.
--
Tomasz Zieli
free latest full movie download, free ads, free web search, unlimited
earning http://www.southview.in/
*
*
http://www.southview.in/
**
Many web sites offer faceted browsing such that a series of categories
can be selected to narrow a large set of records down to a few (or
one). Such interfaces often show how many records match the various
category values, which sometimes helps direct the search. Likewise,
since only valid combina
On Nov 9, 11:45 am, Russell Keith-Magee
wrote:
> On Mon, Nov 9, 2009 at 9:40 AM, Matt Schinckel
> wrote:
>
> > I am developing a django site that has a RESTful API, and allows for
> > json representations of the resources.
>
> > I have hit a bit of a hitch with respect to the data that I need t
What you need is to keep your Education model as is (with no Lawyer
Foreignkey) and add a ManyToManyField on your Lawyer class pointing to
Education. Then you can go
Lawyer.objects.filter(education__school='...')
I think that will solve your problem
Greg
2009/11/9 Zeynel :
>
> Hello,
>
> I d
Hello,
I decided to start my own project with what I learned from part 1 of
the tutorial.
I have the project in C:\sw\sw\wkw
The app sw.wkw is a prototype for a "who-knows-who" database for legal
profession. I wanted to start with a really simple model:
class Lawyer(models.Model):
first =
On Sunday 08 Nov 2009 9:51:23 am Kenneth Gonsalves wrote:
> > well I added the change language form to the main base.html form in admin
> > (by overriding it), but the call to "/i18n/setlang/" is not working.
> > Maybe a path problem. Any clues?
> >
>
> now it is working - neat ;-)
>
it was
Selam, evet izleyecem. Guzel bir site.
On Nov 8, 8:25 am, joker wrote:
> Merhaba;www.djangoturkiye.comadresinden videolu eğitimlerle ders hazırladım
> inceleyebilirsin
>
> On 8 Kasım, 00:49, Zeynel wrote:
>
>
>
> > Great! Thank you very much. I downloaded django-1.1.1 again and
> > untarred aga
'm new to Django and programming in general. I'm trying to make a
simple site that allows players of a sport sign up for leagues that
have been created by the admin. In my models.py, I created two models:
`from django.db import models from django.forms import ModelForm
class League(models.Model):
On Mon, Nov 9, 2009 at 9:40 AM, Matt Schinckel wrote:
>
> I am developing a django site that has a RESTful API, and allows for
> json representations of the resources.
>
> I have hit a bit of a hitch with respect to the data that I need to
> PUT, to do with the inbuilt test client.
>
> If I use c
I am developing a django site that has a RESTful API, and allows for
json representations of the resources.
I have hit a bit of a hitch with respect to the data that I need to
PUT, to do with the inbuilt test client.
If I use client.post(url, data, content_type='application/json',
**AUTH), then
2009/11/9 Lana :
>
> Hi!
>
> Does Django have some sort of web flow similar to the Spring web flow
> in Java? If it doesn't, what is the best strategy to implement web
> flow in your opinion - by using only Django session framework or by
> implementing database backened flow using only sessionId?
On Mon, Nov 9, 2009 at 01:11, Edward McCaughan wrote:
> where you're getting results where a property matches a value, could
> you have it try anything in a list of values, eg:
> ObjectOne.objects.filter(name=["toast","bread","shoes"])
>
http://docs.djangoproject.com/en/dev/ref/models/querysets/#
if you use custom user model, you could select user with related sets
and filter out record having at least one FK empty.
I think you could try
a) run own, custom query
b) use extra() function on queryset - but again, it should be used
agains User model
c) use database view
--~--~-~--~--
one more thing:
another way to look at it (hence the original title) would be instead
of a normal queryset, eg:
ObjectOne.objects.filter(name="toast")
where you're getting results where a property matches a value, could
you have it try anything in a list of values, eg:
ObjectOne.objects.filter(n
I have a complicated query set to do, does anyone have any suggestions
on the least insane way to do it?
I need to merge two querysets and only get out ones with a common
field:
ModelOne.objects.filter(x=whatever)
ModelTwo.objects.filter(y=foo)
both of these objects have a property which is a d
Hi Djangoists,
I am looking to hire contractor for the following position. Please
forward to anyone you think might be a good fit.
Company
Virtualization is the technology that is poised to change the way we
think about computing. VMware (NYSE: VMW) is the global leader in
virtualization s
Snap, looks like i will totally miss this. Just got back from Helsinki
last week,
Would have been totally awesome meeting other djangonauts and if the
meetup was like 2 weeks earlier ;)
Did meet the guys behind scred(who are djangonauts), and a few geeks
at Barcamp Helsinki, which was awesome...
On Nov 6, 12:18 pm, Jukka Välimaa wrote:
> The meeting place is Kaisla, and time is two weeks from now, Thu
> 19.11, starting at 18:00.
>
> How does this sound?
Count me in, too.
--
Lynoure
--~--~-~--~~~---~--~~
You received this message because you are subscri
I have
description|safe|striptags
but description has some " " in addition to html tags. How do I
strip that off?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send
Hello,
I'm working for the first time on sessions with django and I'm facing
a strange behaviour.
on my main view, I do a del request.session['entity']
On my subviews, I set request.session['entity'] = 1 (for example)
After that, for any view, I do:
if request.session['entity']:
context
Hi,
I'm trying to optimize some queries I'm making, but I'm not sure how
to do it.
61 for t in items:
62 try:
63 t.price = t.user_item_rel_set.get
(user=u).payment_amount
64 except:
65 t.price = -1 * t.buyer
Thank you!!
On Nov 8, 12:01 pm, Karen Tracey wrote:
> On Sun, Nov 8, 2009 at 11:58 AM, Zeynel wrote:
>
> > Hi again,
>
> > Thanks for the help so far.
>
> > I am now working on the part 2 of the tutorial.
>
> > I updated the INSTALLED_APPS with 'django.contrib.admin':
>
> > INSTALLED_APPS = (
>
On Sun, Nov 8, 2009 at 11:58 AM, Zeynel wrote:
>
> Hi again,
>
> Thanks for the help so far.
>
> I am now working on the part 2 of the tutorial.
>
> I updated the INSTALLED_APPS with 'django.contrib.admin':
>
> INSTALLED_APPS = (
>'django.contrib.auth',
>'django.contrib.contenttypes',
>
Hi again,
Thanks for the help so far.
I am now working on the part 2 of the tutorial.
I updated the INSTALLED_APPS with 'django.contrib.admin':
INSTALLED_APPS = (
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'mysit
Hi!
Does Django have some sort of web flow similar to the Spring web flow
in Java? If it doesn't, what is the best strategy to implement web
flow in your opinion - by using only Django session framework or by
implementing database backened flow using only sessionId?
--~--~-~--~~
El Sun, 8 Nov 2009 08:00:56 -0800 (PST)
Zeynel escribió:
> I am just learning Object Oriented terminology as I go along.
Not the best idea if you ask me. You should try "wetting your feet" with
simpler stuff first, and reading OOP theory.
That being said, I *guess* you can start out and do a lot
On Sun, Nov 8, 2009 at 10:00 AM, Zeynel wrote:
> I am just learning Object Oriented terminology as I go along. Please
> help me to understand what each word means in the class definition in
> the tutorial http://docs.djangoproject.com/en/dev/intro/tutorial01/ .
You may experience better results
I am just learning Object Oriented terminology as I go along. Please
help me to understand what each word means in the class definition in
the tutorial http://docs.djangoproject.com/en/dev/intro/tutorial01/ .
Thank you.
class => defines a class
Poll => name of the class? [my guess: this is just
On Sat, Nov 7, 2009 at 8:39 PM, Bobby Roberts wrote:
>
> Hi. I have never used foreign keys I need to start and I need
> help. I'm running python2.5 and django1.1. I have an installation
> of Satchmo running fine; however, I need to modify the Product table.
> I need to tie fields from th
On Sun, Nov 8, 2009 at 9:41 PM, Bobby Roberts wrote:
>
> anyone out there that can help me?
>
> On Nov 7, 8:39 pm, Bobby Roberts wrote:
> > Hi. I have never used foreign keys I need to start and I need
> > help. I'm running python2.5 and django1.1. I have an installation
> > of Satchmo r
On Nov 8, 2009, at 8:47 AM, Quenten Griffith wrote:
>
> All,
>
> I have developed a 1.0 version of a recipe management tool. I wrote
> it in PHP using the symfony framework. For the 2.0 version I want to
> switch to python. The reason for the 1.0 version was I wanted to use
> it to learn PHP.
All,
I have developed a 1.0 version of a recipe management tool. I wrote
it in PHP using the symfony framework. For the 2.0 version I want to
switch to python. The reason for the 1.0 version was I wanted to use
it to learn PHP. Now I really want to learn Python/Django. The
question I have th
anyone out there that can help me?
On Nov 7, 8:39 pm, Bobby Roberts wrote:
> Hi. I have never used foreign keys I need to start and I need
> help. I'm running python2.5 and django1.1. I have an installation
> of Satchmo running fine; however, I need to modify the Product table.
> I need
do u want to see last or first record?
On 8 Kasım, 08:44, derek wrote:
> I am not sure what you mean by "on change list"?
>
> The usual way that records get displayed is in a tabular list format.
> This is suitable when a record only has a few fields; some tables
> however
> have many fields in
Merhaba;
www.djangoturkiye.com adresinden videolu eğitimlerle ders hazırladım
inceleyebilirsin
On 8 Kasım, 00:49, Zeynel wrote:
> Great! Thank you very much. I downloaded django-1.1.1 again and
> untarred again.
>
> django directory is in C:\Django-1.1.1\Django-1.1.1\django
>
> I don't kno
42 matches
Mail list logo