Re: Django date time picker

2023-05-29 Thread Sebastian Jung
Solution from Sun abiut is only beginning. Now you must insert in html code that you import a javascript datetime picker and activate it on all fields with class datepicker sum abiut schrieb am Mo., 29. Mai 2023, 23:35: > You can use model forms and do something like this: > 1) create your model

Re: UPLOAD STATIC FILES

2023-05-29 Thread Music Fm
Not necessary again On Tue, May 30, 2023, 5:05 AM SHUBHAM KUMAR wrote: > you should add STATIC_DIR =[ > > 'BASE'/ 'static' > > ] > to your project settings > > On Mon, 29 May, 2023, 9:21 pm Music Fm, wrote: > >> Load static >> >> Open a folder call it static then open another file within the st

Re: UPLOAD STATIC FILES

2023-05-29 Thread sum abiut
in your setting make sure you have STATIC_URL = '/static/' then in your template you load static at the top of your htmi file like this. {% load static %} to load any static files like css. do something like this {% static './cssfile.css'%} Then run the command. python manage.py collectstatic O

Re: UPLOAD STATIC FILES

2023-05-29 Thread SHUBHAM KUMAR
you should add STATIC_DIR =[ 'BASE'/ 'static' ] to your project settings On Mon, 29 May, 2023, 9:21 pm Music Fm, wrote: > Load static > > Open a folder call it static then open another file within the static > forder. > > Now type {load static/custom.css }on the html file it will see the stati

Re: Django BS elements layout

2023-05-29 Thread ALBERT ASHABA AHEEBWA
This is a CSS issue. Here is a solution for you. Bootstrap 5 Password Must be 8-20 characters long. Edit accordingly. Best Regards, Albert On Mon, 29 May 2023, 19:43 Sebastian Jung, wrote: > I don't think that this is a django relevant thing >

Re: Criteria to use several apps in one project instead one app

2023-05-29 Thread ALBERT ASHABA AHEEBWA
Hi there, If you don't read the documentation when initially starting with Django it gets overwhelming. So it is recommended to modularize your apps in that your app should do one thing. That's to say, if you wanted to have user authentication and blog with ability for users to add comments you c

Re: Django date time picker

2023-05-29 Thread sum abiut
You can use model forms and do something like this: 1) create your model. for instance class DatePickerModel(models.Model): start_date = models.DateTimeField() end_date = models.DateTimeField() 2) create your form # setup date picker start class DateInput(forms.DateInput): input_type

Criteria to use several apps in one project instead one app

2023-05-29 Thread Zdravko Gyorev
Hi All, I’m new to Django and working on my first project. It become really big, with more than 20 rows in app_name/URL file. Do I need to consider using several apps instead one and what would be the criteria to switch to more apps? Do you know good article or document for this topic as well?

Re: Django date time picker

2023-05-29 Thread Bhuvnesh Sharma
You can also use https://github.com/monim67/django-bootstrap-datepicker-plus It is really good and easy to integrate. On Mon, May 29, 2023, 10:48 PM Larry Martell wrote: > On Mon, May 29, 2023 at 1:14 PM Thomas Mutavi > wrote: > > > > Hello, how can i implement a form with several date fields

Re: Django date time picker

2023-05-29 Thread Larry Martell
On Mon, May 29, 2023 at 1:14 PM Thomas Mutavi wrote: > > Hello, how can i implement a form with several date fields which have date > and time picker in django? You can use the jQuery UI datetimepicker. -- You received this message because you are subscribed to the Google Groups "Django user

Django date time picker

2023-05-29 Thread Thomas Mutavi
Hello, how can i implement a form with several date fields which have date and time picker in django? -- 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-us

Re: Django BS elements layout

2023-05-29 Thread Sebastian Jung
I don't think that this is a django relevant thing Hatim Ibrahim schrieb am Mo., 29. Mai 2023, 17:31: > Hello > AM on WIndows 7, Django 3.2.18, Bootstrap 5.2 > I have the attached "column" layout, > I want to redesign this as "array" layout. > > What is the most deficient way of doing this pleas

Re: UPLOAD STATIC FILES

2023-05-29 Thread 'Kasper Laudrup' via Django users
On 29/05/2023 04.24, Obiorah Callistus wrote: please how can i display .css and .js files in my template Have you considered reading the documentation? Kind regards, Kasper Laudrup -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscr

Re: UPLOAD STATIC FILES

2023-05-29 Thread Music Fm
Load static Open a folder call it static then open another file within the static forder. Now type {load static/custom.css }on the html file it will see the static that has the css and javascript file On Mon, May 29, 2023, 4:31 PM Obiorah Callistus wrote: > please how can i display .css and .j

Django BS elements layout

2023-05-29 Thread Hatim Ibrahim
Hello AM on WIndows 7, Django 3.2.18, Bootstrap 5.2 I have the attached "column" layout, I want to redesign this as "array" layout. What is the most deficient way of doing this please? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubsc

UPLOAD STATIC FILES

2023-05-29 Thread Obiorah Callistus
please how can i display .css and .js files in my template -- 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+unsubscr...@googlegroups.com. To view thi