Re:

2021-10-08 Thread Sebastian Jung
Hello, Your app tries to insert a new entry in table auth.users. in this table a User exists with id=2 and you get this constraint error. Please truncate auth.users table and try it again. Regards ola neat schrieb am Fr., 8. Okt. 2021, 18:12: > Hello guys > I've got this issue i don't understa

Re: Re:

2021-10-09 Thread Sebastian Jung
ption enabled. >> >> On Sat, Oct 9, 2021, 12:09 PM Sebastian Jung >> wrote: >> >>> Hello, >>> >>> No only friends get social media or WhatsApp. >>> >>> I think yoz need a experience developer. Try to get one developer on >>

Re: SQL query to django

2021-10-10 Thread Sebastian Jung
Hello Eugene, You can also take a raw query... https://docs.djangoproject.com/en/3.2/topics/db/sql/ Regards Eugene TUYIZERE schrieb am Sa., 9. Okt. 2021, 10:52: > Dear all, > > I have a table let call it *YY*. Some fields in this table are status, > time_frame, etc. > time frame is in terms o

Re: Child data table in Django

2021-10-13 Thread Sebastian Jung
Hello eugene, You have implement also jquery >= 3.5.1 and datatablea.min.js Please show us your html code and javascript code that open row when you click on this item... Regards Eugene TUYIZERE schrieb am Mi., 13. Okt. 2021, 14:05: > Dear All, > > Kindly assist me to have a tutorial or code

Re: DJNAGO Many to Many field MultiSelect Into DropdownList

2021-10-18 Thread Sebastian Jung
Hello, then change in widgets Select() to SelectMultiple(). https://docs.djangoproject.com/en/3.2/ref/forms/widgets/#selectmultiple Regards Am Mo., 18. Okt. 2021 um 15:51 Uhr schrieb 'Maryam Yousaf' via Django users : > Hi, > > I have one manytomany field in one of my model which is currently

Re: DJNAGO Many to Many field MultiSelect Into DropdownList

2021-10-18 Thread Sebastian Jung
lect multiple > values . > currently, it is coming like this: > > On Mon, 18 Oct 2021 at 16:07, Sebastian Jung > wrote: > >> Hello, >> >> then change in widgets Select() to SelectMultiple(). >> >> https://docs.djangoproject.com/en/3.2/ref/forms/widgets

Re: DJNAGO Many to Many field MultiSelect Into DropdownList

2021-10-19 Thread Sebastian Jung
ng any drop down. > > On Mon, 18 Oct 2021 at 16:07, Sebastian Jung > wrote: > >> Hello, >> >> then change in widgets Select() to SelectMultiple(). >> >> https://docs.djangoproject.com/en/3.2/ref/forms/widgets/#selectmultiple >> >> Regards >&

Re: I have an error in django project

2021-10-23 Thread Sebastian Jung
Hello, Please change code: SubCategory.objects.filter(productcategory_id=productcategory_id).order_by('name') To SubCategory.objects.filter(id=productcategory_id).order_by('name') Regards Yabesh schrieb am Sa., 23. Okt. 2021, 17:18: > > https://stackoverflow.com/questions/69687988/djang

Re: Initial value is not displayed on forms.DateField with widget input type="date" when localized

2021-10-27 Thread Sebastian Jung
Hello, I think you need a entry in settings.py with USE_L10N = True You can make fix format in settings.py with DATE_FORMAT = 'd.m.Y' Regards binoy...@gmail.com schrieb am Mi., 27. Okt. 2021, 11:07: > Hi > I have a form field forms.DateField and widget as follows > > class CustomDateInput(for

Re: Initial value is not displayed on forms.DateField with widget input type="date" when localized

2021-10-27 Thread Sebastian Jung
Hello, but why you configure this with a own class? You can configure this in settings.py... Regards Virenfrei. www.avast.com

Re: New user

2021-11-02 Thread Sebastian Jung
Hello, i find in beginning Django Girls tutorial very helpful: https://tutorial.djangogirls.org/de/ Am Mo., 1. Nov. 2021 um 22:24 Uhr schrieb Dalys Lanzas < lanzasda...@gmail.com>: > Hi, I want to learn Django, so if someone now the best way I appreciate. > > -- > You received this message becau

Re: How to approach

2021-11-04 Thread Sebastian Jung
Hello, Take a beginner guide like django girls tutorial. Then begin with your task step for step. It exists many turorials how to build login page with django etc.pp. and when you have a specific Problem then write and i think most of us can help you. Regards Trippy Samurai schrieb am Do., 4. N

Re: render two template at one time in django

2021-12-11 Thread Sebastian Jung
Hello, I think you csn use render_to_string. Then you cah use it to 2 different Templates and can concat both strings abd return string with httpresponse. Why do you don't include second template in First template? This is much easier... Regards VIVEK KUMAR schrieb am Sa., 11. Dez. 2021, 16:2

Re: On django model.

2021-12-24 Thread Sebastian Jung
Hello, Insectdb is not to generate/update database. Please make it with python manage.py makemigrations and after that python manage.py migrate Please read a tutorial https://tutorial.djangogirls.org/de/ Regards Amor Zamora schrieb am Fr., 24. Dez. 2021, 13:11: > Hi guys. > I have an applicat

Re: On django model.

2021-12-24 Thread Sebastian Jung
did not understand the situation, because with migrations I > don't resolve to convert the database into the model. The process that I > need is the other way around. > I needs for a table created in the database to be included in the model. > > El vie, 24 dic 2021 a las 14:03, Seba

Re: CSRF token missing on models with a file/imagefield

2021-12-28 Thread Sebastian Jung
Hello, try in your html template- I think this works... Regards Am Di., 28. Dez. 2021 um 08:26 Uhr schrieb Yorben Verhoest < yorben.verho...@gmail.com>: > So, turn out that the problem occurs because for some reason my > request.POST data is empty. > > I found out because I wrote a custom CS

Re: linebreaksbr doesn't work

2022-01-08 Thread Sebastian Jung
Hello, Write your own filter where you replace all \n with . Then you habe an idea why it would'nt work. Regards ___Maxim.Nesterov___ schrieb am Sa., 8. Jan. 2022, 10:58: > i tried but didn't work > > On Saturday, January 8, 2022 at 4:50:00 AM UTC+3 juw...@gmail.com wrote: > >> Try `linebreaks

Re: Basic upload

2022-01-27 Thread Sebastian Jung
Hey, Here a tutorial https://simpleisbetterthancomplex.com/tutorial/2016/08/01/how-to-upload-files-with-django.html John Dollosa schrieb am Do., 27. Jan. 2022, 15:02: > I can't seem to get the basic upload feature work. > Was trying to access UploadModel.my_upload_field.save but the method > 's

Re: Queryset in settings.py?

2022-01-28 Thread Sebastian Jung
Hello Fabio, i want that admin can make in database a entry to a field in my own settings model in field standardtemplatepath for example /newtemplate/ in my views.py there are exists a normal CBV Templateview with template_name = 'Testtemplate.html' and in settings.py i have a entry TEMPLATES = [

Re: copy value from field1 to field2

2022-01-28 Thread Sebastian Jung
Hello, i think this is easy. When customer submit post data to django and form is valid. then you make following. formentry = form.save(commit=False)formentry.field2 = formentry.cleaned_data['field1'] formentry.save() This is untested but i am very sure that this works Regards Am Fr., 28.

Re: web page blank

2022-02-01 Thread Sebastian Jung
Hello, Please try: context = { 'posts': post } 'Delvin Alexander' via Django users schrieb am Mi., 2. Feb. 2022, 06:59: > Hello everyone, > > I am currently following a django tutorial regarding applications. I have > followed through completely but for some reason, when I run serv

Re: Help

2022-02-02 Thread Sebastian Jung
You have a package https://pypi.org/project/django-emoji/ installed and now you must in yozr settings.py set this variable Fernando Jover schrieb am Mi., 2. Feb. 2022, 16:26: > Hi guys! > > > > i am learn Pythonand Pycharm show me this: > > > > raise ImproperlyConfigured( > > django.core

Re: UNIQUE constraint failed: matrixapp_bookplot.user_id

2022-02-06 Thread Sebastian Jung
Hello, Because your implementation is wrong. Please read this https://tech.serhatteker.com/post/2020-01/uuid-primary-key/ Jason schrieb am So., 6. Feb. 2022, 00:27: > A bit of a hint about your db schema, do you want a user ID to be one to > one with each book plot? also, why is your primary

Re: Ongoing project

2022-02-07 Thread Sebastian Jung
Hello, i also make at the moment with django oscar a own website with shop. What do you mean with innovations? Please write me if django oscar is a suitable system for you. Regards Am Do., 17. Dez. 2020 um 12:43 Uhr schrieb Peter Kirieny < kirienype...@gmail.com>: > Hello team > I have a proje

Re: Ongoing project

2022-02-07 Thread Sebastian Jung
Siddique schrieb am Mo., 7. Feb. 2022, 22:56: > Hello > > Hope all doing well > > Could you please send the GitHub link of your djnago Oscar project. > > Thanks > > On Tue, Feb 8, 2022, 1:27 AM Sebastian Jung > wrote: > >> Hello, >> >> i also make at t

Re: Django App

2022-02-07 Thread Sebastian Jung
Hello, I think there arw several tutorials in internet how shows yoz how you use django and heroku. When you have a specific question then ask. For professionel environment i wouldn't use heroku but fir Testing Environment for end user is heroku fine. Regards Abdulrahman Abbas schrieb am Mo., 7

Re: Name Fields values

2022-02-07 Thread Sebastian Jung
Fix values or should end consumer add/delete values? Feroz Ahmed schrieb am Mo., 7. Feb. 2022, 23:23: > Hi Everyone. > my personal project for marksheet is going on. > > all codes in views are fine > > fields are: > Name > English marks > Science Marks > Computer Marks > Avg > Sum > Total > > i

Re: How to trigger a function with an update view

2022-02-13 Thread Sebastian Jung
Hello, You overwright in forms.py in your form save() Example: def save(self, commit=True): instance = super(MyForm, self).save(commit=False) instance.flag1 = 'flag1' in self.cleaned_data['multi_choice'] # etc if commit: instance.save() return instance 'MH' via Django u

Re: Ajax call not working with X-editable

2022-02-14 Thread Sebastian Jung
Hello, You must send in all post and ajax post everytime CSRF Token. Please try it. When you send it which response you get from django? Regards Sujata Aghor schrieb am Mo., 14. Feb. 2022, 07:03: > Hello Django lovers, > > I am trying to use inline edit using X-editable >

Re: How to validate xl data

2022-02-14 Thread Sebastian Jung
Hello, Validation is very easy in django. Here a tutorial http://www.learningaboutelectronics.com/Articles/How-to-create-a-custom-field-validator-in-Django.php Sujata Aghor schrieb am Di., 15. Feb. 2022, 06:24: > Hi Prashant, > If you are talking about server side validations, then you can do

Re: Email verification

2022-02-23 Thread Sebastian Jung
Hey, a tutorial you find here: How to Signup User and Send Verification Email in Django - Django Tutorial (studygyaan.com) Am Mi., 23. Feb. 2022 um 16:34 Uhr schrieb Rushikesh Chavan < rushijs...@gmail.com>:

Re: An error with my code

2022-02-26 Thread Sebastian Jung
Hey, I thinn you have in your settings.py in installed app a app named polls. Django can not found such a package polls... Now you must install this package or remove it from settings.py Regards Kin Zinzombe schrieb am Sa., 26. Feb. 2022, 16:06: > ^[[23~Traceback (most recent call last): >

Re: Got an error creating the test database: database "" already exists

2022-03-16 Thread Sebastian Jung
Hey salima, This error is strange. Django try to use a Relation in postgresql which doesn't exist. I have only tip that you cam reset database. I would delete database in postgresql and create it new with psql tool. After this you must reset all migrations: https://simpleisbetterthancomplex.com/

Re: runserver not working

2022-03-22 Thread Sebastian Jung
Hey, I think yoz don't have installed django package. Please install it over pip install django Regards 'Delvin Alexander' via Django users schrieb am Di., 22. März 2022, 06:07: > would anyone know why my "manage.py runserver" is not working? > > Every time i try running it on the command prom

Re: Supertypes, subtypes and authentication

2022-03-24 Thread Sebastian Jung
Helli Anne, Authirization is automatical implemented in django. You need a login page and ggf. A Registration page. https://ordinarycoders.com/blog/article/django-user-register-login-logout This has nothing to do with a relationship from article to a User or a node. Regards Regards 'AnneVerm

Re: Having Trouble Creating a Test Database

2022-06-07 Thread Sebastian Jung
Do you have make manage.py migrate and afzer this manage.py makemigrations? Mark Phillips schrieb am Di., 7. Juni 2022, 17:02: > I can't seem to be able to create a test database for my django project. I > get this error: > > django.db.utils.ProgrammingError: (1146, "Table > 'test_hopi_django.Cu

Re: Does django supports dynamic allowlist in EmailValidator

2022-06-14 Thread Sebastian Jung
Hello, You can create a new validator where domains are validate and insert it as second validator. Regards Sencer Hamarat schrieb am Di., 14. Juni 2022, 15:16: > Hi, > > Say, I have an email field in a model and need to add an email validator > for email domain validation. > For this, allowli

Re: About Specific User Login

2022-06-17 Thread Sebastian Jung
Hello, Yoz get per query userdata and then wrotes it as further contrext https://vsupalov.com/pass-context-to-django-cbv/ Then you can render this in your template. Abhinandan K schrieb am Fr., 17. Juni 2022, 18:27: > use django icontains > > On Fri, Jun 17, 2022, 9:27 PM Shubham Mendade >

Re: Need some help

2022-06-26 Thread Sebastian Jung
You can make it easy with javascript on event change on select field then get selected option and write value to input field. You can google for a solution how yoz can get value from a select field on change event Ryan Nowakowski schrieb am Mo., 27. Juni 2022, 00:37: > If you want the initial in

Re: Looking for experienced Django backend engineer

2022-07-04 Thread Sebastian Jung
Have anyone experience with Django Oscar package then i need a New implementation. Write me to sebastian.ju...@gmail.com 16-451 S.Kalyan schrieb am Mo., 4. Juli 2022, 22:47: > Sir, Please look after freshers sir please. > > On Mon, Jul 4, 2022, 3:59 PM Miracle wrote: > >> Hi Anderson, >> >> I a

Re: Best digital ocean plan for a production server

2022-07-11 Thread Sebastian Jung
Hello, Digital Ocean is for mid to great companys very nice because scalability. But if you don't need that then digital ocean is too expensive. My favorit https://www.netcup.de/vserver/ with 8GB Ram and Epyc CPU for only 9€ per month. I think this is much much more faster then same price range on

Re: Remote database using ssh

2022-07-19 Thread Sebastian Jung
Hey, This is easy and have nothing to do with django. Yoz must make port forwarding over ssh from postgres port. https://superuser.com/questions/1213886/how-to-open-port-via-ssh-tunnel Regards Wennie Catabay schrieb am Di., 19. Juli 2022, 17:32: > Hello, > > I am stuck on defining how to conn

Re: Hi guys how to run pyscript on local webserver without using cdn ljnk

2022-07-29 Thread Sebastian Jung
Is it a joke? Please write a description which Problem you have... Ad Tariq schrieb am Fr., 29. Juli 2022, 16:58: > > > Sent from my Huawei Mobile > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop

Re: How to use JS in Django?

2022-08-16 Thread Sebastian Jung
Hey. Inspect website with browser and then view in console there are errors and in code wether yoz see block Regards Matheus Bon schrieb am Di., 16. Aug. 2022, 22:09: > Hello friends > > I'm new to Django and I'm having trouble using JS. > > I want to create a sidebar

Re: converting CURL command

2022-08-21 Thread Sebastian Jung
https://reqbin.com/req/python/c-xgafmluu/convert-curl-to-python-requests Am So., 21. Aug. 2022 um 23:27 Uhr schrieb lone...@gmail.com < loneso...@gmail.com>: > Hello all, > >I am interested in converting the CURL command of: > > curl 'https://www.walmart.com/chcwebapp/api/receipts' \ -H 'sec-

Re: Regarding Django forms

2022-09-22 Thread Sebastian Jung
Hello, I would hire on upworks a cheap developer how show you how to implement such thing. This is relative easy when you know how it works Regards Nishant Sagar schrieb am Fr., 23. Sept. 2022, 07:57: > Hey forks, > > I’m in little dilemma regarding Django forms. I'm working on a project as >

Re: Regarding Django forms

2022-09-23 Thread Sebastian Jung
t. > > If it is advisable why can't we add those in the documentation and if it > is not advisable what's the reason behind it? > > Thanks and regards, > Nishant > > On Fri, 23 Sep 2022 at 11:36 AM, Sebastian Jung > wrote: > >> Hello, >> >> I

Re: Regarding Django forms

2022-09-23 Thread Sebastian Jung
for a beginner easy... So far make what you want Nishant Sagar schrieb am Fr., 23. Sept. 2022, 13:40: > I want to make my form save files to a database without using the django > form > > On Fri, 23 Sep 2022 at 12:52 PM, Sebastian Jung > wrote: > >> Do you want change only a fo

Re: In need of a Technical Mentor

2022-10-27 Thread Sebastian Jung
Hello, Perhaps it is better to view here in Forum questions and when you want help then write Back. Then you can get more experience. Also yoz should make a upworks account as developer. On beginning with low hourly rate to get good Reviews. And after a time you have more experience and get higher

Re: New to Django

2022-11-02 Thread Sebastian Jung
Hello kevin, There are several django booking apps like this https://github.com/bernii/django-reservations I think its easier to change existing code to your requirements then begin from strech. Good luck Kevin gallagher schrieb am Mi., 2. Nov. 2022, 18:04: > Hi guys, > Im currently learning

Re: HOW TO GET DJANGO MODELS FIELD VALUE FROM MODEL OBJECT IN TEMPLATE TAGS-DJANGO

2022-11-06 Thread Sebastian Jung
Pls write us your aim with this code... Kala Rani schrieb am So., 6. Nov. 2022, 12:15: > my models.py > > class Locations(models.Model): > region = models.ForeignKey(Regions, > on_delete=models.CASCADE,blank=True,null=True) > name = models.CharField(max_length=255) > active_flag = models.Boolean

Re: Hosting Django App

2022-11-08 Thread Sebastian Jung
Hello Mh, it is relative easy. You need a root access to a linux server in internet. Here is a very good tutorial how to setup: https://www.digitalocean.com/community/tutorials/how-to-set-up-django-with-postgres-nginx-and-gunicorn-on-ubuntu-22-04 If you have problems then write you on which ste

Re: Quiz app

2022-11-16 Thread Sebastian Jung
Hello Lakshyaraj, I would create a app quiz with model quiz with a charfield. Then when get open 8 would get highesr id from model then randomizer and then get from database entity with this id. When you need 5 then get list of random 5 ids in this range and get all from database. Then yoz render

Re: Help with understanding django-oscar

2022-11-21 Thread Sebastian Jung
Hello Leslie, I am know many things in django oscar. Please ask if yoz have questions. Regards Leslie Taffe schrieb am Di., 22. Nov. 2022, 00:30: > Hey so i'm a new dev looking into utilizing Oscar but a lot of things in > the doc aren't clear to me if anyone would be willing to just show me a

Re: Help with understanding django-oscar

2022-11-21 Thread Sebastian Jung
Here are sanbox project with i have start https://github.com/django-oscar/django-oscar/tree/master/sandbox Good luck. On beginning absolut chaos because many things are not so as you know. For example show in apps.py this is absokut different as i know with urls.py. Or that models.py connects to

Re: Help with understanding django-oscar

2022-11-21 Thread Sebastian Jung
y I took a look at the sample project and I'm already familiar with it > what I need is some more examples of how to add apps to the dashboard > config file ive read the docs a lot I'm just not clear on how to implement > it > > On Mon, Nov 21, 2022, 6:39 PM Sebastian Jung

Re: Need to Replace django default I'd with UUID field

2022-11-22 Thread Sebastian Jung
You have also relations like foreignkey to this table? Then you must replace also all ids from foreignkey to new uuid Not simple this task Am Di., 22. Nov. 2022 um 19:55 Uhr schrieb Rajesh Kumar < rjcse131...@gmail.com>: > Hi everyone! > Hope everyone is doing well... > > Actually I have 100+

Re: Django Internationalization

2022-11-26 Thread Sebastian Jung
Only 1 line or you make a break with double quotes and makes behind Dhrub Kumar Sharma schrieb am Sa., 26. Nov. 2022, 17:59: > I am getting problems with {% trans " "%} when implementing with > paragraph. Will anyone help me how to fix it to translate paragraphs > correctly in template and what

Re: Please i need help in creating a Login page with Django

2023-01-19 Thread Sebastian Jung
I think this is a good start or? https://github.com/earthcomfy/Django-registration-and-login-system Namanya Daniel schrieb am Do., 19. Jan. 2023, 15:00: > Explain where you’re failing exactly, is it views, forms, templates or > models > > On Thu, 19 Jan 2023 at 01:56, Michael R. KOOMSON > wrot

Re: How to fight Russia in America

2023-03-12 Thread Sebastian Jung
Please stop this propaganda... This haven't nothing to do with django Michael Starr schrieb am So., 12. März 2023, 23:20: > Russia's influence in America is powerful. How do you fight it? > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. >

Re: django multi databases and multi sessions

2023-03-20 Thread Sebastian Jung
I think you mean multi tenancy... There are packages for that. Google after django multi tenant.. WM schrieb am Mo., 20. März 2023, 16:08: > Hi, > > I would like to have your help. > > Using Django multiple databases in a project, can I create multiple > sessions in the project? If so, I would

Re: Building a modular app?

2023-04-02 Thread Sebastian Jung
Hello, I would use database replication where tables are sync between 2 databases... Regards 'Simon Connah' via Django users schrieb am So., 2. Apr. 2023, 16:26: > Hi, > > I want to make a blogging platform and have a question about organising > the project. > > With my blog, I'll have the blo

Re: Beginner: How to find fields that can be over-ridden in a Generic Class Based Views

2023-04-11 Thread Sebastian Jung
Hello Plkt i have no idea what you mean and what is the aim sorry PULKIT AGRAWAL schrieb am Di., 11. Apr. 2023, 14:44: > Hello Everyone, > > I am very new to Django and am still learning the ropes. If anyone can > point me in the right direction, I will be thankful to you. > > My problems is as

Re: Report a Django bug how

2023-04-14 Thread Sebastian Jung
I have no Problem with Display Images. Most time i think this is a missconfiguration in settings.py Michael Starr schrieb am Fr., 14. Apr. 2023, 01:06: > Hi, I double checked my code and Django is not displaying images. I'd like > to report the bug but I need to be a django employee to do that.

Re: Tutorial for a Django web store

2023-04-14 Thread Sebastian Jung
Get django oscar sandbox and most things are allready implemented Michael Starr schrieb am Mi., 12. Apr. 2023, 08:02: > Does anyone know of a good tutorial (preferably with github files) that > teaches you how to make a web store in Django? It seems like a basic > literacy skill for Django progr

Re: Is programming in Django intellectually satisfactory

2023-04-27 Thread Sebastian Jung
Yeah but it exists frustrating things. For example left outer join is not easy to make this with django ORM... But for most things you found good and easy solutions... I love django Alec Delaney <96alecpatr...@gmail.com> schrieb am Do., 27. Apr. 2023, 05:28: > I love it > > On Wed, Apr 26, 2023,

Re: i need to learn more on django

2023-05-11 Thread Sebastian Jung
Hello naomi, When i start i start with simple function based Views but later i see this you should only use on beginning to understand whats happen in listview, updateview, createview and deleteview. Many things in django we use class based views which makes things much much easier. Here a tuto

Re: i need to learn more on django

2023-05-11 Thread Sebastian Jung
P.s. youtube is not good because you can't copy source code from YouTube Naomi Gentle-idyee schrieb am Fr., 5. Mai 2023, 18:48: > i just got started on django and though it looks complicated, i am told i > can learn it which i know its possible.so joining this community should > help me achieve

Re: Django Translation won't work

2023-05-21 Thread Sebastian Jung
I have delete complete django.po file and make new one and only make a translation for Gender to Geschlecht and same thing happens that in Englisch Language and in German Language both show Geschlecht... Am So., 21. Mai 2023 um 20:36 Uhr schrieb sebasti...@gmail.com < sebastian.ju...@gmail.com>:

Re: dynamic django tables

2023-05-21 Thread Sebastian Jung
Hello, I take everytime a EAV implementation for this task. Hete a manual: https://django-eav2.readthedocs.io/en/latest/ I hope this helps you Helly Modi schrieb am Fr., 19. Mai 2023, 14:59: > How to create dynamic models in django rest framework? > > Is there any chance to create dynamic mode

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: 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: I want help from senior python/django developer to create one django assignment project.

2023-06-05 Thread Sebastian Jung
Hey, I am not senior django developer but this task sound relativ easy. What is your problem? As senior it must be clear how you can create API endpoints and create CRUD for different models or? AKHIL KORE schrieb am Mo., 5. Juni 2023, 19:05: > Hi django developer group. > > I'm from india. I

Re: template css issue

2023-06-07 Thread Sebastian Jung
Please view in outlook original html source code and compare Email your private Environment with production server. Then you should see difference Praveen Chaudhary schrieb am Mi., 7. Juni 2023, 08:38: > Hello Everyone, > > Hope you are doing well. I want a small favor from you guys. > Here I ha

Re: Translating a Django website

2023-06-12 Thread Sebastian Jung
Because for professionel website no one use automatic translation... Vishesh Mangla schrieb am Mo., 12. Juni 2023, 11:22: > Why don't you use Google translate api? > > On Mon, 12 Jun, 2023, 14:36 אורי, wrote: > >> Hi, >> >> I have a website in English and Hebrew which I want to translate into >

Re: Demonstration of patching against CVE-2023-31047

2023-06-12 Thread Sebastian Jung
Use django >= 4.2.1 https://security.snyk.io/vuln/SNYK-UBUNTU2204-PYTHONDJANGO-5492023 5t00 schrieb am Mo., 12. Juni 2023, 20:32: > Hi all, > > I am new to Django and am looking to demonstrate how the application of a > Django patch can prevent against multiple file uploads in light of the > r

Re: In Need of Collaboration With a Django Dev in Europe

2023-06-20 Thread Sebastian Jung
Hello Ome, I open zerotenweb.com.ng and no https security. When i force https connection then i get security risk error. All .js,.jpg etc.pp. are not loading. I am sorry but i think when you are not able to implement your own website then you couldn't make a website for european customer. Sorry b

Re: Own documentation in django

2023-07-14 Thread Sebastian Jung
Hello chetan, I know django very much also aaciidoc. Problem is that asciidoc have cool features like automatic create TOC or count Images and tables an further more but uf you want to create a template for a include where i render a Image then you can only use veriables in this template very labo

Re: Need to trigger action on 4th Saturday of the month

2023-07-25 Thread Sebastian Jung
Very cool solution chetan. I think i should try it. Thank you Chetan Ganji schrieb am Di., 25. Juli 2023, 22:56: > Hi Mr Cain, > > This would make more sense to me! > https://django-celery-beat.readthedocs.io/en/latest/ > > You could create background tasks to create background tasks that run at

Re: CreateView for non default database

2023-07-26 Thread Sebastian Jung
Hello , I found this tutorial: https://dboostme.medium.com/using-django-with-multiple-databases-introduction-8f0ffb409995 But i self don't use several databases Regards Muhammad Juwaini Abdul Rahman schrieb am Mi., 26. Juli 2023, 05:11: > Hi all, > > I have two different databases as below:

Multitentant login

2019-06-05 Thread Sebastian Jung
Hello, i have a Login Form with 3 Fields: Mandatename, Username and Password. Now the user login now with a Mandatename. There are a global database where there are a relation between mandate name and a further database. All Querys now from this User goes then to this database. Example: User

call a view several times in another view

2019-06-18 Thread Sebastian Jung
Hello, I have a view like this: def secondmethod(request,entry): if request.method='POST': return request.POST.get('selection') render(request,'eintrag.html','entry':entry) def test(request): if request.method='POST': queryresult = model.objects.all() for entry

Re: Question about makemigrations

2019-06-21 Thread Sebastian Jung
Hello, Do you make python3 manage.py migrate after makemigrations? Regards Martin Kong schrieb am Fr., 21. Juni 2019, 13:25: > Hello > I am new to django, and i am following the tutorial provide in github, > from the tutorial. > The tutorial I am following is > https://github.com/django/django

Re: action in a form

2019-06-23 Thread Sebastian Jung
Hello, You must Put in Action not a Name from a function. You must Put a url dir example action="/newurl/" And in your url a Link from /newurl/ to the function Regards bengoshi schrieb am So., 23. Juni 2019, 17:57: > Hi, > I tried to write a form: > > ### > > {% extends 'base.html' %} > {% bl

Re: action in a form

2019-06-24 Thread Sebastian Jung
for saving data. > > Greetings > bengoshi > > > Am Sonntag, 23. Juni 2019 19:31:05 UTC+2 schrieb Sipum: >> >> Hello, >> >> In action use the url associated with that view then it will work for >> you. >> If not then kindly tell what errors you are g

Re: action in a form

2019-06-24 Thread Sebastian Jung
l_entrys = Journal.objects.all() > context = { > 'journal' : journal_entrys > } > return render(request, "rewe/rewe_journal_overview.html", context) > > > forms.py > > from django import forms > from .models import Journal

Django Login Secret key

2019-07-09 Thread Sebastian Jung
Hello, I want in my Login Page a further field Secret Key. This Input ist replacement dir Secret Key in settings.py. Ist this possible? Can someone explain me how? Regards -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from th

Re: Django Login Secret key

2019-07-09 Thread Sebastian Jung
I encrypt several fields in Database. Now it's possible that a Hacker get Database and settings.py. i want Maximum Security and i think when User at Login Page Input Secret Key that ist optimal. Also i want AS SaaS No Access to Data in database because Data ist high Security. -- You received t

Docker: NGINX, Postgres, Django, Static, Media Files

2019-07-14 Thread Sebastian Jung
Hello, i want i complete ready Docker Container for production that accept all Host of wourld on port 80. I want a docker container for Nginx another for Postgres another for Django and static Files and another container for Media Files. I have not enought experience to get a manual like this:

E-Mail Client Django

2019-07-15 Thread Sebastian Jung
Hello, i want a full complete E-Mail client like https://www.mailpile.is/ but in django. I need only from mailpile a view with template with email directories on left side and in rest with a list with date and subject. When user click on email then on bottom open detailview from email. And i

Allauth if social login

2020-05-22 Thread Sebastian Jung
Hello, On my website there are a menu item changepassword. Users can login normal over django and over allauth with social accounts. When user is login over social account i want to disable menu item change password. How can i find out that user is login with an allauth social account in templa

Re: Database audit fields in Django

2020-05-22 Thread Sebastian Jung
Hello, You must create it over models.py. please Take a Look Here https://stackoverflow.com/questions/2771676/django-datetime-issues-default-datetime-now Another field Like Lastchangefromuser you must created it AS onetoone field in models.py and in Views you can Insert requests.user to fill curr

Re: Postgresql and mysql

2020-05-23 Thread Sebastian Jung
Hey you can Import Files on a Terminal with sudo -u postgres psql < File.txt Salima Begum schrieb am Mo., 18. Mai 2020, 13:50: > Hi , > Mysql query which we used previously now we moved to postgresql, > Here is the below query in mysql , Can anyone help me to write > similar query in postgresql.

Re: django-filters many to many

2021-02-15 Thread Sebastian Jung
Good morning, Yeah it works. Thank you Agni Venus schrieb am Mo., 15. Feb. 2021, 05:32: > Put this inside and below if your model > > > > Def __str__(self): > return self.what-ever-name-you-want > > On Mon, 15 Feb, 2021, 10:01 am Agni Venus, wrote: > >> Put this below the model... >> Add >> De

Re: django-filters many to many

2021-02-15 Thread Sebastian Jung
Hello, now it shows on frontend the name. Problem is, that in value also string is instead id. For example: Test but this must be: Test How can i change this? Regards Am Mo., 15. Feb. 2021 um 05:32 Uhr schrieb Agni Venus : >

Re: django-filters many to many

2021-02-15 Thread Sebastian Jung
Yeah but this doesn't work. I describe IT in my Last Post why Regards MOHIT DILIP MAKWANA schrieb am Mo., 15. Feb. 2021, 15:22: > Hey, > You can add a dunder method for your "Productinterests" model to > return the name of the object instead of the name of model. > It involves the use of

Re: Smaller project that would be payed

2021-03-05 Thread Sebastian Jung
Hello Ahmed, I am well but implementation new widget is not so easy. I hope that you want to help me. Regards Am Fr., 5. März 2021 um 11:11 Uhr schrieb Ahmed omar miladi < ahmedomarmil...@gmail.com>: > hello sebasty how are you? > > > On Fri, 5 Mar 2021 at 16:31, sebasti...@gmail.com < > sebast

Re: Create email template with the click of a button

2021-03-21 Thread Sebastian Jung
Hello, This is dir Django a relativ easy Task. You create a Form with fields Like to,CC,BCC,subject,Text message, HTML Message and Render These Form. Then User enter all Data and when it submit you get the Post Data And submit IT with djangos Sendmail https://docs.djangoproject.com/en/3.1/topics/e

Re: Create email template with the click of a button

2021-03-23 Thread Sebastian Jung
I have implement it as a bootstrap modal where a Form with fields are shown. When User click submit the Page load New but If you don't want that Page is load New you need a Ajax jquery submit to django Kristen schrieb am Mo., 22. März 2021, 15:46: > Hello, > > Correct. I want to the user to clic

Re: getattr on related not possible?

2021-04-15 Thread Sebastian Jung
I have found the right solution. Thanks sebasti...@gmail.com schrieb am Do., 15. Apr. 2021, 18:07: > Hello, > > i have following: > > models.py: > > from django.db import models > > class Tabs(models.Model): > id = models.AutoField(primary_key=True) > def __str__(self): > return

  1   2   >