Making time sheet program.

2008-08-25 Thread KillaBee
How do I get started making a time sheet program? I have did the polls on the Django websie, but I can't get it to do what I want it to. I just need a username, radio, and number fields to go into a table. yes I a new to this django. --~--~-~--~~~---~--~~ You recei

exporting apps and db from windows to ubuntu.

2008-08-25 Thread KillaBee
I am moving a app and db from a windows server to a Ubuntu server. Is there a easy way to export the data from the windows server and import it into the Ubuntu server. I don't think that I can copy and paste, then change the URLS.py file. I looked for the files but the files I did see looks di

Re: exporting apps and db from windows to ubuntu.

2008-08-25 Thread KillaBee
ok it is dumpdata and loaddata, but where does it go? I searched for *.json but nothing came up. and there are alot of fixtures. On Aug 25, 4:05 pm, KillaBee wrote: > I am moving a app and db from a windows server to a Ubuntu server.  Is > there a easy way to export the data from the w

Re: 'adminapplist' is not a valid tag library

2008-09-04 Thread KillaBee
Hey, I am having the same problem running the updated version. The error is 'adminapplist' is not a valid tag library: Could not load template library from django.templatetags.adminapplist, No module named adminapplist. There is a adminapplist, but from post I need to replace it with a old one. W

No module named adminapplist

2008-09-04 Thread KillaBee
Hello Django world, I am having a problem running the updated adminapplist version. The error is 'adminapplist' is not a valid tag library: Could not load template library from django.templatetags.adminapplist, No module named adminapplist. There is a adminapplist, but from a post here I need to r

Re: No module named adminapplist

2008-09-04 Thread KillaBee
similar mod for the new version? On Sep 4, 9:42 am, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > On Thu, Sep 4, 2008 at 10:30 AM, KillaBee < > > > > [EMAIL PROTECTED]> wrote: > > > Hello Django world, I am having a problem running the updated > > admi

Re: No module named adminapplist

2008-09-04 Thread KillaBee
thanks that index worked, I must have overwritten the good one. sorry for assuming. On Sep 4, 11:06 am, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > On Thu, Sep 4, 2008 at 11:31 AM, KillaBee < > > [EMAIL PROTECTED]> wrote: > > > I did not know it woul

TemplateSyntaxError Invalid block tag: 'include_admin_script' on add user

2008-09-04 Thread KillaBee
At the site admin, when I click on the add user I get this error. TemplateSyntaxError at /admin/auth/user/add/ Invalid block tag: 'include_admin_script' Request Method: GET Request URL:http://10.0.0.20:8000/admin/auth/user/add/ Exception Type: TemplateSyntaxError Exception V

Re: Problem installing django

2008-09-04 Thread KillaBee
I am new my self but it sounds like the URLs not pointing the right place. One thing it might be is the setting.py his the wrong path a the installed app or root_urlconf. I am new too, so hope it helped. On Sep 4, 12:45 pm, Denis BUCHER <[EMAIL PROTECTED]> wrote: > Hello ! > > I have a problem

New locations of mod

2008-09-05 Thread KillaBee
I am converting a old time sheets program to 1.0 on a new server. I get this error: ViewDoesNotExist: Could not import intraweb.apps.timesheets.views. Error was: cannot import name DjangoContext Django can't find these: meta was in django.core djangocontext users was in django.contrib.auth formfi

Re: New locations of mod

2008-09-05 Thread KillaBee
This is the bit of code that is throwing the error in my view.py. from django.shortcuts import DjangoContext # needs meta from intraweb.apps.timesheets.models.timesheets import entrys from intraweb.apps.timesheets.models.timesheets import jobpositions from intraweb.apps.timesheets.models.timeshee

Re: New locations of mod

2008-09-05 Thread KillaBee
n I went to the sec. page, and the new mod was gone. Do you know if I should change the place where i am importing meta from, or change meta to the class? Thanks On Sep 5, 12:58 pm, Rajesh Dhawan <[EMAIL PROTECTED]> wrote: > On Sep 5, 1:48 pm, KillaBee <[EMAIL PROTECTED]> > wrote: &

Re: New locations of mod

2008-09-05 Thread KillaBee
I found A good document, that explains a lot. http://enodev.ath.cx/save/www.djangoproject.com/documentation/model_api/ but it still can not import name meta. I don't know where this is coming from. from django.db.models import meta from django.contrib.auth.models import User #from django.contri

Re: New locations of mod

2008-09-08 Thread KillaBee
Thanks I thnk this is almost done. This is a pretty small app, but changing it over is teaching me a lot about django, and this admin error should be the last thing. I saw that it is not in the oldforms like formfields and validators, thus I get is this error: ViewDoesNotExist: Tried index in mo

Re: New locations of mod

2008-09-08 Thread KillaBee
Thanks I thnk this is almost done. This is a pretty small app, but changing it over is teaching me a lot about django, and this admin error should be the last thing. I saw that it is not in the oldforms like formfields and validators, thus I get is this error: ViewDoesNotExist: Tried index in mo

Re: New locations of mod

2008-09-08 Thread KillaBee
Thanks I thnk this is almost done. This is a pretty small app, but changing it over is teaching me a lot about django, and this admin error should be the last thing. I saw that it is not in the oldforms like formfields and validators, thus I get is this error: ViewDoesNotExist: Tried index in mo

Re: New locations of mod

2008-09-08 Thread KillaBee
In this doc should I be able to paste the admin.py code and see changes, I am not. seeing anything. I wanted to see what the code did, so that I will know if I what to use this one or that one? On Sep 8, 9:44 am, Rajesh Dhawan <[EMAIL PROTECTED]> wrote: > On Sep 8, 10:39 am, KillaBe

Re: New locations of mod

2008-09-08 Thread KillaBee
In this doc should I be able to paste the admin.py code and see changes, I am not. seeing anything. I wanted to see what the code did, so that I will know if I what to use this one or that one? On Sep 8, 9:44 am, Rajesh Dhawan <[EMAIL PROTECTED]> wrote: > On Sep 8, 10:39 am, KillaBe

new ModelAdmin set up

2008-09-08 Thread KillaBee
I am editing my Admin.py to use the new ModelAdmin. All my change has no effect. I wanted it to come up with all my app automaticlly. I have this in my urls.py: from django.contrib import admin . . . (r'^admin/(.*)', admin.site.root), == and my admin.py l

Re: new ModelAdmin set up

2008-09-08 Thread KillaBee
It's in there the whole thing looks like this: from django.conf.urls.defaults import * from django.contrib import admin #from intraweb.apps.timesheets.admin import basic_site, advanced_site admin.autodiscover() info_dict = { 'app_label': 'timesheets', 'module_name': 'entrys', 'date_field':

cannot import name entrys

2008-09-08 Thread KillaBee
I keep getting this error on this view named timesheets, the code looks like this. === from django.db import models from django.contrib.auth.models import User #from django.contrib.auth.models import users from django.oldforms import FormField, vali

Re: new ModelAdmin set up

2008-09-08 Thread KillaBee
On Sep 8, 2:57 pm, Daniel Roseman <[EMAIL PROTECTED]> wrote: > On Sep 8, 8:14 pm, KillaBee <[EMAIL PROTECTED]> > wrote: > > > > > I am editing my Admin.py to use the new ModelAdmin.  All my change has > > no effect.  I wanted it to come up with all my ap

Re: cannot import name entrys

2008-09-08 Thread KillaBee
On Sep 8, 3:26 pm, Daniel Roseman <[EMAIL PROTECTED]> wrote: > On Sep 8, 9:16 pm, KillaBee <[EMAIL PROTECTED]> > wrote: > > > I keep getting this error on this view named timesheets, the code > > looks like this. > > > > > > > ViewDoesNot

Re: cannot import name entrys

2008-09-12 Thread KillaBee
On Sep 8, 6:13 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > On Mon, Sep 8, 2008 at 6:06 PM, KillaBee < > > > > [EMAIL PROTECTED]> wrote: > > On Sep 8, 3:26 pm, Daniel Roseman <[EMAIL PROTECTED]> > > wrote: > > > On Sep 8, 9:1

Two Django visions running at once.

2008-09-17 Thread KillaBee
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? --~--~-

Re: Two Django visions running at once.

2008-09-17 Thread KillaBee
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". &g

Re: Two Django visions running at once.

2008-09-17 Thread KillaBee
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 hav

Re: Two Django visions running at once.

2008-09-17 Thread KillaBee
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: > > >

where is my pythonpath

2008-09-18 Thread KillaBee
I need to edit my pythonpath, but where it? --~--~-~--~~~---~--~~ 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

Re: where is my pythonpath

2008-09-18 Thread KillaBee
s you are looking for ? > > python -c "from distutils.sysconfig import get_python_lib; print > get_python_lib()" > > []'s > Sergio Durand > > KillaBee escreveu: > > > I need to edit my pythonpath, but where it? --~--~-~--~~~-

Re: where is my pythonpath

2008-09-18 Thread KillaBee
I don't have A sys.path in that folder for Ubuntu. On Sep 18, 11:20 am, Sérgio Durand <[EMAIL PROTECTED]> wrote: > would be this you are looking for ? > > python -c "from distutils.sysconfig import get_python_lib; print > get_python_lib()" > > []'s &g

Re: where is my pythonpath

2008-09-18 Thread KillaBee
On Sep 18, 11:20 am, Sérgio Durand <[EMAIL PROTECTED]> wrote: > would be this you are looking for ? > > python -c "from distutils.sysconfig import get_python_lib; print > get_python_lib()" > > []'s > Sergio Durand > > KillaBee escreveu:

Re: where is my pythonpath

2008-09-18 Thread KillaBee
I am working with django .90, but I have a Mysql db in setting.py and I am trying to link Django with this DB. I run this command to do this. export DJANGO_SETTINGS_MODULE=app.settingsNo errors then django-admin.py init --settings=app.settings I get this error. EnvironmentError: Could not i

Re: where is my pythonpath

2008-09-18 Thread KillaBee
I am working with django .90, but I have a Mysql db in setting.py and I am trying to link Django with this DB. I run this command to do this. export DJANGO_SETTINGS_MODULE=app.settingsNo errors then django-admin.py init --settings=app.settings I get this error. EnvironmentError: Could not i

Re: Two Django visions running at once.

2008-09-18 Thread KillaBee
13:21:50 -0700 (PDT), KillaBee > > <[EMAIL PROTECTED]> wrote: > > 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

Install version .90 help

2008-09-18 Thread KillaBee
I am working with django .90, and and 1.0. I have a Mysql db in setting.py that I can login with Mysql Admin. I am trying to link Django with this DB. I run this command to do this. django-admin.py init I get this error. The database couldn't be initialized. an integer is required I edited th

Re: Install version .90 help

2008-09-19 Thread KillaBee
On Sep 18, 8:34 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Thu, 2008-09-18 at 15:13 -0700, Carol wrote: > > As far as I can see, django-admin.py doesn't have a subcommand called > > init. > > It did in 0.90, We're talking about something release in mid-November, > 2005: things have c

Re: Install version .90 help

2008-09-19 Thread KillaBee
On Sep 19, 9:18 am, KillaBee <[EMAIL PROTECTED]> wrote: > On Sep 18, 8:34 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> > wrote: > > > On Thu, 2008-09-18 at 15:13 -0700, Carol wrote: > > > As far as I can see, django-admin.py doesn't have a subcommand calle

Re: Install version .90 help

2008-09-22 Thread KillaBee
On Sep 19, 8:18 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Fri, 2008-09-19 at 09:48 -0700, KillaBee wrote: > > > On Sep 19, 9:18 am, KillaBee <[EMAIL PROTECTED]> > > wrote: > > > On Sep 18, 8:34 pm, Malcolm Tredinnick <[EMAIL PROTECTED]>

django-admin.py init ....an integer is required

2008-09-23 Thread KillaBee
I am working with .90 and when I run django-admin.py init I get this error on the command line: Error: The database couldn't be initialized. an integer is required I was thinking that it was a port number or host, but I get it if they are filled or blank. Please help!!! setting.py

cannot import name execute_manager

2008-09-30 Thread KillaBee
I am use the svn and I just installed it last night, but it is giveing me this error: [EMAIL PROTECTED]:/home/bryant/Django-1.0/intranet# python manage.py runserver 8080 Traceback (most recent call last): File "manage.py", line 2, in from django.core.management import execute_manager Impor

Re: cannot import name execute_manager

2008-09-30 Thread KillaBee
On Sep 30, 1:27 pm, Rajesh Dhawan <[EMAIL PROTECTED]> wrote: > KillaBee wrote: > > I am use the svn and I just installed it last night, but it is giveing > > me this error: > > > [EMAIL PROTECTED]:/home/bryant/Django-1.0/intranet# python manage.py > > ru

login page

2008-10-01 Thread KillaBee
I am adding a login page to my app and it keep saying that it can't find the login.html This might be a long post, but I want to give any needed info. I put in urlpatterns = patterns('intranet.timesheets.views', to set my app path as thr root, but datebrowse and admin comes from django. Can

Re: Help with login

2008-10-04 Thread KillaBee
On Oct 3, 5:08 am, hcsturix74 <[EMAIL PROTECTED]> wrote: > HI, I've upgraded my site to django 1.0 from 0.96 and  I've installed > "user registration" app from googlecode. > My homepage is a flatpage but I want to insert a login form (just a > form with username and password) > How could I do th

adding date to template

2008-10-05 Thread KillaBee
I have been trying to add date to my template, but for the life of me have not. I have a field in the MYSQL db, and In my models class but when I put the text box it doesn't post to the db. No field does. And the calendar does show anything to debug. {{ poll.question }}Time Sheet {% if error

Re: adding date to template

2008-10-06 Thread KillaBee
On Oct 6, 3:40 am, Daniel Roseman <[EMAIL PROTECTED]> wrote: > On Oct 6, 5:48 am, KillaBee <[EMAIL PROTECTED]> > wrote: > > > > > I have been trying to add date to my template, but for the life of me > > have not. > > > I have a field in the

Re: adding date to template

2008-10-06 Thread KillaBee
On Oct 6, 1:29 pm, KillaBee <[EMAIL PROTECTED]> wrote: > On Oct 6, 3:40 am, Daniel Roseman <[EMAIL PROTECTED]> > wrote: > > > > > On Oct 6, 5:48 am, KillaBee <[EMAIL PROTECTED]> > > wrote: > > > > I have been trying to add date to my t

Re: adding date to template

2008-10-06 Thread KillaBee
On Oct 6, 1:33 pm, KillaBee <[EMAIL PROTECTED]> wrote: > On Oct 6, 1:29 pm, KillaBee <[EMAIL PROTECTED]> > wrote: > > > > > On Oct 6, 3:40 am, Daniel Roseman <[EMAIL PROTECTED]> > > wrote: > > > > On Oct 6, 5:48 am, KillaBee <[EMAIL

Re: adding date to template

2008-10-07 Thread KillaBee
On Oct 6, 4:44 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > On Mon, Oct 6, 2008 at 4:55 PM, KillaBee < > > > > [EMAIL PROTECTED]> wrote: > > Thanks I have read the forms doc. and it helped a great deal. > > now I am get this error:'Quer

Re: adding date to template

2008-10-07 Thread KillaBee
On Oct 6, 4:44 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > On Mon, Oct 6, 2008 at 4:55 PM, KillaBee < > > > > [EMAIL PROTECTED]> wrote: > > Thanks I have read the forms doc. and it helped a great deal. > > now I am get this error:'Quer

Re: adding date to template

2008-10-07 Thread KillaBee
On Oct 7, 1:49 pm, KillaBee <[EMAIL PROTECTED]> wrote: > On Oct 6, 4:44 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > > > > > On Mon, Oct 6, 2008 at 4:55 PM, KillaBee < > > > [EMAIL PROTECTED]> wrote: > > > Thanks I have read th

Re: adding date to template

2008-10-07 Thread KillaBee
On Oct 7, 1:49 pm, KillaBee <[EMAIL PROTECTED]> wrote: > On Oct 6, 4:44 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > > > > > On Mon, Oct 6, 2008 at 4:55 PM, KillaBee < > > > [EMAIL PROTECTED]> wrote: > > > Thanks I have read th

Re: adding date to template

2008-10-07 Thread KillaBee
On Oct 7, 1:49 pm, KillaBee <[EMAIL PROTECTED]> wrote: > On Oct 6, 4:44 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > > > > > On Mon, Oct 6, 2008 at 4:55 PM, KillaBee < > > > [EMAIL PROTECTED]> wrote: > > > Thanks I have read th

Re: re-direction after login successfully

2008-10-07 Thread KillaBee
On Sep 5, 5:57 am, "Genis Pujol Hamelink" <[EMAIL PROTECTED]> wrote: > You can create a view like: > > @login_required > def index(request): > >     if request.user.is_authenticated(): >         return HttpResponseRedirect('/go/here/') > >     else: >         return render_to_response("go/loginp

Re: re-direction after login successfully

2008-10-08 Thread KillaBee
On Oct 7, 3:20 pm, Bob <[EMAIL PROTECTED]> wrote: > The setting LOGIN_REDIRECT_URL will allow you to change the default. > > On Sep 4, 7:07 pm, zissan <[EMAIL PROTECTED]> wrote: > > > It's seemd that Django has set /accounts/profile as default page after > > login successfully. > > I wonder if w

Re: looking for event registration/calendar modules

2008-10-08 Thread KillaBee
On Sep 11, 5:39 pm, cjl <[EMAIL PROTECTED]> wrote: > Probably not exactly what you are looking for, but check out: > > https://pycon.coderanger.net/ > > -cjlesh that 129 snippest didnt work for me. I just put the top in the view and the bottom as a template. I get this, can anybody tell me what

problem posting data to MYSQL

2008-10-08 Thread KillaBee
from django.http import HttpResponse, HttpResponseRedirect from intranet.timesheets.models import Poll from intranet.timesheets.models import Choice from intranet.timesheets.models import timesheet from intranet.timesheets.models import time from django.shortcuts import render_to_response, get_obj

Re: problem posting data to MYSQL

2008-10-08 Thread KillaBee
Untitled Document {{ form.as_p }} date fedtime worked user --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-user

Re: problem posting data to MYSQL

2008-10-08 Thread KillaBee
On Oct 8, 3:26 pm, KillaBee <[EMAIL PROTECTED]> wrote: > from django.http import HttpResponse, HttpResponseRedirect > from intranet.timesheets.models import Poll > from intranet.timesheets.models import Choice > from intranet.timesheets.models import timesheet > from intra

Re: problem posting data to MYSQL

2008-10-08 Thread KillaBee
On Oct 8, 3:27 pm, KillaBee <[EMAIL PROTECTED]> wrote: > On Oct 8, 3:26 pm, KillaBee <[EMAIL PROTECTED]> > wrote: > > > > > from django.http import HttpResponse, HttpResponseRedirect > > from intranet.timesheets.models import Poll > > from intr

Re: problem posting data to MYSQL

2008-10-08 Thread KillaBee
On Oct 8, 3:20 pm, KillaBee <[EMAIL PROTECTED]> wrote: > > > > > > > Untitled Document > > > > > > > > {{ form.as_p }} > > > > > > date > > > > fedtime > > > > worked > >

problem posting data to MYSQL

2008-10-08 Thread KillaBee
from django.http import HttpResponse, HttpResponseRedirect from intranet.timesheets.models import Poll from intranet.timesheets.models import Choice from intranet.timesheets.models import timesheet from intranet.timesheets.models import time from django.shortcuts import render_to_response, get_obj

Re: problem posting data to MYSQL

2008-10-08 Thread KillaBee
On Oct 8, 4:45 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > On Wed, Oct 8, 2008 at 4:17 PM, KillaBee < > > > > [EMAIL PROTECTED]> wrote: > > > from django.http import HttpResponse, HttpResponseRedirect > > from intranet.timesheets.models im

Re: problem posting data to MYSQL

2008-10-09 Thread KillaBee
On Oct 8, 8:13 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > On Wed, Oct 8, 2008 at 8:28 PM, KillaBee < > > [EMAIL PROTECTED]> wrote: > >    It is a model, > >http://dpaste.com/83272/it is called time, and timesheets it when I > > tried to do i

Re: problem posting data to MYSQL

2008-10-09 Thread KillaBee
On Oct 9, 10:03 am, KillaBee <[EMAIL PROTECTED]> wrote: > On Oct 8, 8:13 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > > > > > On Wed, Oct 8, 2008 at 8:28 PM, KillaBee < > > > [EMAIL PROTECTED]> wrote: > > >    It is a model,

using and displaying user info from django.auth

2008-10-09 Thread KillaBee
Hey and thanks for the help that I get on here. This might seem simple, but I can make sure that the User name and password matches but after loging in I would like them to see there info and filter the db and then display records. I login with this view: def login(request): username = reques

display User info, newbie

2008-10-09 Thread KillaBee
I have been looking around all day for a way to display the username of a page. The only thing that I could find is making my a middleware. there has got to be something that I can put on my template like the {{ form.as_p }} to display fields from form. can someone please, give me a hint..the fi

Re: display User info, newbie

2008-10-09 Thread KillaBee
your html template?  If you need to pass the username variable with > the form, then just add it as a hidden input field under your > {{form.as_p}} so it is submitted with the form data. > > On Oct 9, 1:44 pm, KillaBee <[EMAIL PROTECTED]> > wrote: > > > I have been loo

Re: display User info, newbie

2008-10-09 Thread KillaBee
On Oct 9, 4:58 pm, Robocop <[EMAIL PROTECTED]> wrote: > request.user will return the currently logged in user, so i'm assuming > your login code is returning nothing. > > Try something like user  = auth.authenticate(username = > username_from_html, password = password_from_html) in your login co

Re: display User info, newbie

2008-10-09 Thread KillaBee
On Oct 9, 5:28 pm, Robocop <[EMAIL PROTECTED]> wrote: > is your {{user}} variable not showing up at all, or is it returning > "AnonymousUser"?  If it is returning AnonymousUser then I am having > the exact same problem.  DO NOT waste your time trying to use the > contrib.auth.views login functio

Re: display User info, newbie

2008-10-09 Thread KillaBee
On Oct 9, 5:53 pm, Robocop <[EMAIL PROTECTED]> wrote: > I'm sorry but i don't understand your question.  Could you please > CAREFULLY review your posts for typos or obvious grammatical errors as > right now, i have no idea what you're asking.  If you want to know if > my code works, yes it does.

passing data with urls.py

2008-10-13 Thread KillaBee
I am want in to pass the user and a date, using the url. Like the polls urls (r'^(?P\d+)/$', 'intranet.timesheets.views.detail'), I tried these, but I am missing a piece: urlpatterns = patterns('', (r'^timesheet/(?P)/$', 'intranet.timesheets.views.times'), (r'^timesheet/(?P\d{20})/$', 'i

Re: passing data with urls.py

2008-10-13 Thread KillaBee
On Oct 13, 1:53 pm, Tim Chase <[EMAIL PROTECTED]> wrote: > > I tried these, but I am missing a piece: > > urlpatterns = patterns('', > >     (r'^timesheet/(?P)/$', > > 'intranet.timesheets.views.times'), > >     (r'^timesheet/(?P\d{20})/$', > > 'intranet.timesheets.views.times'), > >     (r'^tim

Re: adding date to template

2008-10-13 Thread KillaBee
On Oct 7, 2:02 pm, KillaBee <[EMAIL PROTECTED]> wrote: > On Oct 7, 1:49 pm,KillaBee<[EMAIL PROTECTED]> > wrote: > > > > > On Oct 6, 4:44 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > > > > On Mon, Oct 6, 2008 at 4:55 PM,KillaBee&

Re: passing data with urls.py

2008-10-13 Thread KillaBee
On Oct 13, 2:39 pm, bruno desthuilliers <[EMAIL PROTECTED]> wrote: > On 13 oct, 20:13, KillaBee <[EMAIL PROTECTED]> > wrote: > > > > > I am want in to pass the user and a date, using the url.  Like the > > polls urls > > (r'^(?P\d+)/$', &

Making queries guide, incomplete code.

2008-10-14 Thread KillaBee
I was reading the Making queries guide on the the website. http://docs.djangoproject.com/en/dev/topics/db/queries/#topics-db-queries It said: >>> Blog.objects >>> b = Blog(name='Foo', tagline='Bar') >>> b.objects Traceback: ... AttributeError: "Manager isn't accessible via Blog instances."

Re: Making queries guide, incomplete code.

2008-10-14 Thread KillaBee
On Oct 14, 12:07 pm, Brian Neal <[EMAIL PROTECTED]> wrote: > On Oct 14, 11:35 am, KillaBee <[EMAIL PROTECTED]> > wrote: > > > > > I was reading the Making queries guide on the the > > website.http://docs.djangoproject.com/en/dev/topics/d

Re: Making queries guide, incomplete code.

2008-10-14 Thread KillaBee
On Oct 14, 12:14 pm, KillaBee <[EMAIL PROTECTED]> wrote: > On Oct 14, 12:07 pm, Brian Neal <[EMAIL PROTECTED]> wrote: > > > On Oct 14, 11:35 am, KillaBee <[EMAIL PROTECTED]> > > wrote: > > > > I was reading the Making queries guide on the the &g

Re: Making queries guide, incomplete code.

2008-10-14 Thread KillaBee
On Oct 14, 1:47 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > On Tue, Oct 14, 2008 at 1:52 PM, KillaBee < > > > > [EMAIL PROTECTED]> wrote: > > On Oct 14, 12:14 pm, KillaBee <[EMAIL PROTECTED]> > > wrote: > > > On Oct 14, 12:07 p

Re: login problem, Django 1.0

2008-10-14 Thread KillaBee
On Oct 10, 12:02 pm, Robocop <[EMAIL PROTECTED]> wrote: > Unfortunately, that is the explanation.  I really appreciate all the > help though; how disappointing that i didn't learn anything other than > not allowing anyone to touch my projects without me around. > > On Oct 10, 9:59 am, "Karen Tra

Re: Making queries guide, incomplete code.

2008-10-14 Thread KillaBee
On Oct 14, 4:17 pm, bruno desthuilliers <[EMAIL PROTECTED]> wrote: > On 14 oct, 21:35, KillaBee <[EMAIL PROTECTED]> > wrote: > (snip) > > > No, it is very helpful, I know now that I have to learn all of python > > and I know now that ... means variable.

Re: Making queries guide, incomplete code.

2008-10-14 Thread KillaBee
On Oct 14, 4:52 pm, bruno desthuilliers <[EMAIL PROTECTED]> wrote: > On 14 oct, 23:25, KillaBee <[EMAIL PROTECTED]> > wrote: > > > > > On Oct 14, 4:17 pm, bruno desthuilliers > > > <[EMAIL PROTECTED]> wrote: > > > On 14 oct, 21:

Re: Making queries guide, incomplete code.

2008-10-15 Thread KillaBee
On Oct 15, 6:25 am, bruno desthuilliers <[EMAIL PROTECTED]> wrote: > On 15 oct, 13:09, "Russell Keith-Magee" <[EMAIL PROTECTED]> > wrote: > (snip) > > > Ok - that's enough of that sort of tone. Yes, Killabee would be well > > advised to re

ViewDoesNotExist No module. where is it being called, I don't want it to.

2008-10-17 Thread KillaBee
I keep getting this error that says ViewDoesNotExist: Could not import intranet.timesheets.views. Error was: No module named User. No i do not have a User module, I don't want nor need one. How do I find out Where it is being call at? I got this error today, and I have been trying to get the u

Re: ViewDoesNotExist No module. where is it being called, I don't want it to.

2008-10-17 Thread KillaBee
On Oct 17, 4:25 pm, ryan <[EMAIL PROTECTED]> wrote: > "I do have A feild in my times > model named user" > > Is it a ForeignKey to Django's User model? > If so you need to import that at the top of your models.py file > > -ryan > > On Oct 1