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.


Internship and job in python and Django related

2023-06-07 Thread Shubham DJ
Hello, I’m Shubhang Jori from Nerul Navi Mumbai. I have been learning web
development for a few months now and have gained familiarity with Django,
python , MySQL, HTML  and CSS. Also I have completed 3 months internship in
trivia software as a python intern. As a student , I am actively seeking
Full-time job opportunities as well as internship opportunities that will
provide me with hands on experience in Django , python and contribute to my
professional growth.  I look forward anyone who can accept me as a full
time employee as well as an intern


Also I attached resume for your reference.
[image: PDF file]
shubham cv-1-2.pdf


-- 
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%2B1KL_nGkLuktOc_3GEfDB1yzHCrovb_-rKJgT2trhsqnzn2rg%40mail.gmail.com.


Re: how to convert to Django 3 or 4

2023-06-07 Thread 'Steven Mapes' via Django users
I'd suggest looking into using Adam Johnson's Django-Upgrade told 
-https://github.com/adamchainz/django-upgrade it will help you move between 
versions

On Tuesday, 6 June 2023 at 15:24:36 UTC+1 Paul Haguet wrote:

> There is a lot of function who can change. 
>
> https://docs.djangoproject.com/en/4.2/releases/4.0/
>
> All the function declared as deprecated into Django 3 has been removed 
> into Django 4. In the deprecated section of django 3 new functions names 
> are systematically indicated. So just search the function under their old 
> name and replace them with their new name. The 2 links below give the list.
>
> https://docs.djangoproject.com/en/4.2/releases/3.0/#deprecated-features-3-0
> https://docs.djangoproject.com/en/4.2/releases/3.1/#deprecated-features-3-1
>
> Le samedi 3 juin 2023 à 10:10:31 UTC+2, Shams Ulhaq a écrit :
>
>> Just need to change url import 
>>
>> from django.urls import include, re_path as url
>>
>>
>> On Sat, 3 Jun 2023, 12:32 David Nugent,  wrote:
>>
>>> nppe url is obsolete and removed in 4.x.
>>>
>>> You can use re_path, which is a kind of replacement but even then you 
>>> will need to adjust the regex in many cases.
>>>
>>> The best approach is to understand what the url() is doing, and 
>>> replicate the same using path(). Once you do, the conversions should be 
>>> more or less straight-forward. Instead of regex you use labelled patterns 
>>> making for more comprehensible path lines. For complex regex expressions 
>>> you may need to define custom matches - or "converters" - that enforce 
>>> specific patterns allowing you to restrict input and improve matching. This 
>>> is one area that Django has improved really well over time.
>>>
>>> But, like I said, don't try to replace this file wholesale. Instead of 
>>> converting it and doing error-fix-error-fix ad infinitun, re-implement 
>>> things as you enable parts of the app you have successfully ported. While 
>>> re_path may be a fallback, try to re-implement as path() expressions and 
>>> you'll be better in the long run.
>>>
>>>
>>> On Sat, Jun 3, 2023 at 11:59 AM Muhammad Juwaini Abdul Rahman <
>>> juw...@gmail.com> wrote:
>>>
 I think Django 4 still have backward compatibility with `url` 
 although `path` is preferable.

 You can try to `runserver` in your local, upgrade your django version 
 in your virtualenv to version 4 and troubleshoot the error messages (if 
 any) one by one.

 On Sat, 3 Jun 2023 at 05:20, john fabiani  wrote:

> Hi everyone,
>
> I am tasked with updating/upgrading a very old Django web site - I 
> believe it is 1.7.  I need convert and need what is required.
> Thanks in advance.
>
>
> I need to convert the following:
>
> from django.conf.urls import patterns, include, url
> from django.contrib import admin
> from django.conf import settings
> from django.conf.urls.static import static
>
> urlpatterns = patterns('',
> # Examples:
> url(r'reg4/$', 'register.views.reg4', name='reg4'),
> url(r'reg3/$', 'register.views.reg3', name='reg3'),
> url(r'reg2/$', 'register.views.reg2', name='reg2'),
> #url(r'reg1/$', 'register.views.reg1', name='reg1'),
> url(r'reg1/$', 'register.views.reg1', name='reg1'),
> #url(r'^$', 'register.views.home', name='home'),
> url(r'reg/$', 'register.views.home', name='home'),
> url(r'get_courts/(\d+)$', 'register.views.get_courts', 
> name='get_courts'),
> url(r'get_courses/(\d+)$', 'register.views.get_courses', 
> name='get_courses'),
> url(r'autoschedule/', 'register.views.autoschedule', 
> name='autoschedule'),
> url(r'get_cities/(\d+)$', 'register.views.get_cities', 
> name='get_cities'),
> url(r'get_classes/(\d+)$', 'register.views.get_classes', 
> name='get_classes'),
> url(r'get_cities2/(\d+)/(\d+)/$', 'register.views.get_cities2', 
> name='get_cities2'),
> url(r'get_classes2/(\d+)/(\d+)/$', 'register.views.get_classes2', 
> name='get_classes2'),
> url(r'rejected/$', 'register.views.rejected', name='rejected'),
> url(r'finished/$', 'register.views.finished', name='finished'),
> 
> ##url(r'^$', 'profiles.views.home', name='home'),
> #url(r'^contact/$', 'register.views.home', name='contact'),
> #url(r'^about/$', 'register.views.about', name='about'),
> #url(r'^profile/$', 'register.views.user_profile', name='profile'),
> #url(r'^checkout/$', 'checkout.views.checkout', 
> name='checkout'),
> # url(r'^blog/', include('blog.urls')),
>
> url(r'^admin/', include(admin.site.urls)),
> ) + static(settings.STATIC_URL, document_root = settings.STATIC_ROOT)
>
> What is required?
>
> -- 
> You received this message because you are subscribed to the Google 
> Groups "Django users" group.
> To unsubscribe from th

Re: Internship and job in python and Django related

2023-06-07 Thread Anthony Allen
Hello Brother.
Please am currently learning python/Django. Please I will need your help
wherever necessary please my brother;


On Wed, Jun 7, 2023 at 3:17 PM Shubham DJ  wrote:

> Hello, I’m Shubhang Jori from Nerul Navi Mumbai. I have been learning web
> development for a few months now and have gained familiarity with Django,
> python , MySQL, HTML  and CSS. Also I have completed 3 months internship in
> trivia software as a python intern. As a student , I am actively seeking
> Full-time job opportunities as well as internship opportunities that will
> provide me with hands on experience in Django , python and contribute to my
> professional growth.  I look forward anyone who can accept me as a full
> time employee as well as an intern
>
>
> Also I attached resume for your reference.
> [image: PDF file]
> shubham cv-1-2.pdf
> 
>
> --
> 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%2B1KL_nGkLuktOc_3GEfDB1yzHCrovb_-rKJgT2trhsqnzn2rg%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%2B2yem6E5Q1xREywH1P37PBHFCqi5pjnUhqgkvZ_MrgJ5d1AEQ%40mail.gmail.com.


Re: Internship and job in python and Django related

2023-06-07 Thread AYUSH GUPTA
I have a json file how to store it's data to database and django admin
panel

On Wed, Jun 7, 2023, 11:40 PM Anthony Allen  wrote:

> Hello Brother.
> Please am currently learning python/Django. Please I will need your help
> wherever necessary please my brother;
>
>
> On Wed, Jun 7, 2023 at 3:17 PM Shubham DJ 
> wrote:
>
>> Hello, I’m Shubhang Jori from Nerul Navi Mumbai. I have been learning web
>> development for a few months now and have gained familiarity with Django,
>> python , MySQL, HTML  and CSS. Also I have completed 3 months internship in
>> trivia software as a python intern. As a student , I am actively seeking
>> Full-time job opportunities as well as internship opportunities that will
>> provide me with hands on experience in Django , python and contribute to my
>> professional growth.  I look forward anyone who can accept me as a full
>> time employee as well as an intern
>>
>>
>> Also I attached resume for your reference.
>> [image: PDF file]
>> shubham cv-1-2.pdf
>> 
>>
>> --
>> 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%2B1KL_nGkLuktOc_3GEfDB1yzHCrovb_-rKJgT2trhsqnzn2rg%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%2B2yem6E5Q1xREywH1P37PBHFCqi5pjnUhqgkvZ_MrgJ5d1AEQ%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/CAAr4ktTQu-u%3DcT1MD88%2BtjdbgMEWYfN21bbob%3DDZtdOnyyGx8g%40mail.gmail.com.