Re: creating a simple mailbox
yes i've recently done that (to make project easier i'm covering "inbox" part first), what should i do next? that's very kind of you, thanks On Jul 14, 1:35 pm, ikatandawrote: > have you created your views and added the url to point to the app > mailbox page? > > On Jul 14, 7:36 am, bahare hoseini wrote: > > > > > 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.- Hide quoted text - > > - Show quoted text - -- 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-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Re: help plz to install Django
which step are u now ihsan? did u installed django successfully & you're going to start a project? Regards, On Jun 11, 9:54 pm, Sergiy Khohlovwrote: > This guy would like to start. First steps are hard always and Are you > definitely sure that adding not trivial procedure is a good solution > ? For the first steps last version is not important, stable work and > easy install are more important > > Thanks, > Serge > > 2011/6/12 Ignacio Soto : > > > > > > > > > Yes kennet is right, the version that is in the repos..maybe is not the > > latest release version. > > > In ubuntu 11.04 is the 1.2 in repos, you have to follow the install > > instructions form the web page djangoproject. > > > Cheers > > > ignacio Soto Reveco > > Staff IngeHost > > > El 11-06-2011 21:42, "Kenneth Gonsalves" escribió: > > > On Sat, 2011-06-11 at 15:57 +0300, Sergiy Khohlov wrote: > >> sudo apt-get search django > >> sudo apt-get... > > > not good advice - *never* use the packaged version > > -- > > regards > > KG > >http://lawgon.livejournal.com > > Coimbatore LUG rox > >http://ilugcbe.techstud.org/ > > > -- > > > You received this message because you are subscribed to the Google Groups > > "Django users" group. > > To p... > > > -- > > 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-users+unsubscr...@googlegroups.com. > > For more options, visit this group at > >http://groups.google.com/group/django-users?hl=en. -- 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-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Re: Writing my first view
i used "debug = False" in setting.py, that's why i couldn't see what the real error is because of the page appearance! thank you for your attention, On Jun 6, 5:31 am, Dave Sayerwrote: > Have you followed the whole of the tutorial? > On 6 Jun 2011 07:41, "bahare hoseini" wrote: > > > 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'), > > > (r'^polls/(?P\d+)/results/$', 'polls.views.results'), > > > (r'^polls/(?P\d+)/vote/$', 'polls.views.vote'), > > > (r'^admin/', include(admin.site.urls)), > > > ) > > > but when i save it and run http//127.0.0.1:8000/admin/polls , the page can > > not be loaded and the errors are irrelevant such as: > > > File "F:\Program Files\python > > 2.7.1\lib\site-packages\django\views\defaults.py", line 30, in > server_error > > > t = loader.get_template(template_name) # You need to create a 500.html > > template. > > > File "F:\Program Files\python > > 2.7.1\lib\site-packages\django\template\loader.py", line 157, in > > get_template > > > template, origin = find_template(template_name) > > > File "F:\Program Files\python > > 2.7.1\lib\site-packages\django\template\loader.py", line 138, in > > find_template > > > raise TemplateDoesNotExist(name) > > > , i should mention that i don't forget "python manage.py runserver". > > can someone help me please? > > > -- > > 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-users+unsubscr...@googlegroups.com.> For more options, visit this > group at > > http://groups.google.com/group/django-users?hl=en. > > -- 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-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Re: choice_set.all()
i found out that i clicked on "space" before the function, so i faced error, tnx for your attention On May 29, 9:26 am, Malcolm Boxwrote: > On 29 May 2011 06:20, bahare hoseini wrote: > > > 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?! > > Psychic debugging: you previously typed: > > p = Poll.objects.get > rather than > p = Poll.objects.get(pk=1) > > If you did type the former, then p is a method reference and thus you would > get the error above. > > Malcolm > > > -- > > 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-users+unsubscr...@googlegroups.com. > > For more options, visit this group at > >http://groups.google.com/group/django-users?hl=en. > > -- > Malcolm Box > malcolm@gmail.com -- 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-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
installing django
hi there, i installed django on vista, but i don't know how to combine it with python, i read installation guide but it wasn't ussefull! :( -- 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-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
problem with intalling python 2.7.1
hi! i installed python 2.7.1 on vista, then opened "command line", and wrote "django-admin.py startproject mysite" at first, but i faced syntax error:invalid syntax. could you help me solve this 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 this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.