Re: Making Serial number

2020-05-02 Thread victor awakan
Try html ordered list with your for loop. Like this On Sat 2. May 2020 at 20.38, Kushal Neupane wrote: > Not primary key to use here. > There might be different data. > I am trying to do serial numbers as total numbers in the list. Thank you > > On Sat, May 2, 2020, 23:20 Jorge Gimeno wrote:

Re: Working with forms

2020-04-03 Thread victor awakan
In the form template tag, shouldn’t it be {{ form.as_p}} tag? On Sat 4. Apr 2020 at 3.35, Ifeanyi Chielo wrote: > Hello,I developed a form with a single field, but this form displays only > the submit button at the browser as shown in the image below. Please how > can I correct this and also

Re: NoReverseMatch error message - Please help

2020-03-31 Thread victor awakan
Sometimes the error can be from your url.py or even views.py and also make sure no typo. Check each on e of the above carefully. Hopefully you might see the bug. Cheers On Tue 31. Mar 2020 at 18.06, Jeff Waters wrote: > Thanks Ryan. > > I've just tried that, but I still get an error message. >

Re: hello world

2020-03-26 Thread victor awakan
Have you try to follow the official documentation tutorial ? On Thu 26. Mar 2020 at 14.48, Mr Black Hat wrote: > hello i am beginner in django, guys can you help me from where should i > learn django > i know how to create projects in django and also multiple apps, but i dont > know how to

Re: Testing my Django App

2020-03-23 Thread victor awakan
Check your book.user_id. It shouldn’t be null. That’s what the last error is saying. On Mon 23. Mar 2020 at 17.44, Ejike Enyinnaya wrote: > Good day All, > > I am currently running a test for my Django app call 'Books'. > > Anytime I run an INDEX test, I get the following error below: > > "File

Re: cant import views

2020-03-17 Thread victor awakan
Try from polls import views and see if that solves the problem. Cheers On Tue 17. Mar 2020 at 20.02, דביר חומרי wrote: > i was following the toturial and i could'nt find why this error is accure. > polls/urls.py' > > from django.urls import path > > from . import views > > urlpatterns = [ >

Re: How to create multipage forms with different models

2020-03-03 Thread victor awakan
y do for the other. > > You can try for once share the code here if you are unsuccessfull, i will > help you with the code part then. > > Cheers > > > On Tuesday, 3 March 2020 14:58:05 UTC+5:30, victor awakan wrote: >> >> What I meant was I want one form to be saved

Re: How to create multipage forms with different models

2020-03-03 Thread victor awakan
age > You have to implement both in same view > > On Tue, 3 Mar 2020, 2:58 pm victor awakan, wrote: > >> What I meant was I want one form to be saved in one model and the second >> form to be saved in another model. I did that using form-tools but I want >> to learn

Re: How to create multipage forms with different models

2020-03-03 Thread victor awakan
t;  > On Monday, 2 March 2020 18:08:44 UTC+5:30, victor awakan wrote: >> >> I am a building a small project in Django. I am able to create two or >> more forms in a template but now, I want to split the form to separate >> templates with each form belong to

Re: new to django

2020-03-02 Thread victor awakan
You can first try the django official tutorial. This will give you a rough idea how things works. https://docs.djangoproject.com/en/3.0/ On Sunday, March 1, 2020 at 8:04:45 PM UTC+2, Gurjot Kawatra wrote: > > hello everyone ...if anybody could help me out > my django server is started and

How to create multipage forms with different models

2020-03-02 Thread victor awakan
I am a building a small project in Django. I am able to create two or more forms in a template but now, I want to split the form to separate templates with each form belong to different models. How can I achieve this? Here is a link to dpaste with the multiple forms in a template I created: