Urls in Django model for dynamic template loading

27 views
Skip to first unread message

Akash Purandare

unread,
Oct 19, 2018, 7:29:10 AM10/19/18
to Django users
I am creating a website in django and I was wondering how I can add a url to Django Model and then retrieve that url to provide to the {% url 'url_in_db'%} in the templates. If not, can anyone give me any other suggestions to achieve this?

Tosin Ayoola

unread,
Oct 19, 2018, 7:59:59 AM10/19/18
to django...@googlegroups.com
got little project on the project, i'm workiiiiiiiiiiiiing on, can't seems to able to  save my form to database and move to the next page, can someone help out

On Fri, Oct 19, 2018 at 12:28 PM Akash Purandare <akash...@gmail.com> wrote:
I am creating a website in django and I was wondering how I can add a url to Django Model and then retrieve that url to provide to the {% url 'url_in_db'%} in the templates. If not, can anyone give me any other suggestions to achieve this?

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/9d7b6ce9-5c3a-461d-a45f-3efe1d6ef3df%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Screenshot from 2018-10-19 12-15-53.png
Screenshot from 2018-10-19 12-41-36.png

Joel

unread,
Oct 19, 2018, 8:43:14 PM10/19/18
to django...@googlegroups.com
which is your error? The one with "unable to load files.js? If so, check your template. Probably available static files path issue.

Reply all
Reply to author
Forward
0 new messages