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

Re: action in a form

2019-06-24 Thread Sebastian Jung
al_entrys > } > return render(request, "rewe/rewe_journal_overview.html", context) > > > forms.py > > from django import forms > from .models import Journal > > class BookingForm(forms.ModelForm): > class Meta: > model = Journal >

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 >

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' %} > {%

Re: action in a form

2019-06-24 Thread Sebastian Jung
. > > 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 getting. >>

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

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:

Only for specific region

2019-07-29 Thread Sebastian Jung
Hello, I want that my Website only German user can Open it and another User from Others Region a template Show, that they Not live in Germany. Regards -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop

Show all images per Profile

2019-08-11 Thread Sebastian Jung
Hello, i have a extend User Model like this: class Profile(models.Model): user = models.OneToOneField(User, on_delete=models.CASCADE) telefon = encrypt(models.CharField(max_length=70,default="",null=True)) and a class with documents incl. fotos: class Document(models.Model):

Re: Please help me to solve the error

2019-09-01 Thread Sebastian Jung
Hello, You must create another url.py under your App polls. Regards Manas Sanas schrieb am So., 1. Sep. 2019, 15:37: > There is an error when i add url to url.py. The url.py file is as follow- > from django.contrib import admin > from django.urls import path, include > > > urlpatterns = [ >

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

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

Re: Django Login Secret key

2019-07-10 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

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

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

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

Re: How can i start to learn django?

2021-06-15 Thread Sebastian Jung
At beginnig Django Girls Tutorial ist a good start in my opinon https://tutorial.djangogirls.org/en/ anil9...@gmail.com schrieb am Di., 15. Juni 2021, 14:27: > You can try freecodecamp.org's youtube channel if you like to learn from > videos else Django docs are also great. > > On Sunday, 13

Re: Adding Two Models In Django

2021-06-15 Thread Sebastian Jung
Hello, You create all modelfields inkl. Total sum and after user submit Form with 2 fields in save() Method you sum both fields together ans write this in total field... Regards Ridwan Adeyemo schrieb am Di., 15. Juni 2021, 20:34: > How do I add two models together in the database, two

Re: Help

2021-06-15 Thread Sebastian Jung
Good luck to be an expert in Django in only one Montag Inside Believer schrieb am Mo., 7. Juni 2021, 18:21: > Sir I'm internee i know python my company has assigned me bugs to resolve > in live project but i have not didn't experience of Django. Anyone who can > help me how to find bugs

Re: My first django project works in mylaptop, locally, but not when deployed

2021-06-08 Thread Sebastian Jung
Hello Venezuela, please open url http://127.0.0.1:8000/hola... this is think works... Regards Am Di., 8. Juni 2021 um 22:24 Uhr schrieb Douglas Lopez < douglaslopez2...@gmail.com>: > Maybe some body can help on this. > > I have a very simple apps ("Hello work"). See mysite.zip attached. > Then

Re: Sending emails with a name over 75 characters

2021-06-07 Thread Sebastian Jung
Hello Nicolás, i would take another smtp python client to do that. But i am not 100% sure that you don't have here the same problem... Regards Am Mo., 7. Juni 2021 um 17:46 Uhr schrieb Nicolás Gustavo Bruna < bruna.nicolasgust...@gmail.com>: > Hello, how are you? > > I am having trouble

Re: CHOICES

2021-06-13 Thread Sebastian Jung
Hello, i think this is the right answer: from django.db.models import Sum ModelName.objects.filter(field_name__isnull=True).aggregate(Sum('field_name'))# returns {'field_name__sum': 1000} for example Am So., 13. Juni 2021 um 12:04 Uhr schrieb www.forum-gh.com < ladamo...@gmail.com>: > Hello

Re: use of annotate in django query

2021-06-02 Thread Sebastian Jung
Hi Eugene, Please make Print(report.query) then you get SQL querys and Most of time i get an Idea what's wrong Regards Eugene TUYIZERE schrieb am Mi., 2. Juni 2021, 21:41: > Dear Team, > > I need help. I am working on a project where one of the tables is about > requests. I want to have a

Re: Admin TypeError - Cannot call delete() after .distinct()

2021-07-02 Thread Sebastian Jung
Hello Mike, i don't understand why you want make a delete from a distict... Then you delete random entrys. When you want do delete dupletes then this is a wrong method to delete dupletes... Regards Am Fr., 2. Juli 2021 um 08:03 Uhr schrieb Mike Dewhirst < mi...@dewhirst.com.au>: > Trying to

Re: Django help| Urgent | how to find the frequency of a string for each word using django admin?

2021-07-09 Thread Sebastian Jung
Hello Peter, ich would make it with a signal. Here a another example to use a post save signal: from django.db.models.signals import post_savefrom django.dispatch import receiver class TransactionDetail(models.Model): product = models.ForeignKey(Product) # method for

Re: Filtering OR-combined queries

2021-04-30 Thread Sebastian Jung
Take q for or Filterung: https://stackoverflow.com/questions/6567831/how-to-perform-or-condition-in-django-queryset Shaheed Haque schrieb am Fr., 30. Apr. 2021, 02:43: > Hi, > > I have a query which ORs some selects on a single table together like this: > > jurisdiction = 'aaa' > qs =

Re: module not found

2021-04-27 Thread Sebastian Jung
Hello, You Install Django package with pip Install but you need with python3 pip3 instead of pip. Regards Théodore KOSSI schrieb am Mo., 26. Apr. 2021, 13:40: > can you help me for this problem? > > -- > You received this message because you are subscribed to the Google Groups > "Django

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

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

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 < >

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

Re: Create email template with the click of a button

2021-04-17 Thread Sebastian Jung
Hello, Emailfield is nothing other then a normal InputField but later with a special validator. I would take InputField then write your own Validator where you split input commasparated an validate every address with a regex.

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 >>

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

Re: DateField is a string in model instance instead of datetime object

2021-08-29 Thread Sebastian Jung
Hello, I think this behaviour is absolut normal. When you create on a databasesystem a datefield and make a insert with this field with string '2021-08-21' then databasesystem convert this string automatical into date... So i think this has nothing to do with python/django and this behaviour i

Re: Greetings to Everyone

2021-09-15 Thread Sebastian Jung
Hello, answer ist relativ simple: Code: abt = {"About_slides":About_slides,"Description":Description} return render(request, 'about.html') you don't insert context in render. Right line: return render(request, 'about.html',abt) Regards Am Mi., 15. Sept. 2021 um 14:05 Uhr schrieb

Re: Django Discord

2021-08-10 Thread Sebastian Jung
Hey, This is the same question as where i can find django on telephone... Regards Lloyd Dube schrieb am Di., 10. Aug. 2021, 21:34: > Hi everyone, > > Where can I find Django on Discord? > > TIA. > > > Regards, > ~ Lloyd > > -- > You received this message because you are subscribed to the

Re: Display Hierarchical Categories in Django Admin

2021-08-12 Thread Sebastian Jung
Hello Rahul, i Django MPTT tutorial you find in modely.py: from django.db import modelsfrom mptt.models import MPTTModel, TreeForeignKey class Genre(MPTTModel): name = models.CharField(max_length=50, unique=True) parent = TreeForeignKey('self', on_delete=models.CASCADE, null=True,

Re: Can anyone help me

2021-07-28 Thread Sebastian Jung
Hello, I have start with django girls tutorial. This is a relative easy start with a simple app. But i think after this you are able to develop your app. https://tutorial.djangogirls.org/en/ Regards Nagaraju Singothu schrieb am Mi., 28. Juli 2021, 15:51: > Dear friends, > > I'm new to django,

Re: HELP

2021-07-28 Thread Sebastian Jung
Hello, You need login page. Tutorial here https://learndjango.com/tutorials/django-login-and-logout-tutorial Regards Toure Said schrieb am Mi., 28. Juli 2021, 18:42: > I have connection data in my mysql database and I want to connect with > credentials in the database using django > > -- >

Re: HELP

2021-07-28 Thread Sebastian Jung
-to-set-up-django-environment-in-linux-for-beginners-35am Regards Sebastian Jung schrieb am Mi., 28. Juli 2021, 19:30: > Hello, > > You need login page. Tutorial here > https://learndjango.com/tutorials/django-login-and-logout-tutorial > > Regards > > Toure Said schrieb am M

Re: Own Widget as Stadard

2021-08-01 Thread Sebastian Jung
Hello Christian, Thanks for your response but your solution is not suitable for my problem. Regards Christian Ledermann schrieb am So., 1. Aug. 2021, 20:42: > https://adamj.eu/tech/2021/05/05/3-uses-for-functools-partial-in-django/ > > "Here are a few ways I’ve used partial in Django

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: 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: 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

Re: DJNAGO Many to Many field MultiSelect Into DropdownList

2021-10-19 Thread Sebastian Jung
p 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 >> >&g

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

Re: DJNAGO Many to Many field MultiSelect Into DropdownList

2021-10-18 Thread Sebastian Jung
ple > 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/#selectmu

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: Django Query

2021-10-04 Thread Sebastian Jung
Hello Eugene, I think that django mptt can Store and display such a tree. Regards Eugene TUYIZERE schrieb am Mo., 4. Okt. 2021, 20:29: > Team, > > Assume you have 3 tables PROVINCES, DISTRICTS, and SECTORS and you have > Province, District and Sector field names respectively in each table. >

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

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

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, Sebastian Jung

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

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

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: 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.

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: > >

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,

Re: Added new column to model and run migrations but not applied to database table

2021-07-20 Thread Sebastian Jung
Is in settings.py also in installed app? Without that migrations don't work Salima Begum schrieb am Di., 20. Juli 2021, 19:00: > Hi , > Thank you for your responses. > I have tried all the ways Which you people suggested I am not getting any > error while running makemigrations or migrate and

Re: Hiii Every one

2021-07-15 Thread Sebastian Jung
Hello, In germany we have a provider where you get a root server for 7€ with 2 cores. Name is netcup. Linux is allready preinstalled... This server are fast and much cheaper than amazon server Regards Mahendra schrieb am Do., 15. Juli 2021, 18:38: > Which is the best hosting platform for

Re: Can anyone help me

2021-07-28 Thread Sebastian Jung
Hello Nagaruj, Here in this forum you get help on specific problem but when you search a people how help you develop such a page then you find on upwork developer fast and cheap. If you want to make it self then several tutorials exists. Regards Nagaraju Singothu schrieb am Mi., 28. Juli

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

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: 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:

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 <

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: 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: 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

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

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

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( > >

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

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.,

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: 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: 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: 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.,

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 >

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

Re: Django Resolve Choices Class

2023-08-31 Thread Sebastian Jung
Thank you it is working. Wonderful Andréas Kühne schrieb am Do., 31. Aug. 2023, 20:03: > If you want the string instead of the value, you just use: > entity.get_gender_display() > > Django automatically adds these "magic methods" when you have fields that > have choices. > > You can see this in

Re: Django hosting

2023-10-16 Thread Sebastian Jung
You can view query like list = models object.filter() And then printout list.query Mansour Abdullahi Abdirahman schrieb am Mo., 16. Okt. 2023, 13:13: > We have a DatetimeField in our modal , when we want to filter the month ( > only the month ) we could do something like this: > >

Re: Mysql for Django

2023-09-24 Thread Sebastian Jung
Hello, in Linux and Mac you can use DBeaver https://dbeaver.io/download/ This is great app for administration of all DBMS. Regards Am So., 24. Sept. 2023 um 22:50 Uhr schrieb Lakhjeet Samra : > Hi Guys, > I am new to Django > I use Mac , > I am unable to down mysqlclient for Django project

Re: Postgres connection error

2023-10-08 Thread Sebastian Jung
GRANT ALL PRIVILEGES ON DATABASE knapds TO system; Don't give all rights. This is very strange in PostgreSQL Pranav Sawant schrieb am So., 8. Okt. 2023, 16:24: > *Hey all, I am new to django* > *and i want to connect to postgresql * > > *what I have doing:* > > *At postgres plsql* > CREATE

Re: Hello World!

2023-10-14 Thread Sebastian Jung
Write raise Exception ("New Error") im your views.py Then you have a exception oduwole samuel schrieb am Sa., 14. Okt. 2023, 15:12: > How can I become an execpt in Django > > > On Sat, Oct 14, 2023, 2:05 PM Adesewa Lola > wrote: > >> i have an issues with my django site >> >> All i want to do

Re: Road Map for a newbie

2023-08-17 Thread Sebastian Jung
Hello, At the beginning i read much tutorials about function based django. It is on beginning a little bit easier because you understand how a list-, create-/update- and deleteview works. For little project this approach is fine. I waste with function based aproach too much time because i extend

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

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

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 >

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: 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,

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

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: 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

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

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

Re: Regarding Django forms

2022-09-23 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
rm is a must. > > 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 would hir

  1   2   >