cannot reproduce TemplateDoesNotExist error on page 17? i found
something* that tells you to change your settings.py SITE_ID = 2
made it work fine.
nope - i have no idea what SITE_ID = 2 means either.
* ref: '[EMAIL PROTECTED]' from django users group july-
ish 2007
--~--~-~--~~-
page for every two products, see the
documentation at:
http://docs.djangoproject.com/en/dev/topics/pagination/
Please try to be more specific and informative in your questions, it
will help you get better answers.
- Joe
--~--~-~--~~~---~--~~
You received this mess
On Apr 26, 5:42 am, Martin Lundberg wrote:
> I was told to create a middleware which I did but it feels wrong since
> it is called on every request for everything. And if I add
> authentication by Twitter and maybe Google, there will be even more
> middleware that is called everytime.
>
> What is
Ok, so when I do exactly as the tutorial says, I get hella errors. I
change directory to where I want to store my project which goes fine,
then:
>>> django-admin.py startproject mysite
SyntaxError: invalid syntax
with 'startproject' highlighted. The django-admin.py file is in the
directory I chang
Aaaah cheers, I knew there was something fundamentally wrong. Got it
working now.
On Dec 9, 6:58 pm, Martin Melin wrote:
> On Thu, Dec 9, 2010 at 7:03 PM, Joe wrote:
> > Ok, so when I do exactly as the tutorial says, I get hella errors. I
> > change directory to where I want to s
What about www.librehosting.com?
On Dec 24, 2009, at 2:26 PM, JeffH wrote:
> Tried DreamHost, which is OK for shared static sites; fuggetaboutit
> vis a vis Django. I've been using http://www.valcatohosting.com/. They
> have some good getting started docs and excellent support. Good for
> low vo
On Apr 14, 6:15 pm, Bill Freeman wrote:
> I'm running code from the manage.py shell to load stuff (from an XML export
> from
> an excel read of a SQL Server dump, of all things), which gets a database
> error
> (Postgersql correctly noticing that a value is too long for a field,
> for instance)
Are you using Apache Prefork or MPM?
On Jun 21, 9:39 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> Error can be seen herehttp://beta.atlantaicecompany.com/
>
> AGDWeb is an app in a totally separate project under the same
> PythonPath. It has a separate settings file.
>
> I am not using a
Yes. You need to meet several conditions though:
1. Obviously, the settings files for both sites must point at the same
database
2. The two sites can't use the same model names. If they do, they
will share the data in those models as well, not just the users
tables.
3. The settings files for
Oops, mean to say subdomain in part 4
On Jun 21, 3:48 pm, Joe <[EMAIL PROTECTED]> wrote:
> Yes. You need to meet several conditions though:
>
> 1. Obviously, the settings files for both sites must point at the same
> database
>
> 2. The two sites can't use the
James is correct. Steps 3-5 above actually refer to automatic
login(user stored in session) and session sharing, not just sharing
users. However, I assumed you would want to do this as well.
On Jun 21, 4:14 pm, "James Bennett" <[EMAIL PROTECTED]> wrote:
> On 6/21/07, Petey <[EMAIL PROTECTED]> wr
Hi,
I have a model that has a OneToOneField to User and a limit_choices_to
parameter set:
class Profile(models.model):
[---tab---] user = models.OneToOneField(User,
limit_choices_to={'is_staff':True})
When I use this is_staff parameter, I can only see staff users when I
log in to the Django adm
Found it. In line 745 and 746 in main.py in django/contrib/admin/
views
if self.opts.one_to_one_field:
qs =
qs.complex_filter(self.opts.one_to_one_field.rel.limit_choices_to)
What was the thought behind this, and why wouldn't this be optional?
On Jun 28, 8:52 am
'django.middleware.common.CommonMiddleware',
'django.contrib.flatpages.middleware.FlatpageFallbackMiddleware',
'django.contrib.redirects.middleware.RedirectFallbackMiddleware',
)
SESSION_COOKIE_DOMAIN=".mydomain.com"
CACHE_MIDDLEWARE_SECONDS = 1500
CACHE_MIDDLEWARE_KEY_PREFIX = '&
...
On Sep 10, 1:39 pm, Michael Radziej <[EMAIL PROTECTED]> wrote:
> On Mon, Sep 10, Joe wrote:
>
> > Hi,
>
> > I have a medium-traffic django site (maybe 2 page views a day) and
> > I am having a problem with users trying to log into the site.
>
> > I a
Ok, just noticed that Django has etags disabled by default, and I
haven't touched that setting.
Any other ideas?
On Sep 10, 1:50 pm, Joe <[EMAIL PROTECTED]> wrote:
> The domain of the cookie is .mydomain.com.
>
> How do I disable ETags? I have the common middleware instal
Something to try - ensure apache is reading your vhosts.conf file -
there is a line in httpd.conf that points to a vhosts.conf file - or
put the directives right in httpd.conf to test.
On Mar 1, 12:45 pm, "leland" <[EMAIL PROTECTED]> wrote:
> what's up gang - i've got everything installed on my m
We had a similar problem when a process you start tries to send a
signal to python indicating a warning or something similar. There is
a know version in older versions of python that causes it to ignore
these signals and hang the process. Try upgrading python.
On Mar 13, 8:46 am, "Ino Pua" <[EM
It sounds like you shouldn't be using Django, honestly. You would be
fighting against/hacking around most of the functionality of django
because django is an MVC framework and you guys basically are trying
to re-write the model architecture. If you really really really want
to use django, you sh
I was wondering what the status of this is? I know that it broke a
while back with the introduction of magic object removal, and has been
in the pipeline since. I just tested it out on my recent SVN checkout,
and it seemed to create the tables in the database in the way that one
would expect. Howe
One way is to create a template tag to access the setting, that way
you don't have to pass it in through the context every time you raise
a 404.
On Sep 10, 6:20 am, Ryan K <[EMAIL PROTECTED]> wrote:
> Hi. I have certain settings about the locations of static files (like
> CSS files) that I need t
The easiest way to to this is look at the create table SQL generated
by the manager.
python manage.py --settings=my_settings sql my_app
Then, run the appropriate query once you know the datatype created
when you added the column.
For example, in postgres:
ALTER TABLE myapp_mymodel ADD COLUMN m
is is true, what is the disadvantage to tagging a release every
couple of months? It would provide a serious benefit to those of us
who have to deal with corporate red tape.
I know this may seem a little harsh and may get your blood stirred up,
but I ask you to consider it rationally as a way to h
I think it would really help us
"corporate middle managers" out!
Maybe you can tag "Release Candidates" with no guarantee of bug fixes?
Regards,
Joe
On Oct 1, 11:50 am, Malcolm Tredinnick <[EMAIL PROTECTED]>
wrote:
> On Mon, 2007-10-01 at 06:05 -0700, Joe wrote:
>
naturally shrinks as you get closer and closer to the date. with
> frequent releases, you'll find the users don't bitch too much when you
> tell them "sorry, X didn't make it into this one because it {'took
> longer','fell to higher priority work'}
Can you post the command line output?
On Oct 3, 11:45 am, Rob Hudson <[EMAIL PROTECTED]> wrote:
> I'm working on an advanced search feature for a website and am using
> request.session to store the search terms so pagination will remember
> and paginate correctly. While working with the built-in
On Oct 4, 3:39 pm, Jonathan Ballet <[EMAIL PROTECTED]> wrote:
> * I have methods on instances of my class which should not be there
> (.create, .delete, .save) (at least, I'm not using materialized
> views).
I think a good thing to do with these would be to override the methods
and raise a NotI
I am using the Django cache middleware to cache my site. I had to set
CACHE_MIDDLEWARE_ANONYMOUS_ONLY = True because some content changes
based upon which user is logged in (Hello, username).
If I go into the template and do some template fragment caching, will
it ignore the setting abov
Well, after looking at the code, it appears the template tag ignores
the CACHE_MIDDLEWARE_ANONYMOUS_ONLY setting.
Thanks to all those who responded!
(PS: I was just kidding)
On Oct 22, 11:50 am, Joe <[EMAIL PROTECTED]> wrote:
> I am using the Django cache middleware to cache my site.
I am running into a performace problem with Django and scaling.
I have enabled the caching middleware, but had to set
CACHE_MIDDLEWARE_ANONYMOUS_ONLY=True so I could continue to use the
admin interface.
Now, authenticated users are beginning to put a noticeable load on the
server.
How do I impl
lue of
the cookie header?
On Oct 30, 10:50 pm, Malcolm Tredinnick <[EMAIL PROTECTED]>
wrote:
> On Tue, 2007-10-30 at 05:43 -0700, Joe wrote:
> > I am running into a performace problem with Django and scaling.
>
> > I have enabled the caching middleware, but had to set
> > C
to vary on request.user.is_authenticated, and NOT the value
of
the cookie header?
On Nov 1, 11:39 am, Joe <[EMAIL PROTECTED]> wrote:
> Correct me if I'm wrong, but wouldn't this place more load on the
> server to to this, as an anonymous user visiting the site for the
> first time would
Sorry, meant to NOT vary on the value of the cookie header.
On Nov 1, 11:39 am, Joe <[EMAIL PROTECTED]> wrote:
> Correct me if I'm wrong, but wouldn't this place more load on the
> server to to this, as an anonymous user visiting the site for the
> first time would
I am considering switching from mod_python and apache to lighttpd and
fastcgi because of the large number of virtual hosts I am serving.
Because each virtual host gets its own sub interpreter, each apache
instance on my server can weigh in at over 160 megs.
I have heard that apache-mpm, mod_pyth
A newer version of Django may be passing in a unicode string instead
of an ASCII one. The make_thumbnail() function may be expecting an
ASCII string.
On Nov 5, 1:35 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> OK, I attempted to install patch 2070, and failed miserably, messing
> up /cor
Also, should I take a look at mod_wsgi?
On Nov 5, 11:22 am, Joe <[EMAIL PROTECTED]> wrote:
> I am considering switching from mod_python and apache to lighttpd and
> fastcgi because of the large number of virtual hosts I am serving.
>
> Because each virtual host gets its own sub
e is more important
> for a specific application than memory consumption.
>
> Graham
>
> On Nov 6, 6:11 am, Joe <[EMAIL PROTECTED]> wrote:
>
> > Also, should I take a look at mod_wsgi?
>
> > On Nov 5, 11:22 am, Joe <[EMAIL PROTECTED]> wrote:
>
&g
Can you open a python interpreter and import your application?
I place a sim link (ln -s) within the python site-packages directory
to my project directory and the django source directory.
J
On Nov 5, 4:37 pm, stranger <[EMAIL PROTECTED]> wrote:
> Hello I am using Fedora 7. I am using Django for
You could also add some functions to the models to add pull the
related data
class TagItem(models.Model):
...
def get_related_artists(self):
# pull the data
return data
That function is available in the template and can be called inline so
to speak.
Joe
On Nov 6, 12:40 pm, "[
Sounds like some sort of user access problem - like the www-data
(default for ubuntu) user that Apache runs with can't access that
directory or read that file. Odd that your users can access the page
though.
J
On Nov 6, 8:40 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> I have a website,
I use webfaction and I've found them to be great.
J
On Nov 8, 2:19 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> Hi guys.
> These guys seem to have very tempting packages. They say they support
> django. What I'd like to know is what kind of support? Do I have to
> install it on my home f
There's a few things to put together -
urls.py needs something like (add a line before the normal admin
line):
(r'^admin/your_report/csv/$',
'yourproject.admin_views.report.csv_report'),
(r'^admin/', include('django.contrib.admin.urls')),
Then in your admin_views/report.py (or whatever you
How about :
Book.objects.order_by('?')[:1].get()
On Nov 9, 2:26 pm, LorenDavie <[EMAIL PROTECTED]> wrote:
> How about this:
>
> import random
> Book.objects.all()[random.randint(0,Book.objects.count()-1]
>
> On Nov 9, 2:00 pm, Hani <[EMAIL PROTECTED]> wrote:
>
> > Hi James,
>
> > I did go thro
You could try encoding the data in your view - something like:
try:
cleandata = rawinput.encode("iso-8859-1", "ignore") or 'Unknown data
type'
except:
# Whatever you want here
pass
Just an option. Also depends on what you need to capture and return to
users. I too deal with odd encodings.
On
Try creating symbolic links in your site-packages directory to your
django source and application source.
ln -s
Joe
On Nov 16, 11:24 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> I've been writing a Django app at work using Windows XP and Apache.
> Everythin
You can query the database directly:
from django.db import connection
# Database connection
cursor = connection.cursor()
# Raw Query
cursor.execute("SELECT statement;")
rows = cursor.fetchall()
J
On Nov 22, 12:55 pm, Adam Seering <[EMAIL PROTECTED]> wrote:
> Hi all,
> I have code that
I've done this but with a manually built form.
You can just add the extra form fields to the template, then reference
those extra fields in your view.
new_data['your_new_fieldname'] will work as expected.
In your view you might first create the user object - then create the
customer object rela
from pulling up all related
records when the object is loaded etc. While I would have expected
this to only affect the admin side, it had a huge impact on the public
side of our site. Memory consumption went from +500mb to 20-30mb.
Joe
On Dec 11, 12:53 pm, Richard Coleman <[EMAIL PROTECTED]>
To make things easy, you could download VMware Server - run that on
your windows box and install the prebuilt appliances. That'd make it
easy to try out a few linux versions. VMware is free as are the
appliances.
I use ubuntu primarily.
j
On Dec 9, 9:57 am, Andreas Pfrengle <[EMAIL PROTECTED]>
code. I was able to successfully run the third-party
library installation tests at [4] and also the DataSource example at
[5], in case that helps to shed any light on the soundness of my
installation.
Should the example still work with the latest svn revision of
GeoDjango? The IPython session
ired for geographic
> models.
I appreciate your taking the time to explain the issue. It's very
helpful for someone just starting out with GeoDjango.
Thanks,
Joe
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Gro
re to look, and what to change?
Thanks,
Joe
--~--~-~--~~~---~--~~
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 gr
?
>
> J
>
> On Dec 14, 9:00 am, Joe <[EMAIL PROTECTED]> wrote:
>
> > Configuration: Django .96, apache 2.0 prefork, mod_python 3.1, python
> > 2.3.5
>
> > Symptoms: Monitor site (using wget) can't get HTTP status, netstat
> > shows a dramatic i
Hope this helps,
Joe
--~--~-~--~~~---~--~~
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 [
Are the news and articles using the same fields?
if so, you can do some custom SQL like this (warning: hack follows):
News.objects.extras([ ' WHERE [...] UNION (SELECT * FROM ARTICLES
WHERE [...] )' ])
--~--~-~--~~~---~--~~
You received this message because you
I am running Django on a webserver in conjunction with a fileserver and
a database server. All of these machines have over 6 gigs of ram and
dual core Xeon processors. They also are running on raid-5 HDD.
However, as little as 5000 hits a day brings my site down to a crawl
during peak hours!
I would appreciate ANY idea, no matter how far-fetched it may seem. I
will also gladly provide further information if you need it.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Django
users" group.
To post to t
I would be glad to offer as much information as possible, I just really
need a direction to start looking. I have read performance tuning
guides (including the one by Jacob) and implemented the suggestions.
None seem to work.
--~--~-~--~~~---~--~~
You received th
A separate Apache install on a separate server. We have three separate
physical machines: a web server, file server and DB server
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Django
users" group.
To post to th
I would have to guess that they are slow (dialup or slow DSL). Here
are some of my apache config settings:
TimeOut 300
KeepAlive On
MaxKeepAliveRequests 500
KeepAliveTimeout 2
StartServers 8
MinSpareServers 5
MaxSpareServers 20
MaxClients 75
MaxRequestsPerChild 1024
StartServers 2
Thanks. I will try to disable it. Also, I get an error message when I
try to increase the shared_buffers setting:
FATAL: could not create shared memory segment: Invalid argument
DETAIL: Failed system call was shmget(key=5432001, size=182059008,
03600).
HINT: This error usually means that Po
Well, we figured it out. The USB bus on the motherboard of the WS was
failing, and Linux was writing a ridiculous amount of error messages
to the log, which crippled hard drive IO. Go figure.
On Jan 15, 9:01 pm, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote:
> On 15-Jan-07, at 10:2
schema changes initially, since for
migration we wanted to start by using Django's admin module, while
keeping the remainder of the PHP website/app untouched.
So, any chance that multi-column keys will be supported soon?
Joe
--~--~-~--~~~---~--~~
You received this
//' (unless the URL is for an https) since the app provides that
default where necessary. Is URLField compatible with that behavior?
Thanks for your assistance.
Joe
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Gr
Malcolm Tredinnick wrote:
> On Wed, 2006-07-19 at 21:25 -0400, Joe wrote:
> I could have sworn I answered this just yesterday on this list:
> http://groups.google.com/group/django-users/browse_frm/thread/a13b9b12488569ef/549fa8112c0c97a7#549fa8112c0c97a7
>
> Short answer: "
I've posted the following comment at
http://www.djangoproject.com/documentation/tutorial1/ but thought
perhaps it belongs here.
n many instances, if you make a mistake following the tutorial, either
accidentally or intentionally (e.g., if --to experiment-- you leave out
the 'votes' parameter when
re in 0.95). So how does one recover from the
aborted transaction?
Joe
--~--~-~--~~~---~--~~
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
We use a scheduled migration from SQL Server to Postgres with a third
party app:
http://www.sqledit.com/mk/index.html
It has to be run on a windows box, but it allows you to do cool things
like create a table in the postgres database with the results of a SQL
query on the SQL Server database. T
You could just strip the path out and get the filename when you extract
the file from the database. Something like:
def get_file_without_path(self):
start=self.file.rfind('/')
return self.file[start+1:]
--~--~-~--~~~-
You could write a 'save' hook that renames the file and updates the
database with this change. Example:
class Blog(models.Model):
name = models.CharField(maxlength=100)
tagline = models.TextField()
def save(self):
do_something()
super(Blog, self).save() # Call the "re
I'm not sure Django supports this 'out of the box'. You could try
adding a template tag to the base_site.html folder. I'm pretty sure
Django passes in the model name into the context of the template. You
should be able to find this in the Django source (I'm not sure where
off the top of my head
this working? (Note: I will not be setting up the
Cron job, nor do I know now. I will simply be giving a python script
to our IT staff for them to set up).
Thanks for the help,
Joe
--~--~-~--~~~---~--~~
You received this message because you are subscribed t
Use a user profile. Define a model similar to the following:
[code]
from django.db import models
from django.contrib.auth.models import User
class Profile(models.Model):
#add extra fields you want here
user =models.ForeignKey(User
,unique=True,edit_inline=models.S
Why don't you just create a file called root_settings.py that has all
of the common settings files, and then create a settings file for each
web site that imports root_settings.py?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the G
Thanks for the tip! However, when I use the shell in Django, I use the
command : python manage.py shell. I was just wondering if there was
some behind the scenes setup (in the path, for instance) that was being
done that I would have to do on the Cron job.
--~--~-~--~~~-
Thanks a bunch!
--~--~-~--~~~---~--~~
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
You may have a name conflict. Rename the file 'linkroll.py' to
'linkroll_tags.py' or something similar.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to dja
You could write a database trigger and bypass Django entirely.
--~--~-~--~~~---~--~~
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
You could write a post-save hook that manipulates the file after they
are saved. Consider using the following python tool:
http://www.python.net/crew/zack/pymagick/
This requires you to have image magik on your server.
--~--~-~--~~~---~--~~
You received this me
Hey, I have a url regex like this which is keeping django extremely busy
(20secs to 1min to handle a request). On some urls it even crashes.
my regex:
url(r'^(?P(\w+-?)*)/$', 'detail'),
view:
def detail(request, item_url):
i = get_object_or_404(Page, url=item_url,published=True)
return
I am using django's sites framework with dajngo 1.7. I am calling the site
name through a context processor like below. The problem is that every time
the page loads, it switches between site1 and site2:
def site_info(request):
Site.objects.clear_cache()# i tried with and without this
mentRoot. There's absolutely no reason to do it that way. You're just
> asking to have your settings.py file exposed by a misconfigured apache
> instance.
>
> On Sat, Apr 11, 2015 at 10:02 AM, Joe >
> wrote:
>
>>
>> I am using django's sites
ent
>
> On Wed, Apr 15, 2015 at 8:47 AM, Joe >
> wrote:
>
>> How do you set it to the dummy cache?
>>
>> On Saturday, April 11, 2015 at 2:06:10 PM UTC-7, Stephen Butler wrote:
>>>
>>> What happens if you disable all caching (try setting it to t
In addition to all of the reasons Jason posted, a private GitHub repository
does not guarantee you any security of your data.
>From https://help.github.com/articles/github-terms-of-service/ :
"GitHub does not warrant that the Service will meet your requirements; that
the Service will be uninter
I have installed django, Postgresql, and psycopg2 and went to migrate a
project to a new database I created on postgresql, This is the error
message I got.
Traceback (most recent call last):
File "manage.py", line 15, in
execute_from_command_line(sys.argv)
File
"/Users/JosephConrad
more likely it looks as if you are using wrong quotation
> marks other than ' or ". I dont even have on my keyboard whats in your
> error message.
>
>
> Am Mittwoch, 14. Februar 2018 01:17:43 UTC+1 schrieb Joe:
>>
>> I have installed django, Postgresql, and
I used TextEdit on Mac to edit the files, maybe using a different editor
would work better.
On Wednesday, February 14, 2018 at 5:41:24 PM UTC-5, larry@gmail.com
wrote:
>
> On Wed, Feb 14, 2018 at 5:32 PM, Joe >
> wrote:
> >
> > DATABASES = {
> >
The problem was with the quotes being weird format, had to copy and paste
the correct quotes in for it. Thanks for the help!!
On Wednesday, February 14, 2018 at 9:59:06 PM UTC-5, Joe wrote:
>
> I used TextEdit on Mac to edit the files, maybe using a different editor
> would work bette
I am in the process of setting up a django server. I am trying to connect
our 4 legacy DBs to her. I have created a separate app for each DB, added
the app_label to the meta of the model and wrote a read only router for
each db. This was working fine until i got to the last one. The routing is
tes for
each of the three outputs.
There's something about this that seems wrong, but I can't imagine a
cleaner solution. Any thoughts?
Joe
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users"
ve come up with
blanks.
I understand the security risks in something like this, I also
understand the job-security risks in not doing this.
Thanks,
Joe
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django u
Hi Bruno,
Your solution is more elegant and more DRY than the approach I took.
This is what I ended up with:
# urls.py
(r'^election/results/(?P[-\w]+)/(?P\d{4})/((?
P(js|htm))\/)?$', 'race.views.racename_detail'),
# views.py
def get_filetype(filetype):
if filetype:
return filetype
t was caused
> by changes queryset-refactor, especially the way QuerySets behaved
> during pickling.
>
> Sorry I can't give you the exact link :(
>
That rings a bell -- think that was Ned Batchelder's "A server memory
leak" article?
http://n
I am working on an "Issues" application and I want to execute code to
send an e-mail to an assignee after an issue has been added. I saw
that there are signals I can intercept for pre- and post-save, but how
could I only limit to insert and not update events?
--~--~-~--~~
On Oct 13, 1:53 pm, bruno desthuilliers
<[EMAIL PROTECTED]> wrote:
> On 13 oct, 18:11, Joe Sr <[EMAIL PROTECTED]> wrote:
>
> > I am working on an "Issues" application and I want to execute code to
> > send an e-mail to an assignee after an issue has been ad
>You could try using a tag to explicitly state what the
>base for relative URLs should be.
Thanks Ned. That sounds like it will work. I'll try it.
>I would sugest that you look at named urls and the {% url %} template
>tag. That way you can generate urls with the use of args for year,
>month
I've been developing with the development server with the default settings
without problems. My main development is done in a Windows virtual machine
running on a Macbook Pro. Today I wanted to test the output with Safari.
Since I don't have that installed in Windows, I decided to just try
connect
ccessing the development server from another machine.
On 3/4/09, Joe Goldthwaite wrote:
>
> I've been developing with the development server with the default settings
> without problems. My main development is done in a Windows virtual machine
> running on a Macbook Pro. Today
:38 AM
To: django-users@googlegroups.com
Subject: Re: Accessing the development server from another machine.
Joe Goldthwaite wrote:
> My main development is done in a Windows virtual machine
> running on a Macbook Pro. Today I wanted to test the output with Safari.
[snip]
> It looks like
re must be a setting somewhere.
_
From: django-users@googlegroups.com [mailto:django-us...@googlegroups.com]
On Behalf Of Karen Tracey
Sent: Wednesday, March 04, 2009 3:00 PM
To: django-users@googlegroups.com
Subject: Re: Accessing the development server from another machine.
On We
1 - 100 of 272 matches
Mail list logo