Re: How to print sequence number in python

2020-11-15 Thread MAHA RAJA
ordered print i=1 while (i>=5){ print (i) i=i+1 } unordered print i=5 while (i<=1){ print (i) i=i-1 } On Sun, 15 Nov 2020, 10:39 pm Derek You can also use range; > > >>> for i in range(0, 5): > ... print(i + 1) > ... > 1 > 2 > 3 > 4 > 5 > >>> > > or in reverse: > > >>> for i in

Re: Django Tutorial

2012-09-13 Thread maha
Tell us what the urls.py and settings.py. Have you uncomment the line django.admin.site in settings.py On Sunday, September 9, 2012 6:32:14 AM UTC+5:30, David Perez wrote: > > Hi, > > I am new to Django, I am actually starting its tutorial. On part 2 it > enables the admin site, but I can't log

Re: poll application

2012-09-06 Thread maha
On Thursday, September 6, 2012 4:30:50 PM UTC+5:30, maha wrote: Hi, Right now i am going through this tutorial,https://docs.djangoproject.com > I am having problems with the tutorial part 2, line: customize the admin > look and feel. > can anyone guide to loo

poll application

2012-09-06 Thread maha
hi, rightnowi m going through the tutorial, having problems with the tutorial part 2, line *customize the admin look and feel.* wat to do after that. can anyone guide to look forward.. thanks, -- You received this message because you are subscribed to the Google Groups "Django users"

Re: New to Django, Admin Page not Loading

2012-08-31 Thread maha
urlpatterns = patterns('', # Examples: # url(r'^$', 'budgetmanager.views.home', name='home'), # url(r'^budgetmanager/', include('budgetmanager.foo. urls')), # Uncomment the admin/doc line below to enable admin documentation: * uncomment* # url(r'^admin/',

Re: New to Django, Question about Admin Page

2012-08-31 Thread maha
> >uncomment the admin url: url(r'^admin/', include(admin.site.urls)), > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/1vTsmbJ_k-YJ. To post to

Re: new to django

2012-08-31 Thread maha
> > thanks kurtis >> > -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/Iw461RspM4sJ. To post to this group, send email to

Re: new to django

2012-08-21 Thread maha
.don know what to do after that.. > > > > > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/m5g03N065jAJ. To post to this group, send email to

new to django

2012-08-21 Thread maha
Hi,I am new to django. Right now I am going through the tutorial. I am stuck on the creating poll application. *Here are the settings.py ,* INSTALLED_APPS = ( 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites',