James, are you talking about putting a context processor into the
settings.py file?
On 13/08/07, james_027 <[EMAIL PROTECTED]> wrote:
>
>
> hi,
>
> someone to confirm this?
>
> thanks
> james
>
> On Aug 10, 10:29 am, james_027 <[EMAIL PROTECTED]> wrote:
> > hi,
> >
> > Are the context processors
thanks russ.
is it possible to make the testing-output more verbose? I tried "-v",
but that doesn´t work. It´d be nice to see what tests have been
running and what the output is (more than just "OK").
in the django-docs it says, that doctests provide automatic
documentation. what exactly does th
http://airconlinks.blogspot.com/
--~--~-~--~~~---~--~~
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 [
I have a feeds dictionary prepared like this in my urls.py
feeds = {
'latestdocuments': LatestDocuments,
'latestevents': LatestEvents,
'latestnews': LatestNews,
'latestnotices': LatestNotices,
'latestpages': LatestPages,
'latestphotos': LatestPhotos,
'latestjobs': Lates
in the django.views.i18n.py file, i found that it gets the 'language'
from request.Get.get('language'), but when i tried to access this
variable from index.html,
i found it 'None', does that explains why there is no translation ??
help me please, i'm stuck
thanksk in advance
On Aug 13, 9:18 am,
hi Matt,
On Aug 13, 3:13 pm, "Matt Davies" <[EMAIL PROTECTED]> wrote:
> James, are you talking about putting a context processor into the
> settings.py file?
>
yes, and also context processor called as argument on views by
ContextRequest()
Thanks
james
--~--~-~--~~~---
On 13 Sie, 09:48, patrickk <[EMAIL PROTECTED]> wrote:
> thanks russ.
>
> is it possible to make the testing-output more verbose? I tried "-v",
> but that doesn´t work. It´d be nice to see what tests have been
> running and what the output is (more than just "OK").
./manage.py test --verbosity 2 (o
I found it
One of our developers had created a file called
latestnews_description.html in the feeds folder.
This was outputting the body.
I've now added description_template into all the feeds and either used
a generic {{ obj.body_html }} or some other type of output depending
on the nature of
Hi
I have a doctest which says:
"""
>>> from django.test.client import Client
>>> c.login(username='testuser', password='testpw')
True
Now we go to the sample page
>>> response = c.get('/app/sample_page/')
>>> response.status_code
200
So far so good but...
>>> response.template
>>> respon
Hi James
can yo ucopy the rest of the email in mate, I'm not sure what my poitn was
going to be without seeing it :-)
Lots going on.
On 13/08/07, james_027 <[EMAIL PROTECTED]> wrote:
>
>
> hi Matt,
>
> On Aug 13, 3:13 pm, "Matt Davies" <[EMAIL PROTECTED]> wrote:
> > James, are you talking abou
On 8/13/07, patrickk <[EMAIL PROTECTED]> wrote:
>
> thanks russ.
>
> is it possible to make the testing-output more verbose? I tried "-v",
> but that doesn´t work. It´d be nice to see what tests have been
> running and what the output is (more than just "OK").
--verbosity=[0|1|2]. It's in the hel
Hi,
I am trying setup pygments and markdown described here:
http://www.unessa.net/en/hoyci/2006/11/highlighting-code-using-pygments-and-beautiful-soup/
My Model.py is:
(Also here http://dpaste.com/hold/16731/)
-
from django.db import models
import datetime
# Create your models here.
class
On 8/13/07, eXt <[EMAIL PROTECTED]> wrote:
>
> So here is a template and a context. Why I can't access it in my
> doctest via response.template and response.context?
How are you running your doctest?
In order to capture the template rendering details, Django needs to
add some instrumentation to
Do you know anyone who plays computer all the time?
Perhaps their personal relationships, work and social life are suffering due to
their desire to constantly play computer?
If this is the case, this person you know may have a computer addiction.
http://www.info-computeraddiction.ibiz2u.com
T
Hi,
On 8/13/07, Evan H. Carmi <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I am trying setup pygments and markdown described here:
> http://www.unessa.net/en/hoyci/2006/11/highlighting-code-using-pygments-and-beautiful-soup/
>
This works:
http://dpaste.com/16735/
--~--~-~--~~~
Oh and if you disable markdown, beautifulsoup won't find
a code-tag to highlight with pygments.
--~--~-~--~~~---~--~~
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@
Hello,
I would like to extend some functionnalities of contrib.auth,
especially in the User model.
The objective is to do something clean without hacking django's source
code. My first idea was to create a new auth application (e.g. myauth)
and create a new User class in there extending the
cont
Grégoire wrote:
> Hello,
>
> I would like to extend some functionnalities of contrib.auth,
> especially in the User model.
>
> The objective is to do something clean without hacking django's source
> code. My first idea was to create a new auth application (e.g. myauth)
> and create a new User c
I'm quite new to django, but I'm rather confident that I have looked
for it pretty well. Feel free to yell, if I'm asking a stupid
question.
I cannot understand how I can tell django that /images (for example)
is an images folder, located at, say, /home/guruyaya/images/ and no
object should handle
Ok, I think I got it. django.views.static.serve. I think I can work it
out from here.
On Aug 13, 4:11 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> I'm quite new to django, but I'm rather confident that I have looked
> for it pretty well. Feel free to yell, if I'm asking a stupid
> questio
Thanks ! Pretty clever :)
Unfortunately it will not work with my application because I need to
change the validator on username. Sounds like I have to use the 2nd
solution until model subclassing works.
On Aug 13, 2:29 pm, Carl Karsten <[EMAIL PROTECTED]> wrote:
> Grégoire wrote:
> > Hello,
>
>
> I'm quite new to django, but I'm rather confident that I have looked
> for it pretty well. Feel free to yell, if I'm asking a stupid
> question.
We'll, you've at least learned somewhere that Django shouldn't be
handling your media...that's at least something :)
> I cannot understand how I can
Hi Heba,
I just tried your project with django trunk r5881: I put everything in
a folder, modified the settings to use sqlite3, created a db, did
manage.py syncdb.
Then I started the development server, looked at 127.0.0.1:8000 and it
seems to work just fine.
What django version are you using ?
On Aug 13, 2:45 am, Collin Grady <[EMAIL PROTECTED]> wrote:
> You cannot. Django does not do aggregates like GROUP BY yet. You will
> have to use manual sql to get those values.
Thanks for your reply.
But how to use sql together with Django so that I can use advantages
of paginator?
L.
--~--
using doctests works fine so far.
now, I just ran into a problem with unittests:
...
self.assertEquals(self.movie.details_country.all(), [])
...
the output is:
AssertionError: [] != []
isn´t that supposed to work?
thanks,
patrick
On 13 Aug., 13:14, "Russell Keith-Magee" <[EMAIL PROTECTED]>
w
thanks. that works.
now I´m getting an error due to some unicode related stuff:
...
self.assertEquals(list(self.movie.details_genre.all()), "[, ]")
...
output:
AssertionError: [, ] !
= '[, ]'
thanks,
patrick
On 13 Aug., 17:03, Tim Chase <[EMAIL PROTECTED]> wrote:
> > now, I just ran into a pr
> Hehe... I've heard that python already supports XSLT 2 & XPATH 2. It's
> very convenient to to use these standards. BTW does python support
> XQuery, XInclude, XLink, XPointer and stuff like that?
Are you sure about XSLT 2 and XPATH 2? I haven't seen version 2
support in python, only XSLT and X
>> You cannot. Django does not do aggregates like GROUP BY yet. You will
>> have to use manual sql to get those values.
>
> Thanks for your reply.
> But how to use sql together with Django so that I can use advantages
> of paginator?
You can inject SQL into your query with the .extra() call (I
> now, I just ran into a problem with unittests:
>
> ...
> self.assertEquals(self.movie.details_country.all(), [])
> ...
>
> the output is:
> AssertionError: [] != []
>
> isn´t that supposed to work?
all() returns a queryset object that has list-like behaviors.
However, it isn't a list and t
On Aug 12, 7:18 am, Alex Nikolaenkov <[EMAIL PROTECTED]> wrote:
> You wrote 12 ??? 2007 ?., 1:41:39:
>
> > Alex Nikolaenkov <[EMAIL PROTECTED]> writes:
> >> Hello guys,
> >> I like just about everything in django, but at this point of me reading
> >> django
> >> book I can't imagine the way o
I'm developing a site that needs to be xhtml 1.1, my page validates
just fine except that the server keeps spitting it out as text/html
instead of application/xhtml+xml.
How the heck do I make django set application/xhtml+xml for the pages
it serves?
I tried changing the text/html entry in my mi
On Aug 11, 11:41 am, Alex Nikolaenkov <[EMAIL PROTECTED]>
wrote:
> Hello guys,
> I like just about everything in django, but at this point of me reading django
> book I can't imagine the way of xmlizing django.
>
> Is there a way to use XSLT templates instead of standard django template
> languag
Found it
DEFAULT_CONTENT_TYPE = 'application/xhtml+xml'
To override the global default.
On Aug 13, 5:33 pm, TheMaTrIx <[EMAIL PROTECTED]> wrote:
> I'm developing a site that needs to be xhtml 1.1, my page validates
> just fine except that the server keeps spitting it out as text/html
> instead
Daniel,
> I think you're wrong on this one ...unfortunately :) XSLT 2 and XPath
> 2 are mighty things...
Yeah. Checked. Just a rumor. I was so excited when heard that for the
first time. However files can be processed by the third-party
application supporting the 2.0 standard (Saxon f.e.)
--
hi all,
i have a problem with the current project i am working on.actual thr's
a table X with a field ID(autoincrement) and a field named HASH.which
is md5 of the id.now should i have to make two queries ..first one to
find out whats going to be next id and then insert the hash of it ..or
there
On 8/13/07, TheMaTrIx <[EMAIL PROTECTED]> wrote:
>
> I'm developing a site that needs to be xhtml 1.1, my page validates
> just fine except that the server keeps spitting it out as text/html
> instead of application/xhtml+xml.
>
> How the heck do I make django set application/xhtml+xml for the pag
> Basically, I want a different message for people that presumably have
> never seen the site, and those that just need to login again.
Could you use two cookies, one that doesn't expire that let's you know
that they've been to the site, and another that expires in 2 weeks?
Bob
--~--~
Test Message
--~--~-~--~~~---~--~~
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 PROTECTED]
For
Recently I begun using Apache instead of the debugging server that
comes with Django. After having a rough time configuring and
successfully installing mod_python and Django, my projects are once
again working.
However, it seems like the requested pages are cached. Not in the
regular way though,
[EMAIL PROTECTED] wrote:
> hi all,
>
> i have a problem with the current project i am working on.actual thr's
> a table X with a field ID(autoincrement) and a field named HASH.which
> is md5 of the id.now should i have to make two queries ..first one to
> find out whats going to be next id and t
> self.assertEquals(list(self.movie.details_genre.all()), "[ Action-Komödie>, ]")
> ...
>
> output:
> AssertionError: [, ] !
> = '[, \xc3\xb6die>]'
First, it looks like you're comparing a list of objects to a string.
I'm not sure if QuerySets override the magic method to determine
if they're
On 8/13/07 10:55 AM, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> However, it seems like the requested pages are cached. Not in the
> regular way though, it is as though the compiled Python procedures are
> compiled, while the data is still up to date.
>
> I'm wondering if this is a problem
I was wondering if there was any work on the web to use Django to
generate Flash and Flex content, instead of HTML content? Flash is
rapidly evolving into a more technologically advanced web display
technology. HTML rules for text, but is pretty much useless for
displaying other sorts of ideas
For the site in question yes.
It'll be an intranet site where only a tested version of Firefox is
allowed for web browsing and they demanded the latest stable versions
of all standards to be used.
And for other sites where xhtml 1.1 is wanted, I'm planning to use a
middleware that'll dynamically
Thank you, Ethan.
On Aug 13, 8:02 pm, Ethan Miller <[EMAIL PROTECTED]> wrote:
> On 8/13/07 10:55 AM, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> wrote:
>
> > However, it seems like the requested pages are cached. Not in the
> > regular way though, it is as though the compiled Python procedures ar
Yes, I know that. I use ./manage.py test. I'll add that my django is
latest version from trunk. Any more hints?
Jakub
On 13 Sie, 13:19, "Russell Keith-Magee" <[EMAIL PROTECTED]>
wrote:
> On 8/13/07, eXt <[EMAIL PROTECTED]> wrote:
>
>
>
> > So here is a template and a context. Why I can't access
Or, am I missing something and it is a bad idea? I am curious what
more experienced coders think?
Sam the Gardener
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send
I've been playing around with Django for a couple of weeks.
I'm finding myself spending most of my type tinkering with the
Database API to try to wrestle the information I need out of my
database.
At this point it looks to me like I have replaced one set of
incantations (SQL) for another (Databa
On 8/13/07, sagi s <[EMAIL PROTECTED]> wrote:
> Surely not. It is... darn - Can I just use SQL and be done with it?
Of course.
But keep in mind that, when programming in an object-oriented
language, it's often more useful to get back a set of domain-specific
objects -- which requires using Djang
Hi all,
first of all: django rocks! I'm a database application developer
and not a web developer. I'm not even fluent in python. Despite
that, the django framework has made it possible for me to develop
web based database applications with relative ease. And, I can
use the model and the database
Windows XP tips and tricks. Learn how to bypass very common windows
problems, to speed up your system and make it more reliable with useful tips
and tricks.
http://windowsxpsp2pro.blogspot.com
--~--~-~--~~~---~--~~
You received this message because you are subscrib
That looks like it... thanks!
On Aug 12, 8:10 pm, Collin Grady <[EMAIL PROTECTED]> wrote:
> http://www.djangoproject.com/documentation/syndication_feeds/#a-compl...
>
> The example here is pretty much what you want, you just need to change
> how you lookup the objects for the feed.
--~--~--
Dear
I recently joined AGLOCO because of a friend recommended it to me. I
am now promoting it to you because I like the idea and I want you to
share in what I think will be an exciting new Internet concept.
AGLOCO's story is simple:
Do you realize how valuable you are? Advertisers, search
Dear
I recently joined AGLOCO because of a friend recommended it to me. I
am now promoting it to you because I like the idea and I want you to
share in what I think will be an exciting new Internet concept.
AGLOCO's story is simple:
Do you realize how valuable you are? Advertisers, search
http://www.pennergame.de/ref.php?uid=4762
--~--~-~--~~~---~--~~
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
Oops.. My fault here. I just realized that everything is ok with
tests, problem was with my ./manage.py shell session. Solution is to
call:
>>> from django.test.utils import setup_test_environment
>>> setup_test_environment()
Thanks for your help.
Jakub
On 13 Sie, 20:31, eXt <[EMAIL PROTECTED]
Hi
I was wondering whether anyone could help me, I just starting out with
Django and am attempting to write a simple web app. Ideally I'd like
to use a slug field populated based on the name of my product.
However the slug field is not being populated, my model looks like
this:
class Product(mo
I am just working on my first project. I successfully created a
couple of models but get the following error when I poin the browser
at /admin/ Any ideas ? thks. Running on Ubuntu Feisty w/ .96
backport.
TemplateDoesNotExist at /admin/
admin/login.html
Request Method: GET
Request URL:
On Aug 13, 3:19 pm, "James Bennett" <[EMAIL PROTECTED]> wrote:
> On 8/13/07, sagi s <[EMAIL PROTECTED]> wrote:
>
> > Surely not. It is... darn - Can I just use SQL and be done with it?
>
> Of course.
>
> But keep in mind that, when programming in an object-oriented
> language, it's often more us
On Aug 13, 8:59 pm, SamFeltus <[EMAIL PROTECTED]> wrote:
> Or, am I missing something and it is a bad idea? I am curious what
> more experienced coders think?
>
> Sam the Gardener
I'm not experienced coder, but I don't think that it's a bad idea, but
it looks like it's not the primary purpose
I'm very occasionally getting errors reported to me on our production
site by our members. However, we cannot replicate the problem ourself
and because debugging is turned off the members are not giving me any
real clues.
Is there anyway to trap the debug information - so it is logged - but
On 8/13/07, Amirouche <[EMAIL PROTECTED]> wrote:
> What do you mean, I can't understand.
OK, suppose you are running an online store, so you have a database
table "orders", which lists orders customers have placed, and another
"addresses" which lists the addresses to ship the orders to. To
calcul
Mike, welcome to Django.
The prepopulate_from relies on Javascript in the admin pages, so only
works in the site admin interface. However you have also set
editable=False, so it will not be seen in the admin pages anyway.
>From the Model Reference documentation:
"SlugField ... Accepts an extra opt
Thanks for such a quick reply Richard.
Yep think it was a combination of not displaying and also not having
an additional comma at the end of the prepopulate_from tuple.
On Aug 13, 10:26 pm, RichardH <[EMAIL PROTECTED]> wrote:
> Mike, welcome to Django.
> The prepopulate_from relies on Javascr
>From reading the documentation on generic views, I don't seem to be
making much head way. Basically I'm looking to create a paginated page
displaying all products within a specific category.
Within my urls.py I call the category view within my app:
(r'^category/(?P\d+)/$', 'eshop.shop.views.cat
On Aug 13, 2:11 pm, Merric Mercer <[EMAIL PROTECTED]> wrote:
> Is there anyway to trap the debug information - so it is logged - but
> not visible to users?
A good starting point is to use the ADMINS setting, which will give
you a way to receive error reports via e-mail when debugging is off:
h
As the documentation for object_list says, it will append _list to
template_object_name, so you should actually be checking
"products_list" based on your line there :)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
> >>> users = User.objects.filter(groups__contains="Staff") ?
This line doesn't work because "groups" is a ManyToManyField, not a
CharField, so __contains="Staff" doesn't make any sense.
Something like users = User.objects.filter(groups__name="Staff")
should work a little better :)
--~--~-
Do you have "django.contrib.admin" in INSTALLED_APPS?
Are the templates actually present in django/contrib/admin/
templates/ ?
Are the permissions on that directory and every directory above it
such that the webserver can read them?
--~--~-~--~~~---~--~~
You rec
Copying the code out will not work. Nothing in django will be looking
in your new location, so your changes will be ignored.
If you absolutely must change the User model itself, you are stuck
with editing the django source directly.
--~--~-~--~~~---~--~~
You rece
Also, if I'm not mistaken, when you use the database api, the input
validation steps are taken care of by the framework, you don't just
tell in the models what format fields should be in the database, but
at the same time are telling the framework what input it should accept
for that field. If a f
Ok, I've used memcached for quite some time with PHP sites and that
was rather easy.
Now I see you can use it with Django, but to get memcached support you
need to either install cmemcached or python-memcached.
Neither of these apps has any kind of information on their sites or in
the archives o
Any idea why ADMINS would fail to send out the debug or 404 PNF mails
while your apps are sending email perfectly with the settings you put
in your settings.py for SMTP auth?
On Aug 14, 12:03 am, Matt McClanahan <[EMAIL PROTECTED]>
wrote:
> On Aug 13, 2:11 pm, Merric Mercer <[EMAIL PROTECTED]> wr
I asked this before and no one answered, but after having to do this
manually in the shell for about the fifteenth time, I'm going to ask
again.
Is there a way to add user permissions to a test fixture that isn't
brittle?
Let me outline what I'm doing and see if I'm doing something wrong:
1. I
On Aug 13, 6:58 pm, Collin Grady <[EMAIL PROTECTED]> wrote:
> Do you have "django.contrib.admin" in INSTALLED_APPS?
yes
> Are the templates actually present in django/contrib/admin/
> templates/ ?
there is a directory /usr/lib/python2.5/site-packages/django/contrib/
admin/templatetags/...
"te
What platform are you trying to install this onto?
-joe
On 8/13/07, TheMaTrIx <[EMAIL PROTECTED]> wrote:
>
> Ok, I've used memcached for quite some time with PHP sites and that
> was rather easy.
>
> Now I see you can use it with Django, but to get memcached support you
> need to either install
On 8/13/07, TheMaTrIx <[EMAIL PROTECTED]> wrote:
> Neither of these apps has any kind of information on their sites or in
> the archives on how you can install those modules so you can enable
> memcached in the django config. They seem to think that everyone knows
> everything about Python or som
Test Message
--~--~-~--~~~---~--~~
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 PROTECTED]
For
http://www.pennergame.de/ref.php?uid=4762
--~--~-~--~~~---~--~~
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
Test Message
--~--~-~--~~~---~--~~
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 PROTECTED]
For
Test Message
--~--~-~--~~~---~--~~
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 PROTECTED]
For
I have a "poem" model that belongs to "user". The "poem" model an
"approved" attribute. I want to print a list of users and display only
their poems that are approved.
What do I specify in the Queryset to make this work?
I want to do something like this:
u = User.objects.filter(poem.approved=Tru
Test Message
--~--~-~--~~~---~--~~
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 PROTECTED]
For
No, its not reasonable to assume people know everything about python
from day 1.
I only just started using Python and primarily started using it
because of Django.
I had no problem installing Python, hooking it into Apache,
configuring Django, etc etc, sys administration is my main field of
exper
http://www.pennergame.de/ref.php?uid=4762
--~--~-~--~~~---~--~~
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
Hi,
Have 2 problems that may be related but definitely need resolution.
1) Want to use my central library ( /home/me/bin) with Django in
different projects. Tried to import a module from this library in an
app view and got an import error.
2) sys.path shows /home/me/bin with the other stuff, i
On 8/14/07, Todd O'Bryan <[EMAIL PROTECTED]> wrote:
>
> I asked this before and no one answered, but after having to do this
> manually in the shell for about the fifteenth time, I'm going to ask
> again.
Can't say I remember seeing this question the first time round.
Apologies for missing it.
>
On 8/13/07, john <[EMAIL PROTECTED]> wrote:
>
> On Aug 13, 6:58 pm, Collin Grady <[EMAIL PROTECTED]> wrote:
> > Do you have "django.contrib.admin" in INSTALLED_APPS?
>
> yes
>
>
> > Are the templates actually present in django/contrib/admin/
> > templates/ ?
>
> there is a directory /usr/lib/pytho
> I have a "poem" model that belongs to "user". The "poem" model an
> "approved" attribute. I want to print a list of users and display only
> their poems that are approved.
>
> What do I specify in the Queryset to make this work?
>
> I want to do something like this:
> u = User.objects.filter(p
On 8/14/07, Lars Stavholm <[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
> first of all: django rocks! I'm a database application developer
Glad you like it! Welcome to the community.
> I know that this has been discussed on this list, but what I would
> like to know now is: is there any effort going
Hi there!
I'm using Amazon S3 for file storage, and I have to send the file
directly from request.FILES.
(I could always save the file locally first, send it to Amazon and
then delete it from my local server, but this would double the wait
for the user.)
Is there a way to only load chunks of the
On Tue, 2007-08-14 at 00:26 +, Brisingman wrote:
> Hi,
>
> Have 2 problems that may be related but definitely need resolution.
>
> 1) Want to use my central library ( /home/me/bin) with Django in
> different projects. Tried to import a module from this library in an
> app view and got an im
On Tue, 2007-08-14 at 08:47 +0800, Russell Keith-Magee wrote:
[...]
> You will have more difficulty with the Admin application and generic
> views. Both of these features rely upon the ability to install URLs
> like:
>
> /path/to/object/42/ -> edit object 42
>
> This works fine if you have a sin
On Tue, 2007-08-14 at 08:27 +0800, Russell Keith-Magee wrote:
> On 8/14/07, Todd O'Bryan <[EMAIL PROTECTED]> wrote:
> >
> > I asked this before and no one answered, but after having to do this
> > manually in the shell for about the fifteenth time, I'm going to ask
> > again.
>
> Can't say I reme
Warning, devils advocate post. It's meant to be constructive
criticism.
I have my fields listed in HTML, in forms.py (newforms), in models.py,
and in my database (post-syncdb). Four places no less.
Before we shout too much about DRY, newforms _for_model needs a tonne
more flexibility, and syncdb
Hi, I'm trying to get django going on a debian etch vm I have which
uses NAT to access the web. I found some info that suggested using https://
but that won't work.
Should I try ubuntu or is there something in the vm settings I need to
change? I'm still quite new to *nix but making progress so any
On Aug 13, 8:28 pm, Empty <[EMAIL PROTECTED]> wrote:
> On 8/13/07, john <[EMAIL PROTECTED]> wrote:
>
> > > Are the templates actually present in django/contrib/admin/
> > > templates/ ?
>
> > there is a directory /usr/lib/python2.5/site-packages/django/contrib/
> > admin/templatetags/...
>
> > "te
On 8/14/07, sime <[EMAIL PROTECTED]> wrote:
>
> Warning, devils advocate post. It's meant to be constructive
> criticism.
>
> I have my fields listed in HTML, in forms.py (newforms), in models.py,
> and in my database (post-syncdb). Four places no less.
What you have described is three different
On Aug 13, 9:14 pm, Malcolm Tredinnick <[EMAIL PROTECTED]>
wrote:
> On Tue, 2007-08-14 at 00:26 +, Brisingman wrote:
> > Hi,
>
> > Have 2 problems that may be related but definitely need resolution.
>
> > 1) Want to use my central library ( /home/me/bin) with Django in
> > different projects
Hi,
On Aug 14, 9:36 am, sanchothefat <[EMAIL PROTECTED]> wrote:
> Hi, I'm trying to get django going on a debian etch vm I have which
> uses NAT to access the web. I found some info that suggested using https://
> but that won't work.
> Should I try ubuntu or is there something in the vm settings
1 - 100 of 119 matches
Mail list logo