On Thu, Jul 3, 2008 at 2:18 PM, laspal <[EMAIL PROTECTED]> wrote:
>
> Hi,
> Thanks for the help but still I am not able to login in my test
> client..
>
> here is the code:
>
> from django.test import TestCase
> from django.test.client import Client
>
> class IndustryTest(TestCase):
>fixtures
Hi Bryan,
maybe I don't quite get what you are trying to do.
URLs like www.mysite.com/Foo/ don't relate to filesystem paths
(like /home/django/Foo). They are mapped to python functions. This might
confuse you if you come from a PHP background. Usually you don't clone
project, apps or any kind of
Hey I am able to run the test by using :
class IndustryTest(TestCase):
fixtures = ['/fixtures/initial_data.xml']
def setUp(self):
self.client = Client()
response =self.client.post('/ibms/login/',
{'username':'laspal', 'password':'abcd'})
def test_addIndustry( self):
Hey I am able to run the test by using :
class IndustryTest(TestCase):
fixtures = ['/fixtures/initial_data.xml']
def setUp(self):
self.client = Client()
response =self.client.post('/ibms/login/',
{'username':'laspal', 'password':'abcd'})
def test_addIndustry( self):
Try:
for key in request.session.keys():
del request.session[key]
Regards,
Daniel Hepper
Am Mittwoch, den 02.07.2008, 20:57 -0700 schrieb Bobby Roberts:
> > for key in request.session:
> > del request.session[key]
>
>
> I get the following error:
>
> Exception Type: KeyError
> E
Thanks, Alex - very cool - all works now!
Thomas
On Jul 3, 8:55 am, Alex Koshelev <[EMAIL PROTECTED]> wrote:
> There is[1] special parameter named `data` that represents GET query
> as dictionary. Or you can pass QUERY_STRING parameter with raw GET
> string
>
> [1]http://www.djangoproject.com/do
Hi,
On Jul 3, 6:58 am, Ramdas S <[EMAIL PROTECTED]> wrote:
> It is any day better than PHP..
This is almost definitely the wrong list to be writing comparisons,
but as a long-time PHP user (and now a Django user), I have to say
that PHP is not as bad or useless as Python apologists tend to make
I'm a recent college graduate, and I haven't written any real program.
I'm trying to learn the more advance topics in Python... Its
impossible to get an entry-level Python job.
What part of Django source code should I read first?
--~--~-~--~~~---~--~~
You received
yes, but it's only for limpidity :) and I need the user to chose only one
option from the list. Just can't count on that user wil chose to fill only
one field with choices if there are more possible fields with choices.
And it isn't possible to add to oe field multiple choices lists (i mena
some
In terms of advanced concepts in python, the metaclass usage in the
model system is pretty advanced. And the SQL generation stuff in the
Query class is probably pretty cool alogirthmwise.
On Jul 3, 3:22 am, Rit Lim <[EMAIL PROTECTED]> wrote:
> I'm a recent college graduate, and I haven't written
On 03-Jul-08, at 1:52 PM, Rit Lim wrote:
> I'm a recent college graduate, and I haven't written any real program.
> I'm trying to learn the more advance topics in Python... Its
> impossible to get an entry-level Python job.
>
> What part of Django source code should I read first?
none - first w
i agree, the best way to learn Django is to start doing something
Kenneth Gonsalves wrote:
>
>
>
> On 03-Jul-08, at 1:52 PM, Rit Lim wrote:
>
>> I'm a recent college graduate, and I haven't written any real program.
>> I'm trying to learn the more advance topics in Python... Its
>> impossib
Please see the following dpaste code. http://dpaste.com/60529/
There is a model, with a ModelForm. The ModelForm has a "short_name"
field that is not part of the model. Is this even possible/legal?
--~--~-~--~~~---~--~~
You received this message because you are
Ah yeah.
Maybe:
collection_datetime =
forms.SplitDateTimeField(widget=forms.SplitDateTimeWidget())
collection_datetime.widget.widgets = (input1.. , input2..)
would do the trick?
I don't have a development env here so I am only guessing.
Anybody else has suggestions on this? Because it looks a lit
Have you dived already? [1] If not, you should!
[1]: http://www.diveintopython.org/
On Jul 3, 10:22 am, Rit Lim <[EMAIL PROTECTED]> wrote:
> I'm a recent college graduate, and I haven't written any real program.
> I'm trying to learn the more advance topics in Python... Its
> impossible to get a
I need to include some django output in other web pages. The problem
is that Sometimes I cannot use server side includes on the other side,
and I don't know how to do.
I thought maybe some javascript or ajax to include with a
Hello, currently I'm a little bit lost on this one... Maybe some kind
soul can give me a hint?
Look at this excerpt of a model class:
-
from django.db import models
from django.contrib.auth.models import User
class Article(models.Model):
# (...snip...)
editors = models.ManyToManyFiel
I don't quite get how a context processor, which can define template
variables, help here.
On Jul 3, 12:43 am, phillc <[EMAIL PROTECTED]> wrote:
> look up context processors
>
> On Jul 2, 4:31 am, pihentagy <[EMAIL PROTECTED]> wrote:
>
> > Hi!
>
> > I have an auction site, the items appear in mor
2008/7/3, urukay <[EMAIL PROTECTED]>:
>
>
> yes, but it's only for limpidity :) and I need the user to chose only one
> option from the list. Just can't count on that user wil chose to fill only
> one field with choices if there are more possible fields with choices.
> And it isn't possible to
Hey Daniel,
Thanks for the reply. ... Duh! I don't know why I didn't think of
that. There are so many foreign aspects of this to me (yes I come
from a mod_perl, php background).
I can give some more information to hopefully help me grasp this just
that bit more.
Basically I am creating my own
Hello,
I have successfully used OneToOne relationships for inheritance, this
is pretty well documented on the official doc and the result on admin
site is very elegant.
But I cannot use OneToOne field on another simple case : the marriage
case.
The goal is to link 2 objects of the same type toget
Why do you need to put the value back into a form? I'm assuming that
this is on the second page of a multi-part form, or something along
those lines. A safer way to do it might be to store the value in the
session, and not rely on the data coming back from the form to be
correct. (The user can
I haven't tried this (I'll try it when I get home), but looking at the
session code shows that you should be able to call:
request.session.delete()
to delete the whole session at once.
On Jul 3, 3:52 am, Daniel Hepper <[EMAIL PROTECTED]> wrote:
> Try:
>
> for key in request.session.keys():
>
Yes, you can do that, but you'd need to add it to the ModelForm's
fields:
>> self.fields['short_name'] = forms.CharField(label='Short Name', max_length=9)
This code would need to be added to an overridden __init__ in your
ModelForm. One question, however: why don't you add this field to
your mo
no, no i mean it otherway, just like Rajesh Dhawan wrote (link he sent).
guess i'll have to find other way to that, not in Model level.
but thanks
Alessandro Ronchi-2 wrote:
>
> 2008/7/3, urukay <[EMAIL PROTECTED]>:
>>
>>
>> yes, but it's only for limpidity :) and I need the user to chose
Hey Bryan,
> So basically when I roll it out, the website would have no blogs on
> it, just a front page welcoming me and possibly displaying some
> statistics or news on it and allowing register/login. So if I were
> the first to create an account, I would gain access to
> www.mysite.com/bbeau
Bryan, here's one way that you might approach it:
1. From a model perspective, you probably want to have a model like
Account or Person or Blog that corresponds to the first component of the URL
path. Then you can have a model like BlogPost or somesuch (maybe other
models like BlogSta
Just a thought, but can you put this information in an iframe?
On Jul 3, 1:28 pm, Alessandro <[EMAIL PROTECTED]> wrote:
> I need to include some django output in other web pages. The problem
> is that Sometimes I cannot use server side includes on the other side,
> and I don't know how to do.
>
>
Alessandro wrote:
I need to include some django output in other web pages. The problem
is that Sometimes I cannot use server side includes on the other side,
and I don't know how to do.
I thought maybe some javascript or ajax to include with a
Thanks Daniel and Scott for the replies. It certainly has given me a
better sense of how to implement something like this in Django, as
well as an overall better understanding of Django in general.
This will certainly be a fun project and I can't wait to get started
on it as I learn more about t
On Thu, 2008-07-03 at 05:55 -0700, Aldo wrote:
[...]
> I have several problems on the admin site with this model :
> -I cannot change 'married_to' field after object creation.
Pretty much no work has been done on OneToOneField handling in existing
(trunk) admin, since it's not worth it with newf
I am planning on making a newsletters so should I use django build-in
options or mailman or something else you would recomenmt but I am new
to web dev and python so therefore django as well but I have one
request that it is easy to mantain and costumize (costum signup in
like an ajax window as an
Thanks to all, I wrote custom tags. It's solve my problem!
--~--~-~--~~~---~--~~
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 t
sebey wrote:
I am planning on making a newsletters so should I use django build-in
options or mailman or something else you would recomenmt
I recommend mailman. It is scalable and proven mailing list software.
but I am new
to web dev and python so therefore django as well but I have one
request
On my homepage I want to have a few different items, one is the recent
news items. I created the recentnews.py file:
from myproject.site.models import Blog
from django.template import Library,Node
register = Library()
def build_news_list(parser, token):
return NewsObject()
class NewsObjec
I have a form for uploading images. When uploaded I check for a
maximum size, see snippet below. If it's too big I return the same
form but without the uploaded (big) image. Unfortunately the big image
is part of the returned form (I can tell since I display the image for
a form). Is there a way t
It should be in:
/project/application/templatetags/
2B
--~--~-~--~~~---~--~~
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
Hi Malcom,
and thanks for your answer.
On Jul 3, 8:37 am, Malcolm Tredinnick <[EMAIL PROTECTED]>
wrote:
> Not knowing anything about this particular project, but if that's what
> the line really says in the source (and I'm not doubting you, just very
> surprised), it's completely wrong. It's ill
Didn't mean to send it. In my template I'm using this to call the
recent news:
{% load recent_news %}
{% get_news_list %}
I'm getting a TemplateSyntaxError, 'recent_news' is not a valid tag
library: Could not load template library from
django.templatetags.recent_news, No module named recent_news
On Thu, 2008-07-03 at 07:33 -0700, [EMAIL PROTECTED] wrote:
> On my homepage I want to have a few different items, one is the recent
> news items. I created the recentnews.py file:
>
> from myproject.site.models import Blog
> from django.template import Library,Node
>
> register = Library()
>
thanks man, for some reason i couldn't get it and it was about to
drive me nuts :)
On Jul 3, 10:37 am, Berco Beute <[EMAIL PROTECTED]> wrote:
> It should be in:
> /project/application/templatetags/
>
> 2B
--~--~-~--~~~---~--~~
You received this message because you
Hello,
I'm writing some tests to my login views and I get this error when
executing the tests:
AttributeError: 'UserTestCase' object has no attribute 'assertRedirects'
This is the view:
import unittest
from django.test.client import Client
from django.contrib.auth.models import User
class User
Hi jm,
I've been trying to reproduce your problem with no success. Can you
please post your nginx configuration (a safe version, obviously)?
Also, if you stop by #django, my username is axiak. It might be easier
to track this down in IRC.
Cheers,
Mike
On Jul 2, 6:26 pm, umrzyk <[EMAIL PROTECT
The Meta class is to change the Model name, but Chris wants to change the
app name, not?I don't think you can do that.
On Thu, Jul 3, 2008 at 2:53 AM, Malcolm Tredinnick <[EMAIL PROTECTED]>
wrote:
>
>
> On Wed, 2008-07-02 at 11:49 -0700, [EMAIL PROTECTED] wrote:
> > Thanks guys. I know how to do
Something tells me the validation actually belongs to the form, but
how can I get to the image size from within the form?
===forms.py
class ImageForm(forms.ModelForm):
def __init__(self, *args, **kwargs):
super(ImageForm, self).__init__(*args, **kwargs)
def clean_image(self):
On Thu, 2008-07-03 at 17:09 +0200, TiNo wrote:
> The Meta class is to change the Model name, but Chris wants to change
> the app name, not?
> I don't think you can do that.
You're right. I misread the mail.
Changing the app name in the admin requires editing the template.
Malcolm
>
--~--~-
How could I repeat my 20 times?
I've found how I can repeat it 5 times:
{% for a in 12345|make_list %}
{% endfor %}
But it's not so great for e.g. a hundred
Usage: my designer wants to test his layout and I don't want to create
a custom tag for such a simple task
--~--~-~--~~---
How could I repeat my 20 times?
I've found how I can repeat it 5 times:
{% for a in 12345|make_list %}
{% endfor %}
But it's not so great for e.g. a hundred
Usage: my designer wants to test his layout and I don't want to create
a custom tag for such a simple task
--~--~-~--~~---
'Messages from new members are moderated'
- didn't notice
--~--~-~--~~~---~--~~
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
How could I repeat my 20 times?
I've found how I can repeat it 5 times:
{% for a in 12345|make_list %}
{% endfor %}
But it's not so great for e.g. a hundred
Usage: my designer wants to test his layout and I don't want to create
a custom tag for such a simple task
--~--~-~--~~---
one more thing. the first one is working.
i tried to setup a second template tag for the page called
more_news.py. the first is working as recent_news.py.
recent_news.py gets the more recent entry, i have more_news.py set to
get 2-6. i have {% load more_news %} since the file is more_news.py,
it
if i call raise Http404("my message") and i set custom view to handle
404 errors how do i get "my message" in that view?
Aljosa
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this gr
here's the code:
TEMPLATE
{% load more_news %}
{% get_morenews_list %}
{% for news in more_news %}
{{ news.title }}
{% endfor %}
MORE_NEWS.PY
from myproject.site.models import Blog
from django.template import Library,Node
register = Library()
def build_morenews_list(parser, token):
On Thu, 2008-07-03 at 08:40 -0700, Aljosa Mohorovic wrote:
> if i call raise Http404("my message") and i set custom view to handle
> 404 errors how do i get "my message" in that view?
You don't. The default 404 handler serves up a template and passes it
the request path, that is all.
If you wan
Florencio Cano wrote:
> Where is the problem?
where you don't use django's TestCase
> import unittest
> class UserTestCase(unittest.TestCase):
from django.test import TestCase
class UserTestCase(TestCase):
--
Norman J. Harman Jr.
Senior Web Specialist, Austin American-Statesman
__
On 3 juil, 10:22, Rit Lim <[EMAIL PROTECTED]> wrote:
> I'm a recent college graduate, and I haven't written any real program.
> I'm trying to learn the more advance topics in Python... Its
> impossible to get an entry-level Python job.
>
> What part of Django source code should I read first?
Re
Aljosa Mohorovic wrote:
> if i call raise Http404("my message") and i set custom view to handle
> 404 errors how do i get "my message" in that view?
I was gonna say look at the default 404 template. But, in my django
(newforms admin branch) /django/contrib/admin/templates/admin/404.html
there
Lets say we have Accounts that is referenced profile, group, interest
tables.
If I delete the account ID 1 would the related data to that account in
profile, group and interest table be deleted in all cases of relation?
One to one, one to many, many to many? same question applies to
update
Thanks for the tip. I'm guessing this is for the newforms-admin or at
least the svn trunk. I'm not adding the extra field to the model
because it doesn't really belong there, though it's related to the
model.
On Jul 3, 6:10 pm, Huuuze <[EMAIL PROTECTED]> wrote:
> Yes, you can do that, but you'd n
Upon looking at the source, it looks like I am using an out of date way
to generate the cache key:
http://code.djangoproject.com/browser/django/trunk/django/utils/cache.py
Does anyone have an example of how to generate the key from just the
page path? i.e.
/about/
The : get_cache_key API tak
Jad wrote:
> Lets say we have Accounts that is referenced profile, group, interest
> tables.
>
> If I delete the account ID 1 would the related data to that account in
> profile, group and interest table be deleted in all cases of relation?
> One to one, one to many, many to many? same question
if i have a method for a model, that returns True or False, is there a
way for the admin to show automatically a symbol like it does for
booleanfields or something similar?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Grou
I just did some local debugging, and notice something interesting. The
cache key appears to be generated based on a hash of the request headers.
This means that visiting the same page in two different browsers will
generate 2 unique keys, which means that the cache isnt used.
For example, on m
On Jul 3, 6:32 pm, ashwoods <[EMAIL PROTECTED]> wrote:
> if i have a method for a model, that returns True or False, is there a
> way for the admin to show automatically a symbol like it does for
> booleanfields or something similar?
From http://www.djangoproject.com/documentation/model-api/ :
I
Say I have invoices (parent) and payments (child) and I want to show
each payment made against the invoices while displaying the list of
invoices.
I've read other discussions here about the problems of automatically
loading child records using select_related().
(http://groups.google.com/group/dj
I'm trying to install Django on Windows XP SP2, but I received an
error while doing so.
1. I downloaded and installed Python 2.5, PostgreSQL 8.3.1, and
psycopg.
2. I used TortoiseSVN to check out the latest revision from the SVN
repository at http://code.djangoproject.com/svn/django/trunk/ and
s
inside your sitepackages/django folder, there is a folder called
django... that is what should be in site-packages
On Jul 3, 3:25 pm, Leaf <[EMAIL PROTECTED]> wrote:
> I'm trying to install Django on Windows XP SP2, but I received an
> error while doing so.
>
> 1. I downloaded and installed Pytho
On Thu, Jul 3, 2008 at 3:25 PM, Leaf <[EMAIL PROTECTED]> wrote:
> 3. To make sure that I could run properly, I added C:\Python25 and C:
> \Python25\Lib\site-packages\django\django\bin to my PATH variable.
Looks like you've got one too many "django" directories in here. When
Python tries to import
Hello,
I'm trying to write an application that will make heavy use of
transactions when saving different records to the database. I'm
having a problem accessing the data that has been saved within a
transaction before I commit the transaction. I need to do this
because I need to either save all
I have a newform and I do most of the validation with the clean
functions and that works great. I need to generate a form error from
inside the view that is displayed just like any other validation
error. For example, the form data is all valid, but the credit card
processing fail. How could I
Mike Chambers wrote:
> I just did some local debugging, and notice something interesting. The
> cache key appears to be generated based on a hash of the request headers.
>
> This means that visiting the same page in two different browsers will
> generate 2 unique keys, which means that the cach
Wouldn't it depend on the type of DB? (mysql, postgresql,etc)? Or is
this something enforced in django regardless of db?
On Jul 3, 1:28 pm, Randy Barlow <[EMAIL PROTECTED]> wrote:
> Jad wrote:
> > Lets say we have Accounts that is referenced profile, group, interest
> > tables.
>
> > If I delete
Thanks for the help. I really should have followed the instructions
better, I guess.
On Jul 3, 3:51 pm, "Marty Alchin" <[EMAIL PROTECTED]> wrote:
> On Thu, Jul 3, 2008 at 3:25 PM, Leaf <[EMAIL PROTECTED]> wrote:
> > 3. To make sure that I could run properly, I added C:\Python25 and C:
> > \Python
Thanks. From the Vary Headers section:
--
By default, Django’s cache system creates its cache keys using the
requested path — e.g., "/stories/2005/jun/23/bank_robbed/". This means
every request to that URL will use the same cached version, regardless
of user-agent differences such as cookies o
On Jul 3, 8:13 am, urukay <[EMAIL PROTECTED]> wrote:
> no, no i mean it otherway, just like Rajesh Dhawan wrote (link he sent).
I will rephrase your original question; it's not obvious to everyone
that the REASON you want two of your six choices to be "not
selectable" is because they are CATEGORI
I need to add some fields to flatpage model. (like header image)
is there a clean way to do this?
I saw it come up before, and one comment was "model subclassing is not
supported." So now that it is supported... I am going to learn that it wont
help me with this problem?
Carl K
--~--~--
I'm not asking about certain DB engine but how django would behave in
presence of foriegn key?
II will give an exampel of what arised this concern.
http://www.djangoproject.com/documentation/db-api/
One-to-many relationships
Forward
If a model has a ForeignKey, instances of that model will have
On Jul 3, 7:43 pm, Lee Hinde <[EMAIL PROTECTED]> wrote:
> Say I have invoices (parent) and payments (child) and I want to show
> each payment made against the invoices while displaying the list of
> invoices.
>
> I've read other discussions here about the problems of automatically
> loading child
To answer my own question, I now moved the validation code to the form
and create a PIL image using
Image.open(StringIO(uploadedFile.content)):
===forms.py
class ImageForm(forms.ModelForm):
def __init__(self, *args, **kwargs):
super(ImageForm, self).__init__(*args, **kwargs)
de
On 1 juil, 15:04, "José Moreira" <[EMAIL PROTECTED]> wrote:
> hello,
>
> i'm a recent django developer. Sometime soon i will have to develop a
> module for a cms solution to allow the content publishers to design
> custom forms (including form layout) for webpages and to store the
> results of t
Hi all!
I've developed and tested an application in MySQL and everything
worked fine fine fine. Now i am migrating to Oracle, the app works
fine but I am having a lot of trouble with the Django admin.
Whenever i run syncdb, it creates one table and throws an exception
like this:
ORA-00955: name
If the image verifies, and is on your server already, why not resize it? :D
On Thu, Jul 3, 2008 at 11:49 PM, Berco Beute <[EMAIL PROTECTED]> wrote:
>
> To answer my own question, I now moved the validation code to the form
> and create a PIL image using
> Image.open(StringIO(uploadedFile.content))
No. It’s the Python import path. Namely what you do for “import
path.settings” when in the Python shell. There should be a partial OS
path in your PythonPath setting that fills in the rest.
On Jun 27, 2008, at 9:38 AM, nerdydork wrote:
> Question on apache setup using mod_python, the documen
On Jul 1, 4:29 am, "Karen Tracey" <[EMAIL PROTECTED]> wrote:
> Assuming all such problems have all been fixed now, though, it would seem
> this restriction could be removed from admin. I did some experimenting and
> if I remove the code in admin that prevents such sorting, everything seems
> to w
On Fri, Jul 4, 2008 at 12:08 AM, Jad <[EMAIL PROTECTED]> wrote:
>
> Lets say we have Accounts that is referenced profile, group, interest
> tables.
>
> If I delete the account ID 1 would the related data to that account in
> profile, group and interest table be deleted in all cases of relation?
>
Hi,
I made a small recommendation engine for our company using python,
django, and mySQL. My supervisor and the senior management are worried
about the copyright and licensing issues. They want to find out the
details on how to go about start using it, like quoting python/django/
mySQL specifical
Are you going to distribute copies of your software or is just an
internal development of the company?
--
Juanjo Conti
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, se
On Fri, Jul 4, 2008 at 8:31 AM, Nagu <[EMAIL PROTECTED]> wrote:
>
> How do I go about addressing the copyright and licensing issues? (I do
> not know if licensing is the right word here).
What copyright and licensing issues? IANAL, but none of the licenses
used by Django, MySQL or Python require
I have a Media Temple DV server, it has 7 sites hosted on it, 5 of
them are paying clients.
The vhost file structure is like this:
/var/www/vhosts/whatever.com/
/var/www/vhosts/whatever2.com/
/var/www/vhosts/whatever3.com/
There are vhost.conf files in a "conf" directory (e.g: /var/www/vhosts/
On Jul 4, 11:03 am, joshuajonah <[EMAIL PROTECTED]> wrote:
> I have a Media Temple DV server, it has 7 sites hosted on it, 5 of
> them are paying clients.
>
> The vhost file structure is like this:
>
> /var/www/vhosts/whatever.com/
> /var/www/vhosts/whatever2.com/
> /var/www/vhosts/whatever3.com/
The directive is this:
SetHandler python-program
PythonHandler django.core.handlers.modpython
PythonPath "['/var/www/vhosts/hftvnetwork.com/django-projects'] +
sys.path"
SetEnv DJANGO_SETTINGS_MODULE DSN.settings
PythonDebug On
PythonInterpreter UniqueID
I will check th
Also, i made sure the "UniqueID" is infact unique:D
--~--~-~--~~~---~--~~
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 gro
Ok, the NameVirtualHost in the main httpd.conf is not enabled. How
should i configure this? am i supposed to choose a specific domain? or
them all?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
Actually, this is my httpd.conf at the bottom:
# Use name-based virtual hosting.
#
#NameVirtualHost *:80
#
# NOTE: NameVirtualHost cannot be used without a port specifier
# (e.g. :80) if mod_ssl is being used, due to the nature of the
# SSL protocol.
#
#
# VirtualHost example:
# Almost any Apach
One more issue - if you change a model, then you have to drop database
and recreate it using syncdb (sqlite do not allow modifying tables and
columns). It is not so good for production use.
--
Best regards, Alex Slesarev.
--~--~-~--~~~---~--~~
You received this mes
I am an idiot.
It WAS the UniqueID. I had this idea that it it mapped to the
SECRET_KEY for some reason.
Sorry for the confusion.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this
There are no licensing issues with either Python or Django, which are
both distributed under very liberal licenses (Python Software
Foundation License and the BSD license respectively).
http://www.python.org/psf/license/
http://www.opensource.org/licenses/PythonSoftFoundation.php
http://code.djan
You can change required admin templates and tags. Though it is not so
difficult, it is not so good, because it will touch ALL applications
and models.
Malcolm is right - better to create own custom page, see
http://new.djangobook.com/en/1.0/chapter17/
--
Best regards, Alex Slesarev.
--~--~---
Can you take a first_name & a last_name field and then in the same
model make a field that is full_name? ie
first_name = models.CharField(max_length=75)
last_name = models.CharField(max_length=75)
full_name = models.CharField(value=first_name + last_name,
max_length=100)
I know that is not correc
Got a weird question. I have a need to make it so that we can search/
view a certain model in the admin section but not add or edit. is
this possible?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" g
1 - 100 of 109 matches
Mail list logo