django database

2011-05-25 Thread bahare hoseini
hi, do i have to install mysql to create a database in my website? tnx -- 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 django-user

choice_set.all()

2011-05-28 Thread bahare hoseini
hi there, i followed the structure in https://docs.djangoproject.com/en/dev/intro/tutorial01/ ,every thing was allright till i wrote the code: >>> "p.choice_set.all()" , then i got "AttributeError: 'function' object has no attribute choice_set" . :( can somone help?! -- You received this message

Writing my first view

2011-06-05 Thread bahare hoseini
hi there, i use django vs1.3 i started editing urls.py to look loke this: from django.conf.urls.defaults import * from django.contrib import admin admin.autodiscover() urlpatterns = patterns('', (r'^polls/$', 'polls.views.index'), (r'^polls/(?P\d+)/$', 'polls.views.detail'),

NoReverseMatch Error

2011-06-09 Thread bahare hoseini
hi there, this is my views.py that doesn't have any problem: from django.shortcuts import get_object_or_404, render_to_response from django.core.urlresolvers import reverse . . . return HttpResponseRedirect(reverse('polls.views.results', args=( p.id,))) def results(request, poll_id):

creating a simple mailbox

2011-07-13 Thread bahare hoseini
hi there, as my first project i'm going to create a simple mail box to recieve or delete Emails, i made my models in my application, could you please tell me the next steps? thanks. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to thi

Delete a record

2011-07-18 Thread bahare hoseini
hi there, does someone know how i can delete a record from my form, i'm using SQLite3 ? thank you -- 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,

unable to show headline

2011-07-18 Thread bahare hoseini
hi, i used this code: {{ My_Model_Name.Attribute1 }} in my html page. when i open this page with browser, mentioned HEADER isn't visible, but rest of things(buttons, texts, ...) is visible, can anybody help me plz? -- You received this message because you are subscribed to the Google Groups "D

reqquest.user is not defined

2011-07-20 Thread bahare hoseini
hi there, i've installed *AuthenticationMiddleWare *& *SessionMidleWare *in MIDDLEWARE_CLASSES in setting.py, but wherever i use (request.user) my web page such as log_in page,is loaded as if it doesn't know request.user => there is no limit to access pages!! could you please tell me why? thanks,