I'm working on a page with nested formsets, it works fine with static
inline formsets, but when I try to create forms dynamically I get a
problem. The prefix generated for a nested formset is its parent's one +
its own, like: student-0-address-0.
But for empty_form both are just '__prefix__, li
Following the example in
https://docs.djangoproject.com/en/4.1/topics/class-based-views/generic-display/#viewing-subsets-of-objects
I
try the following
class BookListView(ListView):
model = Book
queryset = Book.objects.filter(publication_date__lte=timezone.now())
I found that this code
Greetings!
I present to you a new platform for you to find django gigs/job
https://djangodevs.com
You can:
1. create developer profile
2. show off your work
3. get contacted by businesses
Join now at https://djangodevs.com
Br
--
You received this message because you are subscribed to th
Greetings!
I present to you a new platform for you to find django gigs/job
https://djangodevs.com
You can:
1. create developer profile
2. show off your work
3. get contacted by businesses
Join now at https://djangodevs.com
Br
On Friday, September 2, 2022 at 4:50:48 AM UTC+2 go...@gobidas
You need to give the django apps you created unique names (try to see them
as separate entities), in your case this would be 'core' and 'store', then
you need to add them to the INSTALED_APPS list like so in the settings file:
[...,
'core.apps.CoreConfig',
'store.apps.StoreConfig',
]
On Wed, Oct
Also, some website says something like
INSTALLED_APPS = [ 'todo.apps.TodoConfig',
You say,
INSTALLED_APPS = [ 'todo',
I am confused. Which is proper? And the difference?
2022年10月19日水曜日 13:49:41 UTC+9 eupaulo...@gmail.com:
> First of all, you need to add all your apps in INSTALED APPS
Thank you for your answer. I can not see below "Let me show you an
example". Probably, some of last sentences got cutoff. And I want to see an
example.
2022年10月19日水曜日 13:49:41 UTC+9 eupaulo...@gmail.com:
> First of all, you need to add all your apps in INSTALED APPS into the
> project > set
7 matches
Mail list logo