Re: GeoDjango Hosting

2023-11-16 Thread Sebastian Jung
No no please don't go to digital ocean..
 I know many people how have much problems... No dedicated cpu.. no fix
ressources... No go...

IKT Service  schrieb am Do., 16. Nov. 2023, 16:35:

> Try digital Ocean
>
> tor. 16. nov. 2023 kl. 15:17 skrev Ernest Okiya :
>
>> Hello. GCP will work best for you. Try it out
>>
>> On Thu, 16 Nov 2023, 02:46 lone...@gmail.com, 
>> wrote:
>>
>>> Hello all,
>>>
>>> I am looking for a webhosting service that allows me to install qgis
>>> software packages on the webhost.  My preferred hosts are either Ubuntu or
>>> Debian.  Anyone know of any good solutions?
>>>
>>> Thank you.
>>>
>> --
>>> 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 this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/e106b78b-847a-451c-87d2-33bb246185f8n%40googlegroups.com
>>> 
>>> .
>>>
>> --
>> 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 this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAM2QfqoPbSUHxtcXQVBjM0-_RffOe2agzb2iY465W0%3DFnQ%3DYPg%40mail.gmail.com
>> 
>> .
>>
> --
> 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 this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAA7BsYgs%3DZk8PfXmwtt0u2mhi7GJ72rztXqH-rHV5rfOP6jP_w%40mail.gmail.com
> 
> .
>

-- 
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 this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAKGT9mxYw%2BPoY5CV2kmJmH83%2B8pAAo-3JT2Zid6-ZOJkdzi2GQ%40mail.gmail.com.


Re: GeoDjango Hosting

2023-11-15 Thread Sebastian Jung
Hello,

Take a VPS when you don't need hugh amount of ressources. We have in
germany netcup atarts with 3,25€ with 40 GB ssd and you can install every
OS what you want or when you need much more ressources then a root server
with dedicate CPU. Starts from around 10€ per month with 4 high end cores,
i think 6 gb ram and 80GB ssd.

https://www.netcup.de/vserver/vps.php

Netcup is a very good Provider.

Regards

lone...@gmail.com  schrieb am Do., 16. Nov. 2023,
00:45:

> Hello all,
>
> I am looking for a webhosting service that allows me to install qgis
> software packages on the webhost.  My preferred hosts are either Ubuntu or
> Debian.  Anyone know of any good solutions?
>
> Thank you.
>
> --
> 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 this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/e106b78b-847a-451c-87d2-33bb246185f8n%40googlegroups.com
> 
> .
>

-- 
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 this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAKGT9mybG5XddUJWPMFSgZ755M499HqTDhUEjOOQDiaB18AubA%40mail.gmail.com.


Re: activate source my_env/bin/activate

2023-11-15 Thread Sebastian Jung
Linux is case sensitive... Try source

william Kachuma  schrieb am Mi., 15. Nov. 2023, 16:31:

> good day
>
> i am experiencing problem when trying to activate my_env, can someone
> please assit me
>
> Command 'Source' not found, did you mean:
>   command 'gource' from deb gource (0.54-1)
> Try: sudo apt install 
>
> kind regards
>
> --
> 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 this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/f70ed7d8-01ba-4b8f-a8f0-5c409146b929n%40googlegroups.com
> 
> .
>

-- 
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 this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAKGT9mzULeeRf8m1XqPBzHEAArz%3DLJCua%2B3Og4FFVTP4aEyWPw%40mail.gmail.com.


Re: Encrypt entire Django project and decrypt in ram to start server.

2023-11-14 Thread Sebastian Jung
I think this here are a good solution where you can build all files as .so
files which i think are c files.

https://stackoverflow.com/questions/32577864/cython-for-a-django-app-would-it-work

Daniel Martinez  schrieb am Di., 14. Nov. 2023, 15:17:

> A solution for that is add a IP blocker in your server to avoid brutal
> forces attacks that way you can use.
>
> Or a tool for monitoring you traffic such Snoft.
>
> Happy coding 
>
> On Mon, Nov 13, 2023, 6:54 AM Om Khade  wrote:
>
>> I want to save my Django project on a shared server in encrypted format
>> and build a script that decrypts the Django project files in ram and start
>> the server so that code is not leaked or anyone is not able to tamper with
>> it.
>>
>> Is there a way to do this?
>>
>> --
>> 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 this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/d53bd68b-9a3d-4bb8-a56a-c2092808b903n%40googlegroups.com
>> 
>> .
>>
> --
> 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 this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CANp4oevnerJifg3WVCMmkTfvD9g3fN4pCVvKZfUdSEEZq_K7Yw%40mail.gmail.com
> 
> .
>

-- 
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 this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAKGT9myG%3DiEe4eQB2ga_23np22bbRUsNwuNjQokeXc%3DZ2CV7vw%40mail.gmail.com.


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:
>
> *MyModal.objects.filter(date_field__month=10)*
>
> But it did not work for so many as I remember, while I did some research
> still that problem stands and it's tiddling around.
>
> Anyone who got the solution.
>
> iIf you do, share for all of us.
>
> Thanks. *Regards*
>
> --
> 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 this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAET2c59RBbpiuWKkh2i38vk3z5vzPh69f5%3Db6XxpcMP%2Bteaa3g%40mail.gmail.com
> 
> .
>

-- 
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 this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAKGT9mxZ4-L5MBLfO-MtXRyEXkLgxJbV3d%3D%3DO0rg6izKh%2ByXNw%40mail.gmail.com.


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 is to add a mail so whenever the user click the sign up
>> button the user should receive a mail like thanks for signing up
>>
>> but mine is not working
>>
>> On Fri, Oct 13, 2023 at 3:14 PM Mithilesh Rawani 
>> wrote:
>>
>>> 404 screenshot share this group
>>>
>>> On Fri, 13 Oct 2023, 7:26 pm Onjomba Felix, 
>>> wrote:
>>>

 Look at how you configure your static files and also the deburg mode of
 your system

 Settings.py

 DEBUG = True
 STATIC_URL = '/static/'
 STATICFILES_DIRS = [os.path.join(BASE_DIR, "static")]

 main urls.py

 from django.conf import settings
 from django.conf.urls.static import static

 urlpatterns = [
 # ... your other URL patterns ...
 ]

 if settings.DEBUG:
 urlpatterns += static(settings.STATIC_URL,
 document_root=settings.STATIC_ROOT)


 Then Run
  python manage.py collectstatic



 On Fri, Oct 13, 2023, 4:14 PM Alvaro Nascimento 
 wrote:

> i have an issue with my Django site,
>
> on loading staticfiles, it does 404 error.
>
> but in production everything works fine.
>
> --
> 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 this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/f6e31790-20fc-40db-b22a-bc86a3d9738an%40googlegroups.com
> 
> .
>
 --
 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 this discussion on the web visit
 https://groups.google.com/d/msgid/django-users/CAJU16zf0Pp7o7DAD-sns7fFmo-R4QRy6wqDM_6Tnsu4sd8mdVg%40mail.gmail.com
 
 .

>>> --
>>> 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 this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/CAEQ0vnCKW2nodQnZ5DMtykkZUM%3De_9aCy5dExwQBLRW2QYTmOA%40mail.gmail.com
>>> 
>>> .
>>>
>> --
>> 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 this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CA%2BPuKxpSdk-CWZP3jG-GxGM6%2BR4qg81OQvACRyX8E4OTJyXooA%40mail.gmail.com
>> 
>> .
>>
> --
> 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 this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAO8%2Bh4Th6z9cPDcZuFfDoS5L3cFBiwAxUsHeBXzGzwFC5gGXGQ%40mail.gmail.com
> 
> .
>

-- 
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 this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAKGT9mwObQixToMuffhg-wVBJCgYWEtV5cENDVtBPUDRyVocKw%40mail.gmail.com.


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 DATABASE knapds; CREATE USER system WITH PASSWORD 'password'; ALTER
> ROLE system SET client_encoding TO 'utf8'; ALTER ROLE system SET
> default_transaction_isolation TO 'read committed'; ALTER ROLE system SET
> timezone TO 'Africa/Johannesburg'; GRANT ALL PRIVILEGES ON DATABASE knapds
> TO system; \q
> *in settings.py:*
>
> 'ENGINE': 'django.db.backends.postgresql_psycopg2',
> 'NAME': 'knapds',
> 'USER': 'system',
> 'PASSWORD': 'password',
> 'HOST': 'localhost',
> 'PORT': '',
>
> *and I am getting this error:*
>
> django.db.migrations.exceptions.MigrationSchemaMissing: Unable to create
> the django_migrations table (permission denied for schema public
> LINE 1: CREATE TABLE "django_migrations" ("id" bigint NOT NULL PRIMA...
>
> Please help
>
> --
> 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 this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/a9eeca40-befa-4a0b-b1fc-db78924e6218n%40googlegroups.com
> 
> .
>

-- 
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 this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAKGT9mzY3BrAhi%3D%3D5TmGEtaE285BZAyjhoEx%3Dcn9AVzS0BgBkg%40mail.gmail.com.


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 any suggestions
> I have Mysql workbench installed  Is it right.
>
> Thank You
> Lakhjeet
>
> --
> 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 this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/f49a52f5-2786-4695-b98d-c0fe1f091797n%40googlegroups.com
> 
> .
>

-- 
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 this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAKGT9myv%3D8i2-7dNihKvD2r%3DjK_WZnqBLw8JqyZ-zWd336uFyg%40mail.gmail.com.


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 the documentation:
> https://docs.djangoproject.com/en/4.2/ref/models/fields/#choices
>
> Regards,
>
> Andréas
>
>
> Den ons 30 aug. 2023 kl 22:11 skrev sebasti...@gmail.com <
> sebastian.ju...@gmail.com>:
>
>> I have in my
>>
>> model.py:
>>
>> class GendersChoices(models.IntegerChoices):
>> M = 0, _('Male')
>> F = 1, _('Female')
>> N = 2, _('Gender Neutral')
>>
>> class Address(models.Model):
>> gender = models.PositiveSmallIntegerField(choices=GendersChoices.choices,
>> blank=True, default=GendersChoices.F, null=True,verbose_name=_('Gender'))
>>
>> Now i have a entity from Address and when i make entity.gender i get a
>> number from database. But i want when in entity are insert 2 then i want to
>> get _('Gender Neutral') instead of 2
>>
>> How i can do that?
>>
>> --
>> 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 this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/53c122e7-0448-4d67-9cd4-ce11ffa2ef5cn%40googlegroups.com
>> 
>> .
>>
> --
> 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 this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAK4qSCcCrg-VtCdJDFRicqY0WpvNw28SMRR3tAzvaUro69gurw%40mail.gmail.com
> 
> .
>

-- 
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 this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAKGT9mxk8AJtfxZFHSTsiDr1kaW7FfC5%2BK1Lo%3DYU%3D9TrTSXiGQ%40mail.gmail.com.


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 my
own project after and after and then when for example i find a mistake in
one listview most other listviewa from another models i must fix. So it is
hugh amount of bugfixes.

Then i learn class based approach this i a little bit harder because you
don't know which classes exists and what of this classes what makes. It
exists in Internet one website where you find perfectly what classes exists
and much classes have comments what class does. Since i use class based
views i am very happy.

On beginning i have for every listview and for every form a own template.
Also i find same problem like in function based approach... Often i want to
extend all of listview Templates with same feature and then i fix muuuch
templates. Then i build me self for list-, create-, updateview one template
where i can insert every model. Since that i am very happy.

I learn how i can make own widgets.

I learn how i can makes my own filter/tags for templates.

I disagree mike with his tip to take django documentation because this
manual is very nice when you search for a specific thing. But for learning
as beginner this is not right approach.

I give you know my tip: learn short how you writes function based
listview/deleteview/createview and updateview then when you know how it
works don't waste time to go deeper in function based. Learn instant usage
of classes based which class, method exists and what it makes and how you
override this methods... there exists in internet much tutorials also in
class based views

When you know this writes me then i give you more tipps

Last thing there exists a Webpage for django simple is better then complex.
There you find much good tutorials veeery good describe and very usefull
for example django and Ajax...

Begin with your own project and extend it after and after and if yoz have
questions then writes me...

Good luck

Mike Dewhirst  schrieb am Fr., 18. Aug. 2023, 02:24:

> On 17/08/2023 7:24 pm, Tesfaye Yimam wrote:
>
> Hello all,
>
> This is my second day of learning Django. I am comfortable with python
> (the basics and the OOP).
> I wanted to have some guidance from this community to learn Djanog by
> taking small steps in a consistent way.
> Any one who has a road-map, especially if you tried it and worked for
> you,  that will greatly help me in the learning process of Django. So,
> please drop me a message here.
> I'm happy to be here.
>
>
> Welcome!
>
> There would be no better way to start than working through the tutorial in
> the docs, step by step ...
>
> https://docs.djangoproject.com/en/4.2/
>
> Afterwards, you should decide/specify your own project and when the spec
> is more or less settled you should set it up as a fresh project and make it
> happen.
>
> The critical part of learning Django is the specification of what you
> want. Personally, I keep the (excellent) docs permanently open in my
> browser so I can research how to achieve what I want to happen.
>
> You will discover that Django takes a couple of different paths and you
> need to choose. Both are valid but I chose functional views rather than
> class-based views.
>
> My reasons were that functional views seem simpler and allowed me absolute
> flexibility. I felt that class-based views while brilliant were more
> difficult for me. YMMV.
>
> Also, Django now allows async programming. That's a bit too advanced for
> me - at least until it becomes necessary.
>
> Good luck
>
>
> --
> 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 this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/e9724d36-e07b-42b2-8902-6a8294c695b5n%40googlegroups.com
> 
> .
>
>
>
> --
> Signed email is an absolute defence against phishing. This email has
> been signed with my private key. If you import my public key you can
> automatically decrypt my signature and be sure it came from me. Your
> email software can handle signing.
>
> --
> 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 this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/ca6aa1dd-f7a0-702c-e317-f8998cda53a4%40dewhirst.com.au
> 

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:
>
> DATABASES = {
> 'tvet': {
> 'ENGINE': 'django.db.backends.sqlite3',
> 'NAME': BASE_DIR / 'db.sqlite3',
> },
> 'default': {
> 'ENGINE': 'django.db.backends.mysql',
> 'NAME': 'jpk',
> 'USER': 'jpkuser',
> 'PASSWORD': 'jpkpassword',
> 'HOST': 'localhost', # Or an IP Address that your DB is hosted on
> 'PORT': '3306',
> }
> }
>
> When I want to create a CreateView, I am unable to save it.
>
> This is my CreateView:
>
> class BiodataCreateView(CreateView):
> template_name = 'bio_create.html'
>
> # model = Biodata.objects.using('tvet').all()
> def get_queryset(self):
> return Biodata.objects.using('tvet').all()
>
> fields = 'name', 'hobby'
>
> def get_success_url(self):
> return reverse('biodata-list')
>
> Any idea on how to do it?
>
> --
> 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 this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/4985efd7-437c-432e-86c8-9a902430513fn%40googlegroups.com
> 
> .
>

-- 
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 this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAKGT9mx3fko1dW%3Dk41975xgrD%3D6sj6p45HewtibW0fdwKNBVcw%40mail.gmail.com.


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
> any specific time ;-)
> AFAIK, this solution is as good as it can get!
>
> Thanks!
>
> Regards,
> Chetan Ganji
> +91-900-483-4183
> ganji.che...@gmail.com
> http://ryucoder.in
>
>
> On Tue, Jul 25, 2023 at 11:43 PM M Cain  wrote:
>
>> User application permits registration for upcoming events.  User wants
>> the registration page to be open on 4th Saturday of every month at 9am ET
>> as the events are very popular with limited capacity and made available on
>> first come first serve basis.
>>
>> Django application is deployed on Heroku. Heroku scheduler works except
>> it doesn't 'guarantee' running at specific time (but near the requested
>> time).
>>
>> Would celery-redis be better for this?
>>
>> Any other suggestions?
>>
>> Thank you in advance for replying.
>>
>> --
>> 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 this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/c1af9c55-b2dd-4ab2-af1d-ce5dec4c4ca6n%40googlegroups.com
>> 
>> .
>>
> --
> 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 this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAMKMUjupcTZN-fq%3DCrYN%3DgTe%3Dv2wbKbpq6H81coJ_7zncurkuw%40mail.gmail.com
> 
> .
>

-- 
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 this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAKGT9mwZGS_7BDrzx4oS963cq525y9KcC8feXaDH%3DGLgqswLwA%40mail.gmail.com.


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 laborious.
Includes in tables don't work in tables good. So i search for a
dicumentation system like asciidoc with much more features where i can for
exampke create a template like in django and submit a json context which i
can ussr in template. And also jinja2 or similar with so much features...

Chetan Ganji  schrieb am Fr., 14. Juli 2023, 21:00:

> I am little confused right now.
> You have said markdown and jinja templates (reusing them also)
>
> markdown is used for documentation procedures. Jinja is used for actual
> html templates.
> I am not sure what you want to achieve!
>
> For code reuse you can use template inheritance.
> When you pass diff context to diff templates that are extending from the
> same base template;
> (e.g. template1.html and template2.html are using table.html)
> you can reuse html templates with different content.
>
> https://docs.djangoproject.com/en/4.2/ref/templates/language/#template-inheritance
>
>
>
>
> Regards,
> Chetan Ganji
> +91-900-483-4183
> ganji.che...@gmail.com
> http://ryucoder.in
>
>
> On Fri, Jul 14, 2023 at 6:53 PM sebasti...@gmail.com <
> sebastian.ju...@gmail.com> wrote:
>
>> Hello,
>>
>> i use regular markdown and asciidoc. Problem is that both have to less
>> feature. For example i want to reuse html templates with different content.
>>
>> In asciidoc i can do this following:
>>
>> i declare variables
>>
>> :varibale1: Teststring
>> :variable2: Second String
>>
>> include::buttontemplate.adoc[]
>>
>> This is not good in reading such source code. Second thing include i
>> can't use inline only in new line and i have problems to make include in
>> tables.
>>
>> Asciidoc have no multilanguage suppport. And further more problems
>>
>> So i think for very small documumentation asciidoc is wunderfull but for
>> greater docus with several levels in TOC and multilanguage this tool is to
>> unflexible. Does anyone knows a package in django where i have a syntax
>> like asciidoc/markdown but the felxibility like in django where a can use
>> jinja2 and can use templating and multilanguage works?
>>
>> Regards
>>
>> --
>> 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 this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/a2c07298-a2e7-4a8f-ab2e-79367a2b5dcdn%40googlegroups.com
>> 
>> .
>>
> --
> 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 this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAMKMUju%3DzCa1ehbLHQKddOPTRfLyOrAi4FqNowhnFTXX2isJyQ%40mail.gmail.com
> 
> .
>

-- 
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 this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAKGT9mzupZ6XRnROjvPgv8N-kykOgaBUjBt%2B0TMTky2a-Qt%2BVQ%40mail.gmail.com.


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 but first try to make a very good own website... Then writes again.

Regards


ome chukwuemeka  schrieb am Di., 20. Juni 2023,
11:22:

> Hello Everyone,
>
> I'm the lead developer at ZeroTen Technologies and we are looking at
> expanding our business to the European Market.
>
> We build Software, Mobile Apps and Websites. Most of our website products
> are built with Django.
>
> We are looking for a business partnership and collaboration with a Django
> Developer that is resident in Austria or Europe. But we prefer Austria.
>
> If you are available, kindly reply to this conversation or send me an
> email at ad...@zerotenweb.com.ng
>
> Thanks
>
> Ome Chukwuemeka
> Lead Developer ZeroTen Technologies
> +2348064515245(WhatsApp only)
>
> --
> 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 this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/0473ac50-37ff-4aa7-bf02-20d2892fb945n%40googlegroups.com
> 
> .
>

-- 
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 this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAKGT9mxn%2BR33UUF9OWL0pMOyYw_w-d-2cfFFHK2sG%2BiB4czMJQ%40mail.gmail.com.


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
> recognised vulnerability outlined in CVE-2023-31047.
>
> If anyone is able to point me towards any simple examples of multiple file
> upload app tutorials or github repositories that would have worked
> pre-patch, and how they might be updated to allow for multiple file uploads
> whereby all files are validated safely post-patch, that would be greatly
> appreciated!
>
> Thanks in advance :)
>
> --
> 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 this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/2b457b78-8ed0-4ff7-a7e3-ac7f620583f3n%40googlegroups.com
> 
> .
>

-- 
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 this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAKGT9mzxPLO6pTWT%2BVraKfF2EqD_HcBxtXtqNtaAu272ZwNNJA%40mail.gmail.com.


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
>> French. The website has about 3 or 4 .po files in each language, which
>> should be translated. But the translators I talked to want to have it in a
>> Word or Excel format. Is it possible to export .po files into Excel formats
>> or CSV? Notice that some translations include context (for example male or
>> female), and the context itself should be used too. I think it's better to
>> send them the Hebrew .po files which contain English and Hebrew, and then
>> they will translate it to French. So is it possible to convert it into CSV
>> format?
>>
>> Thanks,
>> Uri Rodberg, Speedy Net.
>> אורי
>> u...@speedy.net
>>
>> --
>> 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 this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CABD5YeE06_ZTLvJPZU-Y4RqoF3jpKBQN4cWad8tybZwEUsk_zA%40mail.gmail.com
>> 
>> .
>>
> --
> 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 this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CACaE8x6WG5FymwuJuuwuycifiPdY5Gjcr7TYprpGOdTJaFimhQ%40mail.gmail.com
> 
> .
>

-- 
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 this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAKGT9mz2NxggHS-ZchiVchm%3Dgo6p-%2Bo98YaeQghDqOncShQqGQ%40mail.gmail.com.


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 have attached two files. These files are the email template sent
> from the django project to the outlook. The template looks correct and the
> css is working fine when I send the email from local but the css is not
> working when I deploy it to the server. You can see the difference .
> Can anyone please tell me what i am missing or doing wrong.
>
> *Prabin Chaudhary*
>
> Software Engineer | Youth Innovation Lab
>
> Mobile: +977-9840193890 | prabinchy1...@gmail.com
> 
>
> --
> 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 this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAN9B8Z1TYybASLU1dthTNjhYjbsLRw753bD_iVmH8gP-rHHFWg%40mail.gmail.com
> 
> .
>

-- 
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 this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAKGT9mzWRUDFWavh2jrybPtpDfOCh8W%3D7WtOMN1CW_O19-%2Bv1Q%40mail.gmail.com.


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 got one django assignment from xyz comapny. But i can't
> how to create  that logical way. Please help me. Below file is that
> assignment. Please open and see it.
> can any one send that type of related previous projects code.
>
> --
> 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 this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/7988a2b0-95af-4c75-92db-670e541b9af6n%40googlegroups.com
> 
> .
>

-- 
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 this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAKGT9mxoBdE_M4LHy%2Bg4FpritbKAEA5-D1Bwvxb%3Djpv%3Djg7dGA%40mail.gmail.com.


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. 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 = 'date'
>
>
> class DatePickerForm(forms.ModelForm):
> class Meta:
> model = DatePickerModel
> widgets = {'date': forms.DateInput(attrs={'class': 'datepicker'})}
> fields = ['start_date', 'end_date']
> widgets = {
> 'start_date': DateInput(), 'end_date': DateInput()
> }
> error_messages = {
> 'start_date': {'required': ''},
> 'end_date': {'required': ''}
> }
>
> 3) in your html
>  
> {% csrf_token %}
> {{ form.as_p }}
> submit
> 
>
> On Tue, May 30, 2023 at 4:20 AM Bhuvnesh Sharma 
> wrote:
>
>> 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 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 users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to django-users+unsubscr...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/CACwCsY72xpH90NiaJMQCWeziz%3DqPZcnDPZewBVt3BHMSjVcowQ%40mail.gmail.com
>>> .
>>>
>> --
>> 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 this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CA%2BZJHEoFJ%2Bgys1kEqO7bL%3D%2BxS-KiSnp_fdZzX79qGDi9ZND9hA%40mail.gmail.com
>> 
>> .
>>
>
>
>
>
> --
> 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 this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAPCf-y4_gx5vJ%2ByAyW232Fq-Y0-ZYhcCamNDDqc0AT-a5s16Kw%40mail.gmail.com
> 
> .
>

-- 
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 this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAKGT9mwQxBov6rW4-XFaSqhBj_0A124TRsTcEdFmssAMPqzcLw%40mail.gmail.com.


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 please?
>
> --
> 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 this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/038e4b61-f0f2-4301-8228-523c5f5f7ba7n%40googlegroups.com
> 
> .
>

-- 
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 this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAKGT9my30MxS2VS_J_PvkDHNkTzvkPo5NeFbx7ybiP80UKh%2BNQ%40mail.gmail.com.


Re: dynamic django tables

2023-05-22 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 models with APIs
>
>
>
> Any examples please send me thanks in advance..
>
>
>
> 1) Requirement is need create table name and fields in frontend
>
> 2) we are  getting the data and store in to the db create db structure
>
> 3) get the table name and fields create table in backend  store
> to
>
> 4)this code don't update or add into the models
>
> 5)store the data into the tables
>
> --
> 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 this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/72d09483-5129-43e1-bdbb-7b92969d97c4n%40googlegroups.com
> 
> .
>

-- 
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 this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAKGT9mzA8eYywCuvBCm45j0LpmYk6f%3DkQeN-8xyG2CmQkQy7dA%40mail.gmail.com.


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

> I use django translation. Normal works perfect but now i have a problem.
> All verbose name are in english in django code. I setting.py i have as
> second language DE configure. Then i have in models.py:
>
> condition_link = models.ForeignKey(related, null=True, blank=True,
> default=None, on_delete=models.CASCADE,verbose_name=_('Condition'),
>related_name="condition_link")
>
> in django.po in DE Language i don't find anything with
>
> msgid "Condition"
>
> in form.py i have:
>
> evalfield = self.Meta.model._meta.get_field('condition_link')
> self.fields['condition_link'] =
> forms.MultipleChoiceField(choices=evalfield.choices,
> widget=SelectMultiple(),
> label=evalfield.verbose_name)
>
> and i get in evalfield.verbose_name a translation which are don't exists
> in django.po file. I also delete django.mo file and make django-admin
> compilemessages --locale DE so .mo file is new created.
>
> Same thing.
>
> Then next problem on django translation i have a translation:
>
> #: catalogue/models.py:81
> msgid "Gender"
> msgstr "Geschlecht"
>
> in frontend msgstr Geschlecht are shown both in english and in german
> language...
>
> 99% other translation works right...
>
> Have anyone a idea what it could be? This is absolut strange
>
> --
> 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 this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/09d0d1cb-875c-45ce-a9d8-716d7fe08175n%40googlegroups.com
> 
> .
>

-- 
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 this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAKGT9mx1tzDG8NnRKj0_-PyQy08zbKZdor6JrgBLqTy3z84ytg%40mail.gmail.com.


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 that.
>
> --
> 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 this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/a1d774fe-5f45-4bba-b55f-a781c4969facn%40googlegroups.com
> 
> .
>

-- 
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 this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAKGT9mxqmscezDr-cLZ2bMniWuk8RBku8xNDdwjGi_WwUe-sDw%40mail.gmail.com.


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

https://developer.mozilla.org/en-US/docs/Learn/Server-side/Django/Generic_views

Without CRUD nothing works in django. So try to understand this tutorial
and begin with 1 model and try to create this 4 views for your first model.

If you need help please writes me.

Regards

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 that.
>
> --
> 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 this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/a1d774fe-5f45-4bba-b55f-a781c4969facn%40googlegroups.com
> 
> .
>

-- 
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 this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAKGT9mwx74NEE565Rd%3Du_4F2PK8sukcoxrh9Lz0Eoyd0Uzn17w%40mail.gmail.com.


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, 11:08 PM Mike Dewhirst 
> wrote:
>
>> On 26/04/2023 10:18 am, Julius Chesoni wrote:
>>
>>  Hi guys, I find programming in the abstract very interesting and full of
>> intellectual benefits similar to those acquired from Mathematics. However,
>> when it comes to programming languages I find the practice of programming
>> very tiresome since there are very many functions in the documentations. I
>> am not able to enjoy reading the documentations even though I am eager to
>> know how to master the particular language. How do you guys manage to be
>> masters in languages like Django since I see some great people contributing
>> to every question. This amazes me.
>>
>>
>> Django could be thought of as a language. In fact it is a "framework" - a
>> jargon word which probably needs decoding but I don't have time.
>>
>> Django is written in Python. Python started as a teaching language for
>> primary school kids but it has sufficient sophistication for masters of
>> Python to build almost anything.
>>
>> The two main benefits of Python are:
>>
>>  * ease of learning for beginners and
>>  *  powerful enough for complex projects to be built faster than most
>> other languages.
>>
>> Python was chosen by Django's original authors for a web project and they
>> built libraries of useful routines which they eventually open-sourced as
>> Django to make website development much more satisfying for other
>> developers.
>>
>> The intellectual satisfaction - and therefore main attraction of Django -
>> comes from being able to do anything. There are plenty of guidelines and
>> "best practices" but absolutely no frustrating restrictions. If you find a
>> web problem you want to solve, I would be very surprised if it couldn't be
>> solved with Django.
>>
>> Many would argue front-end problems cannot be solved with a back-end
>> server architecture like Django but nowadays, with htmx, that argument is
>> lost.
>>
>> So, to answer your question in the abstract, Django is used as the
>> interface "language" between a database and the user with a web browser. It
>> contains an "Object Relational Mapper" (ORM). The mathematics of relational
>> database management systems (RDBMS) should pique your interest. The
>> language of RDBMS is Structured Query Language (SQL) but because Django has
>> its ORM you no longer need to learn SQL. The Django library of queries
>> comes to the rescue.
>>
>> Django, HTML+htmx and CSS therefore is all you really need to build a
>> completely fuctional and intellectually satisfying website.
>>
>> My advice to you is to find a small project you really want to do and get
>> started one step at a time.
>>
>> Someone else said practice practice practice. That is completely correct.
>> You need to start somewhere if you are really interested.
>>
>> With practice you can tackle ever more interesting projects.
>>
>> Good luck.
>>
>>
>> Kind regards
>> Julius
>> --
>> 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 this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CANOu6a8axU1sL6GXveq7CufyTm1JWX-6aZ7FU4fJVqLq9M0GAQ%40mail.gmail.com
>> 
>> .
>>
>>
>>
>> --
>> Signed email is an absolute defence against phishing. This email has
>> been signed with my private key. If you import my public key you can
>> automatically decrypt my signature and be sure it came from me. Your
>> email software can handle signing.
>>
>> --
>> 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 this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/17f6b06b-546f-069b-4487-d740b5bd7267%40dewhirst.com.au
>> 
>> .
>>
> --
> 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 this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAFGN%3DGhuquB47d%3DgJUPUh%2BZAk5mPBCuXUz_FLBQ89AvW0O9-iw%40mail.gmail.com
> 

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 programming.
>
> Let me know.
>
> Thanks.
> Michael
>
> --
> 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 this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/4dd45d1b-58f6-40d4-b227-955ec8bb00a5n%40googlegroups.com
> 
> .
>

-- 
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 this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAKGT9mymZexynLAHoDUZAtMwBhE966DHzXcjyMTohym54a8MBw%40mail.gmail.com.


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. So, if
> anyone knows anyone on linkedin that works for django, tell them images
> don't display (on an operating system).
>
> Michael
>
> --
> 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 this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/aa4c364c-24cd-44f8-b593-36b5349e7f7cn%40googlegroups.com
> 
> .
>

-- 
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 this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAKGT9myzt8FiCXoQVu5awmELU2wVA1XGDK%2BnbeeCVrrrQO5WPg%40mail.gmail.com.


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 follows:
> 1. I have learned about class based views and have started using them
> 2. But every now and then I come across a new field that could have been
> overwritten in the class based view to shorted the code
> 3. Is there a way to identify all the fields that can be over written in a
> class based view.
>
> Let me illustrate with an example:
> class UnitCreateView(CreateView):
> form_class = UnitCreationForm
> template_name = 'units_of_measurement/unit_create.html'
> success_url = reverse_lazy('units_of_measurement:unit_list')
>
> In the above class, can I know how many and what other fields such as
> "form_class" are available to over-riding? I have checked the documentation
> but have not found anything. Maybe its just me.
>
> Thanks in advance!
>
> Regards,
>
> Plkt
>
> --
> 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 this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/1666860d-5b3a-4cc8-a4b4-0187f5dc5b48n%40googlegroups.com
> 
> .
>

-- 
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 this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAKGT9mw7cizo4JjECxJco-kU6eO%2B2skq5T9qwfD4fOAbEyCH2w%40mail.gmail.com.


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 blog in one Django app and then have something
> like a forum in another app, along with additional functions in other apps.
> Also, I'd like to have a single-user system that uses AbstractUser (or
> AbstractBaseUser).
>
> So how do all apps require my AbstractUser class for authentication, and
> then the other apps be added or removed based on what is needed for each
> site? I want to split auth from the rest project.
>
> Thanks!
>
> --
> 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 this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/Y-FsxPZKXSIkwB9-Hj599nnwPVu5XWMbDlfv0HEnIu9cLNeRU5b-1egUTZv8vUpHVLc4uq6oP8pVEXlxW9PqVDQQMud9BJBdBn6V6EI0hEM%3D%40protonmail.com
> .
>

-- 
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 this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAKGT9mx_w8QR2KXr_e%3Ds%2BWPLq%2B7uQUxQ5NW5WhWb4Vys8vSarQ%40mail.gmail.com.


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 like to know how to. For example,
> three databases with two different login functions; The steps are followed:
>
> In a webpage, login as a homepage member(using db A), then at a certain
> menu among homepage menus, the homepage login user is required to enter new
> login id with new password to explore another world of the website(using db
> B & C). I don't know having multiple sessions in one project with multiple
> databases is possible or not. If possible, I appreciate any advise how to
> do. Thank you.
>
> --
> 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 this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/f00f3d69-51ba-4e19-b8b2-c02375cd1504n%40googlegroups.com
> 
> .
>

-- 
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 this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAKGT9mz1mLbWyE_ifBb%2BePXKU-ayjzNeMmWL%2BWZtcDMTwVk8HA%40mail.gmail.com.


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.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/74de4d4b-230d-470a-a7c0-0c1e875154e4n%40googlegroups.com
> 
> .
>

-- 
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 this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAKGT9myGDdqCoYhXz7OSYh2n4HJ-ze49sObq4NJsS6BL7dsFqg%40mail.gmail.com.


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 
> wrote:
>
>> I am trying everything possible to create a basic login page with
>> Django., i have tried so many videos and online tutorial, but still can't
>> make anything meaningful out of it. Can anyone please take me through a
>> systematic process please, since i am new here and want to take Django to
>> be my friend
>>
>> --
>> 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 this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/0c495fc8-ce4e-4d6f-a2d7-7b2d8478b06an%40googlegroups.com
>> .
>>
> --
> 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 this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAP4VW2V%3DuVe2p%3DCQJBWup%3DDcn4FGs5dLFp-zGEqXLQK6xwD6VQ%40mail.gmail.com
> 
> .
>

-- 
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 this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAKGT9mxg9yy3OXojtu67UUSADUbrpYe%2B%2BQT2aFBW6h2tKMGN7w%40mail.gmail.com.


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's wrong with my code here?[image:
> Screenshot_1.png]
>
> --
> 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 this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/5d2b8788-de2a-4db7-9cd4-05b177b2e2e6n%40googlegroups.com
> 
> .
>

-- 
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 this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAKGT9mz5UvXutKVjhbmC9g6KHgy_znkSScvYAuS410CSAuL2hA%40mail.gmail.com.


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+ existing data in my database with default I'd field
> of django
> Now I need to replace that default I'd to UUID.
>
> How I can do  this without loosing any records of my database.
>
> If anyone can give me suggestions that would be great.
>
> Thanks
> Rajesh Kumar
>
> --
> 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 this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAKNDe%3D%3DEa0ZagzpZ-Y_bXKrCi3ZHdG_PNr5%3DgxeJCTbKdM_tdA%40mail.gmail.com
> 
> .
>

-- 
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 this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAKGT9mwtkAQU4E22ScxYpaEZEiznUH0C5jq%3DZhmVpTe7KC%3DP1A%40mail.gmail.com.


Re: Help with understanding django-oscar

2022-11-21 Thread Sebastian Jung
Hey,

I implement my needs not directly in oscar dashboard. I implement it my
views in my normal frontend views then make new Dashboard menu entry in
settings.py and from my view a button back to dashboard if i am staff
user...

Regards

Leslie Taffe  schrieb am Di., 22. Nov. 2022, 02:03:

> Hey 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 
> wrote:
>
>> 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 an
>>> example project I'd be fine with just that
>>>
>>> --
>>> 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 this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/2d42a7cd-78ef-45c6-8fe1-51cd82ae15ffn%40googlegroups.com
>>> <https://groups.google.com/d/msgid/django-users/2d42a7cd-78ef-45c6-8fe1-51cd82ae15ffn%40googlegroups.com?utm_medium=email_source=footer>
>>> .
>>>
>> --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "Django users" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/django-users/GXUXULFRN9g/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> django-users+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAKGT9mx-oxanD7_eHwyXeh34NbybetFEQTX1XAeu4CBwjh_rDg%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CAKGT9mx-oxanD7_eHwyXeh34NbybetFEQTX1XAeu4CBwjh_rDg%40mail.gmail.com?utm_medium=email_source=footer>
>> .
>>
> --
> 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 this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CALaLdr%2BFdy5-DWza%2BBYJdxAStLz3Yy5cOgv%3Ds6OO5zuDbMPOqA%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CALaLdr%2BFdy5-DWza%2BBYJdxAStLz3Yy5cOgv%3Ds6OO5zuDbMPOqA%40mail.gmail.com?utm_medium=email_source=footer>
> .
>

-- 
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 this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAKGT9my6Ss85HiF91TGdXkL5zG9VhtxKvdGxtDqTGMXwTmwm2w%40mail.gmail.com.


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 Abstract model class and further
more...

But i think that many things are very good for examplke EAV implementation
in productclass where you can dynamicla create new attributes in
products... And much more. Impkementation of own payment method are not so
fine...

Ask when yoz have Detail 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 an
> example project I'd be fine with just that
>
> --
> 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 this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/2d42a7cd-78ef-45c6-8fe1-51cd82ae15ffn%40googlegroups.com
> 
> .
>

-- 
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 this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAKGT9mz0bJ%3DGKZuro89WOXvVZauQ7ZMnLKZU%3DU%2BmCCNwnEa%2BnA%40mail.gmail.com.


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 an
> example project I'd be fine with just that
>
> --
> 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 this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/2d42a7cd-78ef-45c6-8fe1-51cd82ae15ffn%40googlegroups.com
> 
> .
>

-- 
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 this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAKGT9mx-oxanD7_eHwyXeh34NbybetFEQTX1XAeu4CBwjh_rDg%40mail.gmail.com.


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 it back.

Write if yoz have Problems in implementation

Lakshyaraj Dash  schrieb am Mi., 16. Nov.
2022, 02:14:

> Hello everyone,
> I'm on my way to create a quiz app. I want that a loggedin user should get
> 5 questions randomly when he/she is visiting everytime.
> Eg:
> On first visit
> Q1. Who's the CEO of Facebook ?
>
> On second visit
> Q2. Who's the CEO of Google ?
>
> Thanks and regards
> Lakshyaraj Dash
>
> --
> 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 this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAF7qQgAAJinHYUKhY_M-Z0Y1ecrcHcWTyNHuHkSLdyV7QsFSqw%40mail.gmail.com
> 
> .
>

-- 
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 this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAKGT9mzu%3Dn%3D%3D_aW3usfk7E7M4nkudWCwxJo4%3DqU4Ut_NuWFgAg%40mail.gmail.com.


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 step you have problem.

When you needs a cheap and powerful system here are servers
https://www.netcup.de/bestellen/produkt.php?produkt=2892. It begins for 10$
per month with 4 cores and 8 GB Ram but this is only machines for
productive setup. When you want to test or for smaller projects i think
heroku are for beginning better.

Regards

Am Di., 8. Nov. 2022 um 16:58 Uhr schrieb Mh Raffi :

> Hi,
> I Am trying to host my app with postgres and railway.
> But I am not able to understand the concept. Due to it i deleted
> db sqlite.
> Is there any other option or anybody can help me to host a project.
>
> Thanks & Regards
> Mohammed Raffi.J
>
>
> --
> 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 this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAKfPRhUYdc%3DiXKC7vvvrZqifh6n8NOXpRQMzaXs64Gh-a95d9g%40mail.gmail.com
> 
> .
>

-- 
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 this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAKGT9mx8yj7DYu9t2n3BdBV--hh71SBjW-SPTiDk%2BQ121bJ0kw%40mail.gmail.com.


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.BooleanField(default=True)
> created_at = models.DateTimeField(auto_now_add = True)
> updated_at = models.DateTimeField(auto_now=True)
>
> def __str__(self):
> return self.name
>
>
> class Regions(models.Model):
> region_name = models.CharField(max_length=255)
> working_hours_per_day = models.CharField(max_length=255,null=True)
> days_per_week = models.CharField(max_length=255,null=True)
> hours_per_week = models.CharField(max_length=255,null=True)
> week_per_month = models.CharField(max_length=255,null=True)
> hours_per_month = models.CharField(max_length=255,null=True)
> days_per_year = models.CharField(max_length=255,null=True)
> weeks_per_year = models.CharField(max_length=255,null=True)
> active_flag = models.BooleanField(default=True)
> show_flag = models.BooleanField(default=True)
> created_at = models.DateTimeField(auto_now_add = True)
> updated_at = models.DateTimeField(auto_now=True)
>
> def __str__(self):
> return self.region_name
>
>
> views.py
>
> def center(request):
> locations = Locations.objects.select_related('region')
> td_serializer = LocationSerializer(locations,many=True)
> x=td_serializer.data
> data = {
> 'td':td_serializer.data,
> #'centers':center_serializer.data,
> }
> return response.Response(data,status.HTTP_200_OK)
>
>
>
>
> template:
>
> fetchLocationsList(){
> this.$axios.$post('/projects/chcenter',config).then(response => {
> if(response){
> this.locations =response.td;
> for(let i=0;i  this.x=this.locations[i].name
> this.y=this.locations[i].region
> this.z=this.y + "-" +this.x
> this.result.push(this.z)
>
>
> How to get region_name ?
>
>
>
>
> --
> 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 this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/3a93ef8a-4fc6-48a8-83d7-cc4ea65ae649n%40googlegroups.com
> 
> .
>

-- 
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 this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAKGT9mx36UHjRWOTJcg586ph6JHMRmFxZ_8mSrtCw%2B0fMdoPyA%40mail.gmail.com.


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 django and am doing a project for college. Im
> building an appointment website users can book a training session. These
> are my models:
>
> class TimeSlot(models.Model):
>
> title = models.CharField(max_length=50)
>
> def __str__(self):
> return f'There is a slot at {self.title}'
>
>
> class Booking(models.Model):
>
> user = models.ForeignKey(settings.AUTH_USER_MODEL,
>  on_delete=models.CASCADE)
> time_slot = models.ForeignKey(TimeSlot, on_delete=models.CASCADE)
> booking_date = models.DateField(("Date"), default=date.today)
>
> def __str__(self):
> return f'{self.user} has booked a session at {self.timeslot.title}
> on {self.booking_date}'
>
> I have the title field set as available session times, 1-2pm, 3-4pm etc.
> I want the user to select a date and then be able to see what time slots
> are still available to book but I'm kind of lost and confused. Any help
> would be much appreciated!
>
>
> --
> 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 this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/1c6c2ab1-f852-4503-81c5-d072cf2dbb02n%40googlegroups.com
> 
> .
>

-- 
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 this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAKGT9mys0yJGpE_TOW87ruPnvvxWzwh-Jo%2B3MrDSt_j9dmK4-A%40mail.gmail.com.


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 hourly
rates...

Regards

Peter Benjamin Ani  schrieb am Do., 27. Okt.
2022, 22:49:

> About internships, i have tried applying to some and haven't even
> reached interview stage, that's why i thought with a mentor to guide
> me, that would be more better
>
> On 10/27/22, Collins Emmanuel  wrote:
> > Hello Peter, I’d advise you to seek for internship since you already know
> > basic C and Python.
> > Internship will brush up your knowledge and bring you up to speed.
> > My 2 cent. ✌️
> >
> > On Thu 27. Oct 2022 at 16:31, Peter Benjamin Ani
> > 
> > wrote:
> >
> >> Hi everyone,
> >>
> >> My name is Peter and am a computer science student, I have been coding
> >> for
> >> a while now, majorly in C and Python, and am desperately in need of a
> >> technical mentor to help me out on Django, I don't mind if he gives me
> >> projects and sets deadline for me, am ready for it, I need someone who
> >> would accept me as a friend or a brother and groom me for the future, I
> >> need someone who would treat me like his smart son, am fast in learning,
> >> I
> >> jovial, sometimes nerdy 梁, am constantly learning and most importantly
> I
> >> love building communities...
> >>
> >> Please if you're touched or moved to help me on my journey, kindly reach
> >> out to me
> >>
> >> Email: benjaminpari...@gmail.com
> >> WhatsApp Number:- +234811513
> >> Twitter:- @Ben_pete3
> >> GitHub:- https://github.com/vortex-hue
> >> My YouTube channel:-
> https://youtube.com/channel/UCAWAzBvqPbDxFhMqGSY1pLg
> >>
> >>
> >>
> >> Thanks so much 
> >>
> >> --
> >> 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 this discussion on the web visit
> >>
> https://groups.google.com/d/msgid/django-users/CAPxt_2WQFQW0JB8Z%2B5Ozan%3DXKKJR6SY18rhXxy2ruVkhX5z09g%40mail.gmail.com
> >> <
> https://groups.google.com/d/msgid/django-users/CAPxt_2WQFQW0JB8Z%2B5Ozan%3DXKKJR6SY18rhXxy2ruVkhX5z09g%40mail.gmail.com?utm_medium=email_source=footer
> >
> >> .
> >>
> >
> > --
> > 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 this discussion on the web visit
> >
> https://groups.google.com/d/msgid/django-users/CABHPbCEs7T0NbiKXAbHaKwQ2CdKKd3weaSEV_jmDxWskrFSJJg%40mail.gmail.com
> .
> >
>
> --
> 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 this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAPxt_2W_TK2aD%3DV%3DZkZrEr4Tdst83NTMN21NCWTHhAjkXZ3afg%40mail.gmail.com
> .
>

-- 
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 this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAKGT9myD4KYMQzc%2BP7xUHE%2B5DrH%2BASMicf_5WrW2h4JgRsdqvw%40mail.gmail.com.


Re: Regarding Django forms

2022-09-23 Thread Sebastian Jung
This is easy you implement it with django forms then copy widget
html/javascript code with browser and then implement it 1:1 but not with
django forms... But i understand till yet WHY you want without django
forms? Yoz cab change django forms/widget 1:1 how do yoz want but this
isn't 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 form or do you want also change widgets in this
>> form?
>>
>> Nishant Sagar  schrieb am Fr., 23. Sept. 2022,
>> 08:32:
>>
>>> Hey Sebastian,
>>>
>>> That’s not my concern, all I want to know is, whether is it advisable to
>>> implement the form such a way or Django form 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 <
>>> sebastian.ju...@gmail.com> wrote:
>>>
>>>> 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 a backend guy who doesn't know much about CSS and JavaScript so a
>>>>> frontend guy delivered me a form template designed using CSS, however,
>>>>> Django documentation suggests that it's good practice to use Django forms.
>>>>>
>>>>> So how feasible do you think it is for a frontend guy to learn Django
>>>>> widgets from scratch to implement the same thing he can easily do from CSS
>>>>> and JS. As a newbie backend guy, it's not easy for me either to learn
>>>>> frontend tech to implement the same thing in so little time.
>>>>>
>>>>> So I tried implementing the form without using Django forms but I find
>>>>> it hard to deal with files as there is no documentation I can look up to.
>>>>>
>>>>> So can we add these to the documentation or it is still advisable to
>>>>> use Django forms?
>>>>>
>>>>>
>>>>> Thanks and regards,
>>>>> Nishant
>>>>>
>>>>> --
>>>>> 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 this discussion on the web visit
>>>>> https://groups.google.com/d/msgid/django-users/CANNtL-Kqud7V6sk_%3DYnagzATw8eJjO9pCeDx9Za80XywXBi2tQ%40mail.gmail.com
>>>>> <https://groups.google.com/d/msgid/django-users/CANNtL-Kqud7V6sk_%3DYnagzATw8eJjO9pCeDx9Za80XywXBi2tQ%40mail.gmail.com?utm_medium=email_source=footer>
>>>>> .
>>>>>
>>>> --
>>>> 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 this discussion on the web visit
>>>> https://groups.google.com/d/msgid/django-users/CAKGT9mzEh9H3yUOOF1%3DhOSsgz5KedwxSu-ygwQ1BPbBQtg7jEw%40mail.gmail.com
>>>> <https://groups.google.com/d/msgid/django-users/CAKGT9mzEh9H3yUOOF1%3DhOSsgz5KedwxSu-ygwQ1BPbBQtg7jEw%40mail.gmail.com?utm_medium=email_source=footer>
>>>> .
>>>>
>>> --
>>> 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 this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/CANNtL-%2BR7RZvEf1GX4bfb_LrAMW%3DVCVkKecb-gLg3%3DgK0x0WXg%40mail.gmail.com
>>> <https://groups.google.c

Re: Regarding Django forms

2022-09-23 Thread Sebastian Jung
Do you want change only a form or do you want also change widgets in this
form?

Nishant Sagar  schrieb am Fr., 23. Sept. 2022,
08:32:

> Hey Sebastian,
>
> That’s not my concern, all I want to know is, whether is it advisable to
> implement the form such a way or Django form 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 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 a backend guy who doesn't know much about CSS and JavaScript so a
>>> frontend guy delivered me a form template designed using CSS, however,
>>> Django documentation suggests that it's good practice to use Django forms.
>>>
>>> So how feasible do you think it is for a frontend guy to learn Django
>>> widgets from scratch to implement the same thing he can easily do from CSS
>>> and JS. As a newbie backend guy, it's not easy for me either to learn
>>> frontend tech to implement the same thing in so little time.
>>>
>>> So I tried implementing the form without using Django forms but I find
>>> it hard to deal with files as there is no documentation I can look up to.
>>>
>>> So can we add these to the documentation or it is still advisable to use
>>> Django forms?
>>>
>>>
>>> Thanks and regards,
>>> Nishant
>>>
>>> --
>>> 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 this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/CANNtL-Kqud7V6sk_%3DYnagzATw8eJjO9pCeDx9Za80XywXBi2tQ%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/django-users/CANNtL-Kqud7V6sk_%3DYnagzATw8eJjO9pCeDx9Za80XywXBi2tQ%40mail.gmail.com?utm_medium=email_source=footer>
>>> .
>>>
>> --
>> 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 this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAKGT9mzEh9H3yUOOF1%3DhOSsgz5KedwxSu-ygwQ1BPbBQtg7jEw%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CAKGT9mzEh9H3yUOOF1%3DhOSsgz5KedwxSu-ygwQ1BPbBQtg7jEw%40mail.gmail.com?utm_medium=email_source=footer>
>> .
>>
> --
> 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 this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CANNtL-%2BR7RZvEf1GX4bfb_LrAMW%3DVCVkKecb-gLg3%3DgK0x0WXg%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CANNtL-%2BR7RZvEf1GX4bfb_LrAMW%3DVCVkKecb-gLg3%3DgK0x0WXg%40mail.gmail.com?utm_medium=email_source=footer>
> .
>

-- 
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 this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAKGT9mwdxnjvCBRLJ36TAv6HPdo63i0_U%2B6e2MaOsR%2BRhW%3DVxg%40mail.gmail.com.


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
> a backend guy who doesn't know much about CSS and JavaScript so a frontend
> guy delivered me a form template designed using CSS, however, Django
> documentation suggests that it's good practice to use Django forms.
>
> So how feasible do you think it is for a frontend guy to learn Django
> widgets from scratch to implement the same thing he can easily do from CSS
> and JS. As a newbie backend guy, it's not easy for me either to learn
> frontend tech to implement the same thing in so little time.
>
> So I tried implementing the form without using Django forms but I find it
> hard to deal with files as there is no documentation I can look up to.
>
> So can we add these to the documentation or it is still advisable to use
> Django forms?
>
>
> Thanks and regards,
> Nishant
>
> --
> 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 this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CANNtL-Kqud7V6sk_%3DYnagzATw8eJjO9pCeDx9Za80XywXBi2tQ%40mail.gmail.com
> 
> .
>

-- 
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 this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAKGT9mzEh9H3yUOOF1%3DhOSsgz5KedwxSu-ygwQ1BPbBQtg7jEw%40mail.gmail.com.


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-ch-ua:
> "Chromium";v="98", " Not A;Brand";v="99", "Google Chrome";v="98"' \ -H
> 'accept: application/json' \ -H 'Referer:
> https://www.walmart.com/receipt-lookup' \ -H 'content-type:
> application/json' \ -H 'sec-ch-ua-mobile: ?0' \ -H 'User-Agent: Mozilla/5.0
> (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko)
> Chrome/98.0.4758.102 Safari/537.36' \ -H 'sec-ch-ua-platform: "Mac OS X"' \
> --data-raw
> '{"storeId":"123","purchaseDate":"02-19-2022","cardType":"visa","total":"100.00","lastFourDigits":"1234"}'
> \ --compressed
>
> to a management command in Django.  Anyone have any documentation on how
> to do this?
>
> --
> 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 this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/53723979-3323-4563-9799-9091354d87a9n%40googlegroups.com
> 
> .
>

-- 
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 this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAKGT9mws7dbp9EcnS7LCyfM670df%2BN__2_-Y0%2BYeVAM8DgDS4Q%40mail.gmail.com.


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 for my project, however, for some reason, I
> can't get it to 'move'.
>
> I tried the traditional way, putting the