Re: Help with Django base template and CSS

2006-03-05 Thread layik
I am trying to solve the same problem I have read another comment on the main django page, about {{% extends "BaseOrAnotherTemplate"%}} and I get the message: cannot be extended because BaseOrAnotherTemplate" does not exist! please help! --~--~-~--~~~---~--~~

Re: Help with Django base template and CSS

2006-03-05 Thread layik
thebubblejungle wrote: > You might be able to fix that by using myapp/BaseOrAnotherTemplate. I > managed to get that part working! Also, if you have a setup like > /templates/myapp/ this is why it maybe can't find the file. my directory structure is exactly that way. But it still doesnt accept i

login page

2006-03-10 Thread layik
Hi all, I am doing well with django so far.I am doing my final year project and I am a couple of weeks behind my schedule, so please help me. 1. I am trying to use the code from the sessions documentation for a login view, which is: http://www.djangoproject.com/documentation/sessions/#examples

Re: login page

2006-03-10 Thread layik
Luke Plant wrote: > > > > Enter Username: > > Enter Password: > > > > You've duplicated 'username' there - it might be your problem (though > it seems unlikely actually). Also make sure there isn't any > redirection going on. You can check easily if you are running the > development server

Re: login page

2006-03-10 Thread layik
I am happy to tell anyone who is trying to do the same mistake I was doing for the past day probably!! that, forms are loaded empty for something to be put in them and then PROCESSED accordingly. I was trying to LOAD and PROCESS the form together. so the order is: direct browser to LOAD the login

Re: Apache vs. Django ?

2006-03-15 Thread layik
Hi Ian, I have what you say there, and I get the error message of: EnvironmentError: Could not import DJANGO_SETTINGS_MODULE 'myproject.settings' (is it on sys.path?): No module named myproject.settings please help! --~--~-~--~~~---~--~~ You received this mess

sessions doc

2006-03-15 Thread layik
someone points out "users confusion" in the topic linked below, which took me days to sort out, this might be easier to spot for those who are closer to Adrian in their abilities but NOT ME! http://groups.google.com/group/django-users/browse_thread/thread/f13b3d5e33b9b059/00b090f8fb716ec1?q=login

OneToOneField

2006-03-19 Thread layik
is the bug fixed? I didnt quite understand the previous topics. could anyone please tel me what I need to be aware of when trying to extend tables and using OneToOneField many thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to th

Re: OneToOneField

2006-03-20 Thread layik
bruno desthuilliers wrote: > layik wrote: > > is the bug fixed? > > Which one ? and in which version ? > > > I didnt quite understand the previous topics. > > could anyone please tel me what I need to be aware of when trying to > > extend tables and usi

Re: OneToOneField

2006-03-21 Thread layik
Kenneth Gonsalves wrote: > On Tuesday 21 Mar 2006 5:52 am, layik wrote: > > Class member: > > username = meta.foreignKey (users) > > email = charfield > > this is not onetoone > -- > regards > kg > > http://www.livejournal.com/users/lawgon > tally ho!

FileField not uploading

2006-03-21 Thread layik
Hi all, I am using: Windows xp Django 0.91 Django's own development server. myproject/ ...myapp ...media ../myapp ./uploads in my settings # Example: "/home/media/media.lawrence.com/" MEDIA_ROOT = 'C:/absolute_file_path/media' # URL that handles the media served from MEDIA_ROOT. M

Re: OneToOneField

2006-03-21 Thread layik
please 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 To unsubscribe from this group, send email to [EMAIL PROTECTED] F

Re: FileField not uploading

2006-03-21 Thread layik
I dont know how to thank you! Julio I feel blessed now! I can go to my progress meeting tomorrow! and showing them all this! onemore time, THANKS! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" gr

Re: OneToOneField

2006-03-29 Thread layik
might be a too late reply but could any of you tell me what MR Branch or svn Trunk that you are tlkaing about is? I am sorry I dont know any of them. I still have the problem unsolved. thanks --~--~-~--~~~---~--~~ You received this message because you are subsc

Re: OneToOneField

2006-03-29 Thread layik
Hello there, sorry to bother you. I was wondering if you have solved your OneToOne problem. if so could let me know how I could solve it as well?? thanks ChaosKCW wrote: > Agreeded, I am trying to use OneToOne in MR branch and get the same > problems. > > I have: > > class Employee(models.Mode

admin templates & css

2006-03-29 Thread layik
Hi all, thanks for your help in advance two problems 1. I have a class with about 15 attributes, in the admin templates, when lets say creating a Poll with a Choice which has 15 choices, what is the best way of viewing them choices? what I mean is currently you have to scroll right to get to al

adding a validator

2006-04-03 Thread layik
I have read the validator documents please help me with steps of adding a validator to my FileField. where do I start? I dont know where to put somthing similar to this example into my class, http://www.djangoproject.com/documentation/forms/#Validators and where to put each bit! thanks! --~-

Re: adding a validator

2006-04-03 Thread layik
I have also read all posts related to a validator here --~--~-~--~~~---~--~~ 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 thi

help with manipulators

2006-04-09 Thread layik
my model: class claimdoc(meta.Model): description = meta.CharField(maxlength=30,core = True) claim = meta.ForeignKey(Claim, edit_inline=meta.TABULAR, num_in_admin = 3) date = meta.DateField('Date Submitted') name = meta.FileField(upload_to="claims/docs") # Claim is another model

Re: help with manipulators

2006-04-09 Thread layik
# Do a post-after-redirect so that reload works, etc. return HttpResponseRedirect("/docs/%i/" % place.id) # just corrected this claimdoc.id --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "D

superuser permission by non-superuser!

2006-04-30 Thread layik
Am I missing something or Django 0.91 that I have has got a little bug in the persmissions?! I have some users, one of them is a service admin but I have given permissions to him to be able to add, change and delete users from Django's standard user model. when I sign in using that service admin

Re: How can users only edit their own files?

2006-04-30 Thread layik
I am scared now Luke How am I going to avoid this? I sign out from Django but I still can see this: http://localhost:8000/admin/auth/users/4/ That is going to KILL my project! PLEASE help! --~--~-~--~~~---~--~~ You received this message because you are subscrib

Re: superuser permission by non-superuser!

2006-04-30 Thread layik
Thanks Adrian, this helps me document my work better as well. --~--~-~--~~~---~--~~ 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

Re: How can users only edit their own files?

2006-05-01 Thread layik
Thanks Max & James, that did it. I was terrified and I couldnt do any work yesterday, I should have come back here soon after. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this

Re: How can users only edit their own files?

2006-05-01 Thread layik
Hi Olive, I couldnt do that, anywhere I can find more help about that? the notes seem to be too difficult for me, I would need more help on those, coz I have two types of staff who do differnet things. thanks --~--~-~--~~~---~--~~ You received this message becau

FileField fieldRequired error

2006-05-01 Thread layik
Hi, I have read this thread: http://groups.google.com/group/django-users/browse_frm/thread/399360004a8d0716/d6d355feecef7f7a?q=filefield+error&rnum=6#d6d355feecef7f7a please help me to use those two {{form.field}}{{form.field_file}} when I do my template! do I creat two differnet lables? do I

Re: FileField fieldRequired error

2006-05-01 Thread layik
layik wrote: > Hi, > > I have read this thread: > http://groups.google.com/group/django-users/browse_frm/thread/399360004a8d0716/d6d355feecef7f7a?q=filefield+error&rnum=6#d6d355feecef7f7a > > > please help me to use those two {{form.field}}{{form.field_file}} when >

Re: FileField fieldRequired error

2006-05-01 Thread layik
layik wrote: > Hi, > > I have read this thread: > http://groups.google.com/group/django-users/browse_frm/thread/399360004a8d0716/d6d355feecef7f7a?q=filefield+error&rnum=6#d6d355feecef7f7a > > > please help me to use those two {{form.field}}{{form.field_file}} when >

Re: FileField fieldRequired error

2006-05-01 Thread layik
I really appreciate all that you say! I am sorry just realised I typed in capital letters. I really tried more than 10 combinations, searched for all possible keywords here, tried all the documentations, compared my produced HTML with some from the admin one I have and this is what I get for HTML

Re: FileField fieldRequired error

2006-05-02 Thread layik
tonemcd wrote: > Take it easy You'll not make friends if people think you're > shouting... I didnt meant it, my response was posted twice sorry! > This works for me with an ImageFile field. FileField should work the > same... > > Template snippet: > > method="post"> > >