CRUD Operation

37 views
Skip to first unread message

Chukwudi Onwusa

unread,
Oct 23, 2022, 11:06:32 PM10/23/22
to django...@googlegroups.com
Please, what can I do to retrieve my already entered date and select option during my process of editing details on browser user interface not admin, I used value= instance of the class.  Date variable name, but it not working 

Ryan Nowakowski

unread,
Oct 25, 2022, 3:44:02 PM10/25/22
to django...@googlegroups.com
It's hard to tell what's going on with your limited description. Can you show your views.py and template?

Chukwudi Onwusa

unread,
Oct 26, 2022, 3:20:21 AM10/26/22
to django...@googlegroups.com
Uploads below

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/django-users/E4D5F033-1B15-4C03-B62A-B5E7E7C8D1AD%40fattuba.com.
Screenshot (33).png
Screenshot (34).png
Screenshot (35).png
Screenshot (32).png
Screenshot (6).png

peteru mimo

unread,
Oct 26, 2022, 7:12:39 AM10/26/22
to django...@googlegroups.com
First check your {%  extends 'app/'%} and your path('',includes(app)) and make sure you put the right word

peteru mimo

unread,
Oct 26, 2022, 7:15:41 AM10/26/22
to django...@googlegroups.com
if you are using django 4.1 do your settings like this

STATIC_URL = 'static/'
STATIC_ROOT = 'static'
STATICFILES_DIRS = [
    'foodOnline_main/static'
]

MEDIA_URL = 'media/'
MEDIA_ROOT = 'media'
Reply all
Reply to author
Forward
0 new messages