One more thing..
After logging in, user.is_anonymous and user.is_authenticated are both
returning false.
Why would this happen?
On Sep 18, 12:29 am, Adi <[EMAIL PROTECTED]> wrote:
> Hi,
> I have built a login form using the django provided view. All i did in
> the urls.py was to provide the
Hi,
I have built a login form using the django provided view. All i did in
the urls.py was to provide the template. However this template is also
pretty much the same as the login.html provided by the login
application. The html file contains the following
{% if error_message %}
{{ error_message
On Wed, 17 Sep 2008 20:52:16 -0700 (PDT), akonsu <[EMAIL PROTECTED]> wrote:
>
> ok :) so then your solution would be to set up your own file storage
> with location that you need.
>
> konstantin
Sounds nice in theory, but I'm having trouble figuring out how to
change the location dynamically,
Any reason why you wouldn't override the save() method of the model in
question? When the model with the data you'd like to summarize is
saved, you could recalc the data then?
J
On Sep 17, 4:20 am, "Bram de Jong" <[EMAIL PROTECTED]> wrote:
> hello all,
>
> I have objects in the db which are
ok :) so then your solution would be to set up your own file storage
with location that you need.
konstantin
On Sep 17, 11:45 pm, Faheem Mitha <[EMAIL PROTECTED]> wrote:
> [This message has also been posted.]
>
> On Wed, 17 Sep 2008 20:14:54 -0700 (PDT), akonsu <[EMAIL PROTECTED]> wrote:
> >
On Wed, 17 Sep 2008 20:14:54 -0700 (PDT), akonsu <[EMAIL PROTECTED]> wrote:
> hm, i never used a callable for uplod_to and what you are saying
> might be true, but if it is, how this behaviour would interact with
> the possibility to use file storage for uploaded files where
> MEDIA_ROOT would
I was playing with this again tonight and it's just not working for me
no matter what I try. I'm wondering if there are issues with
ManyToMany and Inlines and trying to override them?
On Jul 24, 5:23 pm, "Rob Hudson" <[EMAIL PROTECTED]> wrote:
> > SpecialBookFormSet =
hm, i never used a callable for uplod_to and what you are saying might
be true, but if it is, how this behaviour would interact with the
possibility to use file storage for uploaded files where MEDIA_ROOT
would make little sense?
konstantin
On Sep 17, 11:00 pm, Faheem Mitha <[EMAIL PROTECTED]>
[This message has also been posted.]
On Wed, 17 Sep 2008 18:40:12 -0700 (PDT), akonsu <[EMAIL PROTECTED]>
wrote:
> hello,
> upload_to can take a callable, which can be used to change your
> files' location.
> konstantin
Thanks for the suggestion. However, upload_to is appended to
Glad you've got the SSL up and running, anyway.
I wouldn't say I'm an expert, I just stab around until I get things to
work. I do so little server configuration any more I tend to forget much
of what I learned between bouts, and I'm afraid I'm away from home this
week so I don't have the notes I
On Sep 17, 2008, at 11:45 PM, Mathieu Leplatre wrote:
>
> Hi all,
>
> I am starting a new thread, the first one became off-topic (http://
> groups.google.com/group/django-users/browse_thread/thread/
> 34b501d2d1f88496/f8a5d5ef5aeab62a)
>
> I want to do a simple external script that just relies
hello,
upload_to can take a callable, which can be used to change your files'
location.
konstantin
On Sep 17, 2:42 pm, Faheem Mitha <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I wrote some unit tests for file upload. since I didn't want the files in
> the unit tests to be uploaded to the "official
Hi Lisa,
Thanks for the reply.
On Wed, 17 Sep 2008 14:28:59 -0700, Lisa Dusseault
<[EMAIL PROTECTED]> wrote:
> --=_Part_17268_18727299.1221686939556
> Content-Type: text/plain; charset=ISO-8859-1
>
> I have a bunch of unit tests that do file upload too. E.g.:
>
> def testBasics(self):
It turns out that it was because i have multiple domains hosted at
this current location. The ssl.conf file for Apache was configured
for one of the other domains. One I configured that file for the
domain I wanted it for, and moved the VirtualHost stuff from
httpd.conf to ssl.conf, it worked.
On Wed, Sep 17, 2008 at 7:40 PM, Malcolm Tredinnick
<[EMAIL PROTECTED]> wrote:
>
>
> On Wed, 2008-09-17 at 19:30 -0500, Chris Stromberger wrote:
> > Disclaimer: Django newbie here.
> >
> > I have a join type of model access in one of my views like so:
> >
> > recent_staff_reviews =
> >
I am going to try to connect my Django app to several different
databases, so I found this discussion talking about it:
http://groups.google.com/group/django-developers/browse_thread/thread/9f0353fe0682b73
The very first post mentions how to define a custom get_query_set
function, though it is
FWIW,
BDFL Guido van Rossum confirms: Django as cool as it appears
Check
http://gjiro.wordpress.com/2008/09/16/bdfl-confirms-django-as-cool-as-it-appears/
gjiro
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
On Wed, 2008-09-17 at 19:30 -0500, Chris Stromberger wrote:
> Disclaimer: Django newbie here.
>
> I have a join type of model access in one of my views like so:
>
> recent_staff_reviews =
> StaffReview.objects.order_by('-last_update').filter(enabled =
> True).filter(restaurant__enabled =
Disclaimer: Django newbie here.
I have a join type of model access in one of my views like so:
recent_staff_reviews =
StaffReview.objects.order_by('-last_update').filter(enabled =
True).filter(restaurant__enabled = True)[:4]
where the StaffReview model has a foreign key to the Restaurant model.
Karthik Krishnan wrote:
> Hi Norman,
>
> But if I have an empty file, models.py, that should thrown an error.
>
> Thanks,
>
> Kartik
>
> On Sep 17, 1:45 pm, "Norman Harman" <[EMAIL PROTECTED]> wrote:
>
>> [...]
>>> from django.db.models.fields import DateField
>>> File
On Thu, 2008-09-18 at 01:57 +0300, Fedor Tyurin wrote:
> Another possible solution (and probably better one) is to use
> init_command option set to 'SET NAMES utf8'.
Django and MySQLdb already do this by default. Django passes the
"charset='utf-8'" parameter to the connection and MySQLdb turns
Hi, I'm having a bit of trouble getting past the "manage.py syncdb"
command. I am trying to setup :
Postgresql 8.3
Django 1.0
psycopg2
The error I get when I run syncdb is:
psycopg2.OperationalError: could not connect to server: No such file
or directory
Is the server running locally and
On Wed, 2008-09-17 at 08:59 -0700, Brandon Taylor wrote:
> Hello everyone,
>
> I'm using named paths as such:
>
> url(r'^[-\w]+/(?P[-\w]+)/$', 'render_page',
> name='nested_page_link'),
> url(r'^(?P[-\w]+)/$', 'render_page', name='page_link'),
>
[...]
>
> But, this throws an error:
>
>
Note that you can only have one SSL server on an IP address: you can't
have multiple virtual hosts running SSL because the connection has to be
established (using the server's identity) before the Host: header can be
read.
I run the SSL server on my private server as a Virtual Host. This
On Sep 18, 1:03 am, "Whyneedsgoogle2know?" <[EMAIL PROTECTED]>
wrote:
> > > Traceback (most recent call last):
> > > File "", line 1, in
> > > File "/usr/lib/python2.5/site-packages/psycopg2/__init__.py", line
> > > 60, in
> > > from _psycopg import BINARY, NUMBER, STRING, DATETIME, ROWID
> >
Brian, thanks. I forgot to mention this project is using 0.96 (e).
Thanks for the tip tho, ill use that in the future!
On Sep 17, 3:27 pm, "Brian Rosner" <[EMAIL PROTECTED]> wrote:
> On Wed, Sep 17, 2008 at 3:11 PM, Dana <[EMAIL PROTECTED]> wrote:
>
> [...]
>
> > My issues is that I have
Never mind! Figured it out. Used a simple regular expression match to
check which page it was on:
if re.match(r'^/admin/story/story/\d+/$', request.path):
.stuff here.
Cheers
On Sep 17, 2:11 pm, Dana <[EMAIL PROTECTED]> wrote:
> Hello All!
>
> I am hitting a wall when trying to
Another possible solution (and probably better one) is to use init_command
option set to 'SET NAMES utf8'.
2008/9/18 Fedor Tyurin <[EMAIL PROTECTED]>
> I set default-character-set to cp1251 (default server encoding) and now
> admin seems to work correctly
>
> 2008/9/18 Fedor Tyurin <[EMAIL
I set default-character-set to cp1251 (default server encoding) and now
admin seems to work correctly
2008/9/18 Fedor Tyurin <[EMAIL PROTECTED]>
> It seems to be related with database connection properties. I've tried with
> sqlite3 and problem disappeared.
>
> If I run mysql console and request
I have a form on the homepage of mydomain.com that instructs people to
submit their email address and we'll notify them when we launch our
service. For those visitors that submit the form, I want to store the
referer. I am able to print out the HTTP_REFERER on the same template
as the form but I
On Wed, Sep 17, 2008 at 3:11 PM, Dana <[EMAIL PROTECTED]> wrote:
[...]
> My issues is that I have used a context_processor to make the
> "Resources" that are related to the "Story" usable in the templates,
> but the context is being applied to all admin views (as is the nature
> of
OK My brain stopped working Where in that Python Path?
On Sep 17, 4:19 pm, KillaBee <[EMAIL PROTECTED]>
wrote:
> That sounds great, I will try that. and put the old .90 somewhere
> else.
>
> On Sep 17, 4:09 pm, KillaBee <[EMAIL PROTECTED]>
> wrote:
>
> > On Sep 17, 3:49 pm, "Norman Harman"
hello,
i am looking for an advice from people who know django internals well.
to simplify, i have a template that currently uses a custom tag. the
tag emits the needed markup. suppose the template includes several
instances of the tag to generate different pieces of the page.
so in other words
Probably everyone here knows this already, but I did find a working
solution in the documentation on the Sites framework: it was to
concatenate
Site.objects.get_current() with page.get_absolute_url().
To show this in context, I am using it within the custom template tag
for a "simple menu for
It seems to be related with database connection properties. I've tried with
sqlite3 and problem disappeared.
If I run mysql console and request status (\s command) mysql response the
following information about character set:
Server characterset:cp1251
Db characterset:utf8
Client
Better to set the upload filesize limit on your server eg Apache's has
a directive for max file size. Otherwise the file will be uploaded and
checked anyway.
If you want to report an error to the user you could use validation on
the form. The code below returns a error if a file extension is not
I have a bunch of unit tests that do file upload too. E.g.:
def testBasics(self):
testpage = self.test_report.page_set.create(slug="testpage", title =
"Test Page")
self.assertEquals(testpage.report, self.test_report)
testpage.page_spec.save("testgraphspec.json",
There is a thread on localized named urls here:
http://www.b-list.org/weblog/2007/sep/06/tips-and-tricks/
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to
I have a bunch of unit tests that do file upload too. E.g.:
On Wed, Sep 17, 2008 at 11:42 AM, Faheem Mitha <[EMAIL PROTECTED]> wrote:
>
>
> Hi,
>
> I wrote some unit tests for file upload. since I didn't want the files in
> the unit tests to be uploaded to the "official locaion", I changed
That sounds great, I will try that. and put the old .90 somewhere
else.
On Sep 17, 4:09 pm, KillaBee <[EMAIL PROTECTED]>
wrote:
> On Sep 17, 3:49 pm, "Norman Harman" <[EMAIL PROTECTED]> wrote:
>
>
>
> > KillaBee wrote:
> > > Is it possible to have two versions of django running at the same time
> 1. Django .90 installed so that the app works.
> 2. To have this app up and running with .90.
> 3. Django 1.0 installed so that I can shut down .90 and run 1.0.
> 4. Run 1 so that I can recode my app for 1.0
For the dev-server, it's easy (at least in a Bash shell...for
others, YMMV)
Hello All!
I am hitting a wall when trying to modify the admin interface. I have
a model "Story" and on the "change_form.html" page in the admin
interface, I would like to display a box on the right side that shows
a model that has related content. I have created the other model
("Resources")
On Sep 17, 3:49 pm, "Norman Harman" <[EMAIL PROTECTED]> wrote:
> KillaBee wrote:
> > Is it possible to have two versions of django running at the same time
> > on an Ubuntu server(9.0 and 1.0)?
>
> Yes, depending on your definition of "running".
>
> Far too much depends on how you've set things
Hi Norman,
But if I have an empty file, models.py, that should thrown an error.
Thanks,
Kartik
On Sep 17, 1:45 pm, "Norman Harman" <[EMAIL PROTECTED]> wrote:
> Karthik Krishnan wrote:
> > The stack trace is given below
>
> > Traceback (most recent call last):
> > File "manage.py", line 11,
> Is it possible to have two versions of django running at the same time
> on an Ubuntu server(9.0 and 1.0)?
> It is taking to long to recode, and until I do I wanted It up and
> running with the old version.
> I got the tar.gz from the web site, but do I have to get rid of the
> new version?
I
KillaBee wrote:
> Is it possible to have two versions of django running at the same time
> on an Ubuntu server(9.0 and 1.0)?
Yes, depending on your definition of "running".
Far too much depends on how you've set things up and what exactly you
want to accomplish to give advice. Esp based on
Karthik Krishnan wrote:
> The stack trace is given below
>
> Traceback (most recent call last):
> File "manage.py", line 11, in
> execute_manager(settings)
> File "c:\tools\Python25\Lib\site-packages\django\core\management
> \__init__.py",
> line 340, in execute_manager
>
WillF wrote:
>
>
>
> David Durham, Jr. wrote:
>>
>> On Wed, Sep 17, 2008 at 1:35 PM, WillF <[EMAIL PROTECTED]> wrote:
>>> I have written a login view as I have followed the tutorial but how do I
>>> reuse this view in multiple pages of the site?
>>>
>>> Is there a way to render this particular
The stack trace is given below
Traceback (most recent call last):
File "manage.py", line 11, in
execute_manager(settings)
File "c:\tools\Python25\Lib\site-packages\django\core\management
\__init__.py",
line 340, in execute_manager
utility.execute()
File
Is it possible to have two versions of django running at the same time
on an Ubuntu server(9.0 and 1.0)?
It is taking to long to recode, and until I do I wanted It up and
running with the old version.
I got the tar.gz from the web site, but do I have to get rid of the
new version?
Hi everybody,
I'm trying to port my site to Django 1.0... And it works fine if
LANGUAGE_CODE is set to en-us, but if I set it to ru the following
problem appears while I'm trying add new object using admin interface:
Warning at /admin/storage/file/add/
Data truncated for column 'message' at
Hi Norman,
Thanks for the reply. I ended up just having two view functions and a
common call to render_to_response. It's not quite as pretty as I was
hoping for, but it will work just fine for this app.
Kind regards,
Brandon
On Sep 17, 1:53 pm, "Norman Harman" <[EMAIL PROTECTED]> wrote:
>
>> Have you read up on template inheritance?
>> http://docs.djangoproject.com/en/dev/topics/templates/#id1
>
> I've read that part, I can see how that would work if I statically define
> the form. But right now I have
> a view defined that pushes out the LoginForm to my template. So say I have
>
If I understand you correctly, you (for example) have a quicktime1, in reel1
and reel2. In reel1 it is the first of, says 5 quicktimes, and in reel2 it
is the third of 4?
The best solution that appears to me is an extra column in the intermediary
table.
See:
David Durham, Jr. wrote:
>
>
> On Wed, Sep 17, 2008 at 1:35 PM, WillF <[EMAIL PROTECTED]> wrote:
>> I have written a login view as I have followed the tutorial but how do I
>> reuse this view in multiple pages of the site?
>>
>> Is there a way to render this particular view as part of a
I was wondering if someone had thought up a nice solution for
translating the url patterns from 3rd party standalone applications.
I've looked through the documentation on internationalization but it
seems that there is no built in localization of the url patterns. I
personally think it's rather
Hi there,
I would like to chain a few custom filter methods like so:
>>> Model.custom_manager.custom_filter1().custom_filter2()
The docs tell us how to override a Manager's base QuerySet by
overriding the Manager.get_query_set() method:
*
Hi there,
I would like to chain a few different custom filter methods like so:
Model.custom_manager.custom_filter1().custom_filter2()
The docs tell us how to override a Manager's base QuerySet by
overriding the Manager.get_query_set() method:
Hi,
I am building a simple web app that allows me to create a custom web
page of different quicktimes for presentation to clients and the like.
I have it working fine , however i'd like to add control over the
ordering of the quicktimes on the display pages. I am having a tough
time
Brandon Taylor wrote:
> Hello everyone,
>
> I'm using named paths as such:
>
> url(r'^[-\w]+/(?P[-\w]+)/$', 'render_page',
> name='nested_page_link'),
> url(r'^(?P[-\w]+)/$', 'render_page', name='page_link'),
>
> The only difference between these two urls is that some pages in this
> site can
FYI, I answered my own question. It's pretty simple, actually. If you
want process_view() to override the view_func() that was passed in,
simply return new_view_func(). Similarly, if you want to override the
view_args, just return view_func(view_args). Duh.
On Sep 16, 1:37 pm, intrepidweb
On Wed, Sep 17, 2008 at 1:35 PM, WillF <[EMAIL PROTECTED]> wrote:
> I have written a login view as I have followed the tutorial but how do I
> reuse this view in multiple pages of the site?
>
> Is there a way to render this particular view as part of a template, so I
> could have the login form
Hi,
I wrote some unit tests for file upload. since I didn't want the files in
the unit tests to be uploaded to the "official locaion", I changed the
upload location by reassiging MEDIA_ROOT to something else, '/tmp' in this
case.
With an upgrade to Django 1.0, this method no longer works.
I have written a login view as I have followed the tutorial but how do I
reuse this view in multiple pages of the site?
Is there a way to render this particular view as part of a template, so I
could have the login form (or anything for that matter) be displayed on
every single page?
--
View
Ah, I see. It is possible there is the odd typo, and useful
information omission, in the Definitive Guide. I've found the
documentation on the Django website to be *mostly* error free. The
CharField for example is accurately documented (http://
docs.djangoproject.com/en/dev/ref/models/fields/
I figured it out. If someone wants to know how to do it, here is the
snippet:
http://www.djangosnippets.org/snippets/1063/
On Sep 17, 9:54 am, saeb <[EMAIL PROTECTED]> wrote:
> Can some please help me with this issue? I have been trying all sorts
> of stuff for past few hours and django
Hmmm I played around a bit more. I don't think this is a Django
problem. I reduced the virtual host entry to:
ServerName mysite.com
ServerAliaswww.mysite.com
DocumentRoot "/home/django/test"
That fails too. If I change that port to 80, it works. Must be
something my host
If you run something like
>>> import django.contrib.gis.gdal
>>> print django.contrib.gis.gdal.libgdal.gdal_full_version()
GDAL 1.5.0, released 2007/12/18
>>>
you should get the version number of the GDAL library -- and with an added
bonus the import statement will have loaded the GDAL libraries,
You can use the django.contrib.sites application, which is listed in
INSTALLED_APPS by default, for this. Here's something to show how to use
it.
from django.contrib.sites.models import Site
def get_domain():
return Site.objects.get_current().domain
You just need to update the domain name in
On Sep 17, 4:54 pm, "R. Gorman" <[EMAIL PROTECTED]> wrote:
> Glad to hear you have some of your setup up and running.
>
> Your comment on defining fields in the models surprised me though.
> All the fields for your models in Django should start with model,
> followed by the field-type, as the
How does one get the domain the application is running on?
I have an email template where I pass in a url , obviously the url needs to
be fully qualified. How do i make it so that I do not have to hardcode the
domain, so the application can run on different environments without
changing
On Sep 17, 7:01 am, Jarek Zgoda <[EMAIL PROTECTED]> wrote:
> Wiadomość napisana w dniu 2008-09-16, o godz. 19:31, przez Mark:
>
> > I tried everything:
> > - Deleted django/contrib/comments*.pyc files (a number of times)
> > - updated to svn latest (a number of times :) )
>
> That's not
A video from DjangoCon 2008 by James Bennett about exactly the same
thing:
http://www.youtube.com/watch?v=A-S0tqpPga4
Erik
On 17.09.2008, at 16:13, WillF wrote:
>
>
> Hi I am new to django and python, and I have a question about best
> practices
> with regards to applications. From what I
On Sep 17, 7:29 am, Delta20 <[EMAIL PROTECTED]> wrote:
> PS: Does anyone know what Cal was using to show the queries in
> Pownce(I think that's what it was)? That looked pretty handy.
I don't know what tool it was or if it is available but I started a
project with a similar purpose that is
On Tue, Sep 16, 2008 at 3:13 PM, David Durham, Jr.
<[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I'm working through a simple wizard using the formtools wizard stuff.
> My issue is that my forms don't display with niceties such as date
> time popup and foreign key 'add' options. Is there something
I'm trying out chartdirector and storing chart definitions in a
database.
For you who are not familiar with chartdirector it generates charts by
defining content in layers. The order of the layers determine the
order it is drawn so it is important to get the order right. Now there
are different
Hello everyone,
I'm using named paths as such:
url(r'^[-\w]+/(?P[-\w]+)/$', 'render_page',
name='nested_page_link'),
url(r'^(?P[-\w]+)/$', 'render_page', name='page_link'),
The only difference between these two urls is that some pages in this
site can be nested under another page. So, I would
Hi all,
I am starting a new thread, the first one became off-topic (http://
groups.google.com/group/django-users/browse_thread/thread/
34b501d2d1f88496/f8a5d5ef5aeab62a)
I want to do a simple external script that just relies on django's
ORM.
So I did a single file testdjango.py :
--
import
On Sep 17, 4:29 pm, Delta20 <[EMAIL PROTECTED]> wrote:
> PS: Does anyone know what Cal was using to show the queries in
> Pownce(I think that's what it was)? That looked pretty handy.
Didn't he only briefly show the Pownce debugging toolbar on the very
top of the page? The next slide is from
Hello,
I'm using Django 1.0 and I specified two different admin sites. Now I
want to use different templates for these admin sites, but when I
place these templates in the template directory the template in
templates/admin/ is used for both admin sites. What I have to do that
both admin sites
R. Gorman ha scritto:
> Wow, sorry I didn't pick up on all the settings and their effects you
> provided - haven't dug into 1.0 myself and the PythonOption
> django.root is a new one for 1.0. I looked more thoroughly at your
> settings and they all appear correct, you have the root defined in
>
> > Traceback (most recent call last):
> > � File "", line 1, in
> > � File "/usr/lib/python2.5/site-packages/psycopg2/__init__.py", line
> > 60, in
> > � � from _psycopg import BINARY, NUMBER, STRING, DATETIME, ROWID
> > ImportError: dlopen(/usr/lib/python2.5/site-packages/psycopg2/
> >
If there is data you would like available to every template you want
to look into context processors. There's a good tutorial for it here:
http://www.b-list.org/weblog/2006/jun/14/django-tips-template-context-processors/
R.
--~--~-~--~~~---~--~~
You received this
Glad to hear you have some of your setup up and running.
Your comment on defining fields in the models surprised me though.
All the fields for your models in Django should start with model,
followed by the field-type, as the documentation states. Are you sure
you have models module being
Can some please help me with this issue? I have been trying all sorts
of stuff for past few hours and django documentation seems
insufficient. I can see that the file is loaded in memory, but doesn't
get attached. I couldn't find any examples dealing with this sort of
case.
thanks again.
On
Wow, sorry I didn't pick up on all the settings and their effects you
provided - haven't dug into 1.0 myself and the PythonOption
django.root is a new one for 1.0. I looked more thoroughly at your
settings and they all appear correct, you have the root defined in
apache so you should not need it
I can't view my site over ssl. If I go to http://www.mysite.com, the
site works. If I go to https://www.mysite.com, I get a secure
connection, but my django app isn't get served, but rather /var/www/
index.html is. Here's my apache config for mysite:
ServerName mysite.com
ServerAlias
Ok finally got this resolved there were several problems.
Following the book the Definative Guide to Django and online
documentation somehow did not eliminate several snags,
I'd like to post my findings here.
1. postgresql psycopg2 had best be installed on server
and tested before moving
Thanks Malcolm for giving the background for some of this comments.
Taken out of context, that talk was indeed a little bit misleading.
Even without knowing the context, I felt that most of his points are
not showstoppers for most projects. The good very comfortably
outweighs the bad, so much so
hey.
can i use double render_to_response in a one page, or anyway ?
actually i want to loading default datas, like categories list or my
latest 10 post.
am i have to add datas everytime (every view) with
render_to_response ?
thanx.
--~--~-~--~~~---~--~~
You
I've found that mixing Windows/Cygwin binaries for Python/Django creates
confusing problems. It's best to treat each environment like the other
doesn't exist with respect to dependencies.
It looks like you are using the Windows binary instead of the one compiled
for cygwin.
-Nathan
On Wed,
On Wednesday 17 Sep 2008 5:01:45 pm TKa wrote:
> Because I need input from the Django models for the image I want to
> call the drawing function from the view. I guess I could save the
> image file to temporary folder and then link the image tag to that
> file in Response but is there any better
I believe this plugin is to track how many visitors are there in the
site, or in the same page. I needed some way to show the usernames of
the people who are currently logged in. What can be the smartest way
to do that?
--~--~-~--~~~---~--~~
You received this
On Sep 16, 10:33 pm, "R. Gorman" <[EMAIL PROTECTED]> wrote:
> What is in your urls.py file? That's where your urlpatterns should be
> stored. > R.
my url.py is simply
from django.conf.urls.defaults import *
Hi I am new to django and python, and I have a question about best practices
with regards to applications. From what I understand applications should be
pluggable and portable to other "projects". So When do you know to start a
new application?
For instance if I am working on a social
Perhaps you could call a script on the other domain to
update/delete/whatever the cookie in question?
Tim ^,^
On Wed, Sep 17, 2008 at 2:05 PM, Tim Kersten <[EMAIL PROTECTED]> wrote:
> I didn't think it was possible to delete/modify/create cookies for
> other domains obvious security
I didn't think it was possible to delete/modify/create cookies for
other domains obvious security issues and all than, no?
Tim ^,^
On Wed, Sep 17, 2008 at 1:59 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> hi all
>
> please, i would like to ask for a little help. I am getting
hi all
please, i would like to ask for a little help. I am getting cookie from
another domain for instance called XXX. Them i am parsing it through
some tests and create new cookie also caled XXX. This creates the cookie
from my domain(so i have two cookies with same name but from different
Which documentation are you talking about??
On Sep 17, 3:49 pm, Erik Allik <[EMAIL PROTECTED]> wrote:
> A few months ago I had a similar need and I believe the documentation
> helped me out.
>
> Erik
>
> On 17.09.2008, at 11:23, laspal wrote:
>
>
>
> > Hi,
> > I wanted to know how I can attach a
Thank you for both of you for the fast reply. I'm still a Django
newbie and I didn't know that the HttpResponse has these features. I
suppose I need to study the HttpResponse documentation more carefully
now. I will just need the basic web-formats so I think I will get
things work with these
1 - 100 of 124 matches
Mail list logo