Re: How to intergrate openpyxl with django and using the excel sheet as the database to query data

2021-01-26 Thread Ernest Thuku
Well thank you so much for this...I really appreciate..let me try it and I
will let you know

On Wed, 27 Jan 2021 03:12 Gabriel Araya Garcia, 
wrote:

> In top of views files (views.py) you must put:
> import openpyxl
> from openpyxl import Workbook
> from openpyxl.styles import Alignment,Border,Font,PatternFill,Side
> from openpyxl.styles import colors
> from openpyxl.styles import Font, Color,Fill
> from openpyxl.styles.borders import BORDER_THIN
> from openpyxl.drawing.image import Image as XLIMG
>
> ...and the view which prepare the excel out, you should review this
> example:
>
> # CARTOLA DE RECAUDACION en excel
> @login_required(login_url='login_ini')
> def acsv(request):
> nom_arch = nombrearch() # Se forma string para nombre de archivo excel
> string_nombre = 'pac'+nom_arch
> query = Pauta_aux.objects.all().order_by('rut') # viene filtrada x rango
> de fecha
>
> reg_x = 0
> if query:
> for fech_x in query:
> reg_x = reg_x + 1
> else:
> # estas dos instrucciones van juntas siempre
> messages.error(request, "No existen movimientos que mostrar !!")
> return redirect("info")
>
> mes_x = fechapautas.strftime('%m')
> ano_x = fechapautas.strftime('%Y')
> fecha_ini = str(ano_x)+"-"+str(mes_x).zfill(2)+"-01 00:00:00"
> #total dias del mes
> totdias = calendar.monthrange(int(ano_x),int(mes_x))[1]
> fecha_fin = str(ano_x)+"-"+str(mes_x).zfill(2)+"-"+str(totdias)+" 00:00:00"
> wb = Workbook()
> ws = wb.create_sheet("hoja1",0)
> ws.column_dimensions['A'].width = 5
> ws.column_dimensions['B'].width = 12 # rut paciente
> ws.column_dimensions['C'].width = 36 # nombre paciente
> ws.column_dimensions['D'].width = 17 # fecha
> ws.column_dimensions['E'].width = 11 # rut cuid.
> ws.column_dimensions['F'].width = 23 # nombre cuidador
> ws.column_dimensions['G'].width = 12 # tipo cuidador
> ws.column_dimensions['H'].width = 11 # rut cuid.
> ws.column_dimensions['I'].width = 23 # nombre cuidador
> ws.column_dimensions['J'].width = 12 # tipo cuidador
> ws.column_dimensions['K'].width = 11 # rut cuid.
> ws.column_dimensions['L'].width = 23 # nombre cuidador
> ws.column_dimensions['M'].width = 12 # tipo cuidador
>
> ws.column_dimensions['Q'].width = 12 # rut cuid.
> ws.column_dimensions['R'].width = 14# nombre cuidador
> ws.column_dimensions['S'].width = 12 # tipo cuidador
> ws.column_dimensions['T'].width = 14 # tipo cuidador
>
> r=4 # posicion de la primera fila
> ws.cell(row=r-3,column=2).value = "CARTOLA DE RECAUDACION"
> ws.cell(row=r-3,column=7).value = "1=Contratado"
> ws.cell(row=r-2,column=7).value = "2=Extra"
>
> ws.cell(row=r-3,column=20).value = "1=Normal"
> ws.cell(row=r-2,column=20).value = "2=Domingo"
> ws.cell(row=r-1,column=20).value = "3=Festivo"
>
> ws.cell(row=r,column=2).value = "Rut paciente"
> ws.cell(row=r,column=3).value = "Paciente"
> ws.cell(row=r,column=4).value = "Fecha pauta"
>
> ws.cell(row=r,column=5).value = "Rut turno 1"
> ws.cell(row=r,column=6).value = "Cuidador t1"
> ws.cell(row=r,column=7).value = "Tipo Cuid t1"
>
> ws.cell(row=r,column=8).value = "Rut turno 2"
> ws.cell(row=r,column=9).value = "Cuidador t2"
> ws.cell(row=r,column=10).value = "Tipo Cuid t2"
>
> ws.cell(row=r,column=11).value = "Rut turno 3"
> ws.cell(row=r,column=12).value = "Cuidador t3"
> ws.cell(row=r,column=13).value = "Tipo Cuid t3"
>
> ws.cell(row=r,column=14).value = "$ turno 1"
> ws.cell(row=r,column=15).value = "$ turno 2"
> ws.cell(row=r,column=16).value = "$ turno 3"
>
> ws.cell(row=r,column=17).value = "$ paciente t1"
> ws.cell(row=r,column=18).value = "$ paciente t2"
> ws.cell(row=r,column=19).value = "$ paciente t3"
>
> ws.cell(row=r,column=20).value = "recargo"
> ws.cell(row=r,column=21).value = "Tot.turnos"
> cell_range = ws['B1':'T4']
> #cell_range.bold = True
>
> tot1=0 # valores de cuidador
> tot2=0
> tot3=0
> tot_pac1 = 0 # valores de paciente (o lo que pagael apoderado)
> tot_pac2 = 0 # valores de paciente (o lo que pagael apoderado)
> tot_pac3 = 0 # valores de paciente (o lo que pagael apoderado)
> va1=0
> va2=0
> va3=0
>
> tRecauda = 0
> subtot = 0
> rut_x = ''
> r=r+1
> for q in query: # pauta_aux - dia a dia
> if q.rut != rut_x:
> ws.cell(row=r,column=20).value = "Subtotal:"
> ws.cell(row=r,column=21).value = subtot
>
> r=r+1
> ws.cell(row=r,column=20).value = "Tot.Anticipo:"
> totAnticipo = anticipos(rut_x,fecha_ini,fecha_fin)
>
> ws.cell(row=r,column=21).value = totAnticipo
>
> r=r+1
> ws.cell(row=r,column=20).value = "Recauda:"
> ws.cell(row=r,column=21).value = subtot - totAnticipo
>
> tRecauda = 0
> subtot = 0
>
> va1=0
> va2=0
> va3=0
>
> rut_x = q.rut # paciente
> r=r+2
>
> ws.cell(row=r,column=2).value = q.rut
> ws.cell(row=r,column=3).value = q.paciente
> ws.cell(row=r,column=4).value = q.fecha   # fecha de la pauta
>
> ws.cell(row=r,column=5).value = q.rut_t1   # rut cuidador
> ws.cell(row=r,column=6).value = q.turno1 # nombre cuidador
> ws.cell(row=r,column=7).value = q.tipo_turno1 # Contratado - Extra
>
> ws.cell(row=r,column=8).value = q.rut_t2   # rut cuidador
> 

Re: How to intergrate openpyxl with django and using the excel sheet as the database to query data

2021-01-26 Thread Gabriel Araya Garcia
In top of views files (views.py) you must put:
import openpyxl
from openpyxl import Workbook
from openpyxl.styles import Alignment,Border,Font,PatternFill,Side
from openpyxl.styles import colors
from openpyxl.styles import Font, Color,Fill
from openpyxl.styles.borders import BORDER_THIN
from openpyxl.drawing.image import Image as XLIMG

...and the view which prepare the excel out, you should review this example:

# CARTOLA DE RECAUDACION en excel
@login_required(login_url='login_ini')
def acsv(request):
nom_arch = nombrearch() # Se forma string para nombre de archivo excel
string_nombre = 'pac'+nom_arch
query = Pauta_aux.objects.all().order_by('rut') # viene filtrada x rango de 
fecha

reg_x = 0
if query:
for fech_x in query:
reg_x = reg_x + 1
else:
# estas dos instrucciones van juntas siempre
messages.error(request, "No existen movimientos que mostrar !!")
return redirect("info")

mes_x = fechapautas.strftime('%m') 
ano_x = fechapautas.strftime('%Y') 
fecha_ini = str(ano_x)+"-"+str(mes_x).zfill(2)+"-01 00:00:00"
#total dias del mes
totdias = calendar.monthrange(int(ano_x),int(mes_x))[1] 
fecha_fin = str(ano_x)+"-"+str(mes_x).zfill(2)+"-"+str(totdias)+" 00:00:00"
wb = Workbook()
ws = wb.create_sheet("hoja1",0)
ws.column_dimensions['A'].width = 5
ws.column_dimensions['B'].width = 12 # rut paciente
ws.column_dimensions['C'].width = 36 # nombre paciente
ws.column_dimensions['D'].width = 17 # fecha
ws.column_dimensions['E'].width = 11 # rut cuid.
ws.column_dimensions['F'].width = 23 # nombre cuidador
ws.column_dimensions['G'].width = 12 # tipo cuidador
ws.column_dimensions['H'].width = 11 # rut cuid.
ws.column_dimensions['I'].width = 23 # nombre cuidador
ws.column_dimensions['J'].width = 12 # tipo cuidador
ws.column_dimensions['K'].width = 11 # rut cuid.
ws.column_dimensions['L'].width = 23 # nombre cuidador
ws.column_dimensions['M'].width = 12 # tipo cuidador

ws.column_dimensions['Q'].width = 12 # rut cuid.
ws.column_dimensions['R'].width = 14# nombre cuidador
ws.column_dimensions['S'].width = 12 # tipo cuidador
ws.column_dimensions['T'].width = 14 # tipo cuidador

r=4 # posicion de la primera fila
ws.cell(row=r-3,column=2).value = "CARTOLA DE RECAUDACION"
ws.cell(row=r-3,column=7).value = "1=Contratado"
ws.cell(row=r-2,column=7).value = "2=Extra"

ws.cell(row=r-3,column=20).value = "1=Normal"
ws.cell(row=r-2,column=20).value = "2=Domingo"
ws.cell(row=r-1,column=20).value = "3=Festivo"

ws.cell(row=r,column=2).value = "Rut paciente"
ws.cell(row=r,column=3).value = "Paciente"
ws.cell(row=r,column=4).value = "Fecha pauta"

ws.cell(row=r,column=5).value = "Rut turno 1"
ws.cell(row=r,column=6).value = "Cuidador t1"
ws.cell(row=r,column=7).value = "Tipo Cuid t1"

ws.cell(row=r,column=8).value = "Rut turno 2"
ws.cell(row=r,column=9).value = "Cuidador t2"
ws.cell(row=r,column=10).value = "Tipo Cuid t2"

ws.cell(row=r,column=11).value = "Rut turno 3"
ws.cell(row=r,column=12).value = "Cuidador t3"
ws.cell(row=r,column=13).value = "Tipo Cuid t3"

ws.cell(row=r,column=14).value = "$ turno 1"
ws.cell(row=r,column=15).value = "$ turno 2"
ws.cell(row=r,column=16).value = "$ turno 3"

ws.cell(row=r,column=17).value = "$ paciente t1"
ws.cell(row=r,column=18).value = "$ paciente t2"
ws.cell(row=r,column=19).value = "$ paciente t3"

ws.cell(row=r,column=20).value = "recargo"
ws.cell(row=r,column=21).value = "Tot.turnos"
cell_range = ws['B1':'T4']
#cell_range.bold = True

tot1=0 # valores de cuidador
tot2=0
tot3=0
tot_pac1 = 0 # valores de paciente (o lo que pagael apoderado)
tot_pac2 = 0 # valores de paciente (o lo que pagael apoderado)
tot_pac3 = 0 # valores de paciente (o lo que pagael apoderado)
va1=0
va2=0
va3=0

tRecauda = 0
subtot = 0
rut_x = ''
r=r+1
for q in query: # pauta_aux - dia a dia
if q.rut != rut_x:
ws.cell(row=r,column=20).value = "Subtotal:" 
ws.cell(row=r,column=21).value = subtot

r=r+1
ws.cell(row=r,column=20).value = "Tot.Anticipo:"
totAnticipo = anticipos(rut_x,fecha_ini,fecha_fin)

ws.cell(row=r,column=21).value = totAnticipo

r=r+1
ws.cell(row=r,column=20).value = "Recauda:"
ws.cell(row=r,column=21).value = subtot - totAnticipo

tRecauda = 0
subtot = 0

va1=0
va2=0
va3=0

rut_x = q.rut # paciente
r=r+2

ws.cell(row=r,column=2).value = q.rut 
ws.cell(row=r,column=3).value = q.paciente 
ws.cell(row=r,column=4).value = q.fecha   # fecha de la pauta 

ws.cell(row=r,column=5).value = q.rut_t1   # rut cuidador
ws.cell(row=r,column=6).value = q.turno1 # nombre cuidador
ws.cell(row=r,column=7).value = q.tipo_turno1 # Contratado - Extra

ws.cell(row=r,column=8).value = q.rut_t2   # rut cuidador
ws.cell(row=r,column=9).value = q.turno2 # nombre cuidador
ws.cell(row=r,column=10).value = q.tipo_turno2 # Contratado - Extra

ws.cell(row=r,column=11).value = q.rut_t3   # rut cuidador
ws.cell(row=r,column=12).value = q.turno3   # nombre cuidador
ws.cell(row=r,column=13).value = q.tipo_turno3 # Contratado - Extra

ws.cell(row=r,column=14).value = q.valor_t1 # valor cuidador1
ws.cell(row=r,column=15).value = 

Re:

2021-01-26 Thread Christ Ikonga
Hi guys.. how I can create a web site with reactjs like frontend and django
like Backend ? Help me please

Le sam. 23 janv. 2021 à 04:20, Christ Ikonga  a
écrit :

> Send me your code please
>
> Le mar. 19 janv. 2021 à 22:32, Ameto Eklu  a écrit :
>
>> To use your own form with Django, you have to use widgets in combination
>> with your model attributes.
>>
>> I hope that answers your question.
>>
>> On Tue, Jan 19, 2021, 7:39 AM Christ Ikonga 
>> wrote:
>>
>>> hi guys i have a question about django form.. how do i use a form i
>>> created myself to allow users to register on my site?
>>>
>>> --
>>> 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/CADT9t_rr9uEHAxFjJKOhwNdfUXYBCHCK-wa8JeuLrNJk7ZeZhg%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/CAHo8Tt%2BPp7zXX_0dxCc3a4VwEjwx9P9CKebj2ahTRBO6AvM3Ug%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/CADT9t_q-JESfD%2Bb6OEv23e4d8M9f4MC2iHbQ%2B8Z3LBVKEbDvUg%40mail.gmail.com.


Re: How to intergrate openpyxl with django and using the excel sheet as the database to query data

2021-01-26 Thread Kasper Laudrup

On 26/01/2021 21.37, Ernest Thuku wrote:
Yeah that is what I am talking about. I need  to integrate this 
screenshot below in django now. The link name, distance etc to be in  a 
form.




I'm not really sure I understand what you mean. You say you want to 
import some existing data to a database (a Django model) which I assume 
is a one time operation. I don't understand why you talk about 
screenshots and forms.


If you really "just" need to import some existing data into a database 
usable by Django, then start by mapping the columns from the sheet into 
something similar in a Django model and define your model.


I'm sure someone can be a lot more helpful than me with that. I'm mostly 
trying to get you to describe what it actually is you want to achieve 
and what issues you're having since I don't think you've described that 
very clearly so far making it hard for anyone to help you.


Best of luck.

Kasper Laudrup

--
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/60b224c9-7ad4-430a-d2d4-542ef3d4409a%40stacktrace.dk.


Re: How to intergrate openpyxl with django and using the excel sheet as the database to query data

2021-01-26 Thread Ernest Thuku
Yeah that is what I am talking about. I need  to integrate this screenshot
below in django now. The link name, distance etc to be in  a form.


On Tue, Jan 26, 2021 at 9:58 PM Kasper Laudrup 
wrote:

> On 26/01/2021 15.19, Ernest Thuku wrote:
> > Hey Kasper, yes I ned to save it as a model so that i can use it to
> > access information.
> >
>
> OK, so what you really want to do is to create a model with the same
> fields as the ones in your spreadsheet and then import your data into
> that model?
>
> /Kasper
>
> --
> 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/3d0d33b8-f422-485c-ff59-3b4dcf5c5f74%40stacktrace.dk
> .
>

-- 
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/CAPsfuocuz9iw-_HJ-TK3ezRq9wAZWu%2B8ifATWMRpZ7tiS1ud_w%40mail.gmail.com.


Re: How to intergrate openpyxl with django and using the excel sheet as the database to query data

2021-01-26 Thread Kasper Laudrup

On 26/01/2021 15.19, Ernest Thuku wrote:
Hey Kasper, yes I ned to save it as a model so that i can use it to 
access information.




OK, so what you really want to do is to create a model with the same 
fields as the ones in your spreadsheet and then import your data into 
that model?


/Kasper

--
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/3d0d33b8-f422-485c-ff59-3b4dcf5c5f74%40stacktrace.dk.


Re:hi

2021-01-26 Thread Florin Ngabire
Think you sir

On Jan 26, 2021 4:01 PM, "Kasper Laudrup"  wrote:

> Hi Florin,
>
> On 1/26/21 2:43 PM, Florin Ngabire wrote:
>
>> Good after every body so need help someone how has a small Python project
>> in danger framework send me. I am new in Python
>>
>>
> If you follow the Django tutorial, you'll have your own small Python
> project in Django. That's a much better way to learn.
>
> But if you're new to Python, I'd recommend learning a bit of Python first
> before diving into Django.
>
> Kind regards,
>
> Kasper Laudrup
>
> --
> 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/ms
> gid/django-users/7e7c04ce-709c-364c-a7b9-923d2083889c%40stacktrace.dk.
>

-- 
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/CACynOuLsdgKT%3DpN8FD088TUjQmuGcx%3D3py5d-mL%3D9SCLL_ctMA%40mail.gmail.com.


Re:

2021-01-26 Thread Chetan Ganji
Hi Salima,

Couple of things you can change in the code to make it run faster!
Do these changes and performance will definitely improve.

1.Queryset

Problem:
classifieds =
vk_classifieds.objects.filter(class_status='1').order_by('-added_date')
This will fetch all the entries in the table; if there are million records
in the table,
all of them will be fetched, which is not required at all!

Processing them will consume resources on the server which is unnecessary
calculation!
Avoid it!

Solution:
classifieds =
vk_classifieds.objects.filter(class_status='1').order_by('-added_date')[:page_size]

Only fetch what you need! As your page size is 40 actual query will look
like below.
classifieds =
vk_classifieds.objects.filter(class_status='1').order_by('-added_date')[:40]

2. Calculation on every request

2.1 classifieds_dist
Distance between two zipcodes is not going to be changed! You dont have to
calculate on every request.
Calculate it only once when the new classified is created and store it in a
separate table.
This calculation must be done using a celery task.

Every time zipcode of classified is updated or user updates his zipcode,
this distance has to be updated.
You have to put restrictions on how many times a user can change his
zipcode.
Otherwise you could end up paying hugh money to the api providers!
This updation must be done using a celery task.


2.2 diff_time
I dont know the code and complexity of it.
However as it is going to be required on every request find a way to
calculate it once and store in a separate table.

Let me know if they are helpful or not!
Cheers!


On Thu, Jan 21, 2021, 9:35 AM Salima Begum 
wrote:

> Hi all,
>
> We are building website, Here I have written functionality for classifieds
> page.
> It is loading to slow because of We are prompting distance calculation in
> classifieds page. By using distance API matrix based on logged in user zip
> code and individual Ad zip codes from query set(database).
>
> ```
> def classifieds(request):
> global dict_time
> try:
> dict_time = {}
> email = request.session.get('email')
>
> # Here we are displaying the classified ads "order by date".
> The ads will be sorted by latest date.
> classifieds =
> vk_classifieds.objects.filter(class_status='1').order_by('-added_date')
>
> count =
> vk_classifieds.objects.filter(class_status='1').order_by('-added_date').count()
> for i in classifieds:
> # diff_time is a child method. By passing 'i' as object in
> diff_time.
> difrnc_date = diff_time(i)
> dict_time[i.id] = difrnc_date
>
> # Pagination for classifieds page.
> # classified = random.sample(list(classifieds), k=count)
> # print("classified = ", str(classified))
> # By default first page
> page = request.GET.get('page', 1)
> # print("page = ", str(page))
> # Per page setting 40 objects.
> paginator = Paginator(list(classifieds), 40)
> # print("paginator = ", str(paginator))
> classified_p = paginator.page(page)
> # print(classified_p)
> except PageNotAnInteger:
> classified_p = paginator.page(1)
> except EmptyPage:
> classified_p = paginator.page(paginator.num_pages)
> except Exception as e:
> logging.error(e)
> return render(request, "classifieds.html",
>   {"Classifieds": classified_p,
>  # distance calculation
>"distance": classifieds_dist(email),
>'some_date': dict_time,
>})
> return render(request, "classifieds.html", {"Classifieds":
> classified_p,
> "distance":
> classifieds_dist(email),
> 'some_date': dict_time,
> })
> ```
>
> ```
>
> def classifieds_dist(email):
> global frm, km
> dict_distance = {}
>
> qury = vk_customer.objects.filter(email=email).first()
>
> # From above qury variable we are getting zip of customer.
> frm = qury.Zip
> # importing json package to calculate the distance
> url = "
> https://maps.googleapis.com/maps/api/distancematrix/json?units=imperial;
> headers = {
> 'Authorization': "Bearer somevalue",
> 'User-Agent': "some value",
> 'Accept': "*/*",
> 'Cache-Control': "no-cache",
> 'Postman-Token': "some value",
> 'Host': "maps.googleapis.com",
> 'Accept-Encoding': "gzip, deflate",
> 'Connection': "keep-alive",
> 'cache-control': "no-cache"
> }
> classifieds =
> vk_classifieds.objects.filter(class_status='1').order_by('-added_date')
> for i in classifieds:
> # while a user login 

Re: How to intergrate openpyxl with django and using the excel sheet as the database to query data

2021-01-26 Thread Ernest Thuku
Hey Kasper, yes I ned to save it as a model so that i can use it to
access information.

On Mon, Jan 25, 2021 at 3:03 PM Kasper Laudrup 
wrote:

> Hi Ernest,
>
> On 25/01/2021 10.43, Ernest Thuku wrote:
> > Hello kasper, thank you so much for the information. I know how to use
> > the django forms. The issue was where will I include the python file
> > above.
>
> I'm not sure I understand the problem. The file you posted earlier just
> contains a Python function. You can copy that function into your views
> file or import the function like any other Python function.
>
> > If I decide to uploadthe excel file and put store it in the
> > django admin, how will I access its content. I hope its clear now maybe
> > you can help.
> >
>
> Not sure what you mean by "store it in the django admin"? Do you want to
> save it in a model that you can access/modify from Django Admin?
>
> Kind regards,
>
> Kasper Laudrup
>
> --
> 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/eb2f8e35-4a93-c2a6-030c-4584bb3090f4%40stacktrace.dk
> .
>

-- 
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/CAPsfuoeCO5z0jJD_3Kg2Y0LS48rsX575eGhc%2BsyOkRfwLcXp8w%40mail.gmail.com.


Hi

2021-01-26 Thread Florin Ngabire
My name is florin.i need a support. A small Python project in django
framework

-- 
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/CACynOu%2BySEKrNgRhwKXYm0%3DOwOau1AS554ywRrzJ3Ru8mgavwA%40mail.gmail.com.


Re:

2021-01-26 Thread Kasper Laudrup

Hi Florin,

On 1/26/21 2:43 PM, Florin Ngabire wrote:
Good after every body so need help someone how has a small Python 
project in danger framework send me. I am new in Python




If you follow the Django tutorial, you'll have your own small Python 
project in Django. That's a much better way to learn.


But if you're new to Python, I'd recommend learning a bit of Python 
first before diving into Django.


Kind regards,

Kasper Laudrup

--
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/7e7c04ce-709c-364c-a7b9-923d2083889c%40stacktrace.dk.


Re:

2021-01-26 Thread Florin Ngabire
Django framework

On Jan 26, 2021 3:43 PM, "Florin Ngabire"  wrote:

> Good after every body so need help someone how has a small Python project
> in danger framework send me. I am new in Python
>

-- 
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/CACynOuLePjetJF%3DHXc5gYr0TwdM1PaHdj-E9ZxLMJc%3DvRs_GbA%40mail.gmail.com.


[no subject]

2021-01-26 Thread Florin Ngabire
Good after every body so need help someone how has a small Python project
in danger framework send me. I am new in Python

-- 
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/CACynOuJgKsHXCOOx0xgVE9-%3DFwNfWnzHkd7_C6MaY6HCZ8t5yQ%40mail.gmail.com.


Re: about django documentation

2021-01-26 Thread Bmt Herald
https://www.youtube.com/watch?v=-s7e_Fy6NRU=PL-osiE80TeTtoQCKZ03TU5fNfx2UY6U4p=10

On Tue, Jan 19, 2021 at 5:11 PM dupakoor kannan 
wrote:

> Hi,
>
> Try this first https://youtu.be/UmljXZIypDc and read the documentation
> again.
>
> Hope it helps
>
>
>
> On Tue, Jan 19, 2021 at 8:40 AM a a  wrote:
>
>> how can i understand from documentation?
>> i was ended the introduction then i have continue to models but how can
>> i  implementation?
>>
>> --
>> 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/04961371-e2b4-45f3-a5b9-1354109a4799n%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/CADiZb_f9P8iO5d6bWk7OsHUbPEspLoBCFfJB9nHBmMOnFB7csA%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/CAD19P%3DqQGHw9DL7GZX18E%3DOSx7DVU%2BjjEs5kmcDQiDaDq28pdw%40mail.gmail.com.