Hi everyone,
In Mpdf pdf generation , html design breaks . how to
fix this? I have attached pdf file and check 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 fro
I managed to solve as follows:
from django.db import models
class Teste001(models.Model):
name = models.CharField(max_length=100)
tagline = models.TextField()
def __str__(self):
return self.name
class Meta:
db_table = 'scheme].[table'
Em quinta-feira, 27 de set
I have created two models in my django project AddStudent and Fee Entry as
shown below.
*models.py*
class AddStudent(models.Model):
enrollment_no = models.BigIntegerField(primary_key=True)
student_name = models.CharField(max_length=500,null=True)
gender = models.CharField(max_lengt
I have tried this but not working
def upload_csv(request):
data = {}
if "GET" == request.method:
return render(request, "add_student/bulk.html", data)
# if not GET, then proceed
try:
csv_file = request.FILES["csv_file"]
if not csv_file.name.endswith('.csv'):
Can anyone share code for uploading CSV file content to database.
--
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 p
Can you please msg me what you have done
On Thu 27 Sep, 2018, 5:05 AM Elton Oliveira,
wrote:
> Hello guys, how do I create my tables in other SQL server schemas? OBS: I
> tried everything and I could not
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django
Hi Jason,
You can't do it this way, unfortunately. I would suggest you use
> https://github.com/jazzband/django-constance instead
>
Thanks, It helped me.
Cordially,
Ajay Tripathi (atb00ker)
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
T
django convention for db tables is lower case. what reason do you have to
desire upper case?
On Thursday, September 27, 2018 at 8:08:27 AM UTC-4, Elton Oliveira wrote:
>
> leave the capital letters
>
> Em quinta-feira, 27 de setembro de 2018 07:00:47 UTC-4, Andréas Kühne
> escreveu:
>>
>> What
leave the capital letters
Em quinta-feira, 27 de setembro de 2018 07:00:47 UTC-4, Andréas Kühne
escreveu:
>
> What exactly do you need to change in the auth tables? The user table is
> easily changed, but the others I'm not so sure about - why would you need
> this?
>
> Regards,
>
> Andréas
>
>
This is a standard django admin page. You can just enable admin and add the
relevant models. I suggest you follow the django standard tutorials.
On Thu, 27 Sep 2018 at 16:42, Sudha Mohan wrote:
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users"
What exactly do you need to change in the auth tables? The user table is
easily changed, but the others I'm not so sure about - why would you need
this?
Regards,
Andréas
Den tors 27 sep. 2018 kl 01:35 skrev Elton Oliveira <
eltonoliveir...@gmail.com>:
> Hello guys, I'm having two difficulties
Hi,
Have you studied the documentation of the CSV module included in Python
standard library ?
You'll find there all the needed information for reading and interpreting CSV
files without having to implement the raw parsing, and have there rows in a
form ready to use for inserting objects in
12 matches
Mail list logo