Can someone help me with the following error. It occurs when I restart
Apache and try to load the Admin page. When I refresh, the Admin page
comes up, however the Documentation, Change Password, and Log Out
links call http://localhost/admin/. I reinstalled Django, but it did
not help.
TypeError
Honestly, I do not know what that means. How do I check this?
On Oct 10, 4:41 pm, "Jeremy Dunck" <[EMAIL PROTECTED]> wrote:
> On 10/10/07, kevinski <[EMAIL PROTECTED]> wrote:
>
>
>
> > Can someone help me with the following error. It occurs when I rest
+)/$>
self
On Oct 10, 4:43 pm, "Jeremy Dunck" <[EMAIL PROTECTED]> wrote:
> On 10/10/07, kevinski <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
>
>
> > Can someone help me with the following error. It occurs when I restart
> > Apache and try to loa
You were right the problem was in the urls. Thank you so much for your
help!
--~--~-~--~~~---~--~~
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
I am building a simple wiki and I am having trouble with my models:
from django.db import models
class Wikipage(models.Model):
title = models.SlugField(primary_key=True)
creator = models.CharField(maxlength=25)
post_date = models.DateTimeField(auto_now_add=True)
class Admin:
This is also a decent resource for learning the basics of Python
quickly.
http://www.ibiblio.org/obp/thinkCSpy/index.html
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this
I'm currently going through the "Learning Website Dev with Django"
book, using Django 1.0.2/Python 2.5/SQLite. There is an issue stumping
me. The book includes a "friendship" model which includes 2 foreign
keys set to User model:
class Friendship(models.Model):
from_friend = models.ForeignKey(
['from_friend']
to_friend = self.cleaned_data['to_friend']
if from_friend == to_friend:
raise forms.ValidationError('Please select two different
friends.')
return to_friend
On Nov 19, 11:18 am, Rajesh Dhawan <[EMAIL PROTECTED]> wrote:
> kevinski wrote
Hello,
I am using 3 image fields in my model form. When I browse for images
and submit, the images are uploaded with no problem. When my form does
not validate, error messages appear for invalid fields and correct
fields stay in tact, however my image paths disappear and I am
required to browse
Thanks Michael, I had no idea of this standard. Making a form for
images on a separate page will not be an issue.
Your help is greatly appreciated,
Kevin
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django
If you are interested, here is a simple Wiki I threw together a few
weeks ago that allows html markup. I am still somewhat of an amateur,
so there are probably a thousand better ways to do this, but feel free
to use it as an example.
URLs
urlpatterns += patterns('project.wiki.views',
A little over a year ago, I was in your shoes. Microsoft just didn't
do it for me anymore, and I wasn't sure where to turn. A lot of people
here are recommending Ubuntu, but as an individual that was not too
long ago in your situation, and has quickly developed a decent
knowledge of Linux server
http://code.google.com/p/django-cart/
A much shorter learning curve than Satchmo, but a fraction of the
functionality.
On Jan 2, 9:37 am, [EMAIL PROTECTED] wrote:
> Hi all,
> Is there a good python shopping cart that works well with django?
> Thanks,
>
> Jorge Hugo Murillo
>
>
>
>i have been asked to make a simple application that stores
>the "in-time" and "out-time" of employees everyday
Manual imput (e.g. a form for employee id and password) would not be
too hard, just watch out for employees punching their late friends in.
Swipe card or biometrics might get a bit
> This iterates fine in Firefox, but in IE7 it keeps coming up blank.
> I can't see any html issues. I am working off my localhost. Is this
> a IE7 security issue or something else I have not thought of?
I had a the similar problem once with IE7. It ended up being due to
CSS incompatibility
Here is my situation:
1. I have a model "Client", with a boolean attribute "service_1"
2. I also have a model "Service_1_Profile"
3. When "Client.service_1" is set to on, I want a corresponding
"Service_1_Profile" to be created.
4. When "Client.service_1" is set to off, I want the corresponding
Here is my situation:
I have a model attribute which needs CHOICES to come from another
model. The caveat is, I need to add an addition choice so I cannot set
it as a foreign key. How do I set the CHOICES to populate dynamically
and add the additional choice.
Here is the abbreviated context of
17 matches
Mail list logo