thod !='POST':
form = EventForm()
form.fields["room_calendar"].queryset = RoomCalendarModel.objects.filter(
tenants__user=request.user)
form.fields["client"].queryset = Client.objects.filter(user=request.user)
"""
The benefit I find is to intervene directly
ef __init__(self, *args, **kwargs):
# Extract the user from the view
user = kwargs.pop('user')
super(EventForm, self).__init__(*args, **kwargs)
# Filter authors related to the logged-in user
self.fields['client'].queryset = Client.objects.filter(user=user)
self.fields['room_ca
t;
On Monday 23 September 2024 at 15:18:52 UTC+1 Gabriel Soler wrote:
> Yup, that's the problem; I am trying to test something that comes from a
> third-party app called Allah. And I cannot get it right :/
>
> On Monday 23 September 2024 at 13:44:21 UTC+1 RANGA BHARATH JINKA wrot
logic.
>
> ### Conclusion
> For most scenarios in Django TDD, you don’t need to pass the CSRF token in
> tests since Django’s test client ignores CSRF by default. However, if you
> do need to simulate it, you can explicitly add the CSRF token from the
> response context to your form su
e_test/',self.data, follow=True)
self.assertEqual(self.client.session['linked'],"false")
response = self.client.post(reverse('account_login'),data=self.login_data)
#self.assertRedirects(response=response,expected_url='/')
#self.client.login(username='
testing? (My
function is working, but I am learning about testing, and test driven
development, and I came to it because I have been fearing to do changes and
then create unknown bugs, so it is time!)
Gabriel
--
You received this message because you are subscribed to the Google Groups
"D
, el allowed hosts tiene que decir local host, ese cambio pudo también
romper el código. Tienes que darle un local host para que corra en tu
computadora.
Gabriel
On Wednesday 12 June 2024 at 17:40:48 UTC+2 Jose Ramirez wrote:
> Hola el mensaje indica que Django no es capas de detectar tus u
Hi, I am curious how do you deploy on a function base system with Django,
when you need to much to access the manage.py?
How do you deploy in vercel? Does it have a way to reach the command line?
Gabriel
On Friday 14 June 2024 at 15:17:34 UTC+2 Augusto Domingos wrote:
> Hey, sorry for
lease help :)
Gabriel
--
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
https://www.linkedin.com/jobs/view/3745361545 Please apply here
On Tuesday, October 24, 2023 at 2:19:37 PM UTC+3 Habeeb Lasisi wrote:
> I'm interested... https://linkedin.com/in/habeeb-lasisi
>
> On Mon, Oct 23, 2023 at 9:59 PM Gabriel Molocea
> wrote:
> >
> >
Looking to hire a fullstack developer for an ongoing project. The project
is a crowdsourcing platform running on django 3.
Current app: https://app.zignative.com , I want to add new features, fix
bugs and to change the UI to be like
this:
https://www.figma.com/file/fzLCaCw8FL4rZHrkJ8FZnP/Zigna
Hello,
who can help me with the final project in django? in a week I have to hand
it over and I got into trouble with it. I can't access github.
Please help me.
Tnx,
Alex
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this
ing and at what step is it giving error?
>>
>> On Mon, Jun 12, 2023, 12:30 AM Alexandru - Gabriel Ionicescu <
>> ionicescu.alexandrugabr...@gmail.com> wrote:
>>
>>> hello, I have a project and I use django.
>>> I'm trying to do my migrations for bd bu
hello, I have a project and I use django.
I'm trying to do my migrations for bd but I can't do them. it gives me the
error django.db.utils.OperationalError: no such table: user_user.
I also made a User class (AbstractUser) and it still doesn't work. What can
I do?
I mention that in settings.py I
In the consumer example that Django Channels provides (attached image)
about implementing an HTTP endpoint for Server-sent events (SSE), it leaves
me with a doubt: If I implement an endpoint with that consumer, connect to
it from a client, and then disconnect, it throws the following error:
[
Allways there is a way to improve the code, but if that not run, then try
with CYTHON
Gabriel Araya Garcia
GMI - Desarrollo de Sistemas Informáticos
El jue, 9 feb 2023 a las 10:09, Andréas Kühne ()
escribió:
> Not if you want it to be fast. Python itself is slow - so you should try
&
In template you should put an conditional, if it is an any user then show
the real price and if it's a superuser then show zero. And on the back-end
you should ask the same question at the time to save.
gabrielaraya2...@gmail.com
Regards
Gabriel Araya Garcia
GMI - Desarrollo de Sis
Tengo una template, la cual sirve para incorporar vendedores, en esta,
existe un campo username. ¿ Que debería hacer cuando graba un nuevo
registro vaya e inserte también dicho vendedor en auth_user.
En mi template tengo varios campos del mismo nombre que usa auth_user, por
lo cual sería inte
Why do you want to do that? I ask you about that for have one idea to give
you. Perhaps there is an easy solution.
We need more information
Gabriel Araya Garcia
GMI - Desarrollo de Sistemas Informáticos
El jue, 9 jun 2022 a las 5:25, Abhinandan K ()
escribió:
> IS anybody know how
Mike:
I have forgotten. REACT can be used with DJANGO (in back) and REACT (in
front)
Have a good day,
Gabriel Araya Garcia
GMI - Desarrollo de Sistemas Informáticos
El sáb, 21 may 2022 a las 11:41, Gabriel Araya Garcia (<
gabrielaraya2...@gmail.com>) escribió:
> Mike:
> You
Mike:
You should see a REACT tutorial for beginners. React doesn't reload the
page.
Gabriel Araya Garcia
GMI - Desarrollo de Sistemas Informáticos
El mié, 18 may 2022 a las 19:27, Mike Dewhirst ()
escribió:
> On 19/05/2022 4:23 am, Dias André wrote:
>
> Good afternoon! I'm
Did you solve that. If not, you could tell me and I'll help you
Gabriel Araya Garcia
GMI - Desarrollo de Sistemas Informáticos
El mar, 22 mar 2022 a las 2:07, 'Delvin Alexander' via Django users (<
django-users@googlegroups.com>) escribió:
> would anyone know why my
If you had implemented the authentication in your app, then I think, it
would be more easy to develop other things more complex. Remember in Django
you can give permission at users group
Gabriel Araya Garcia
GMI - Desarrollo de Sistemas Informáticos
El mar, 22 mar 2022 a las 10:12
Try this:
ExampleModel.objects.all().order_by('updated_at' , '-created_at')
Gabriel Araya Garcia
GMI - Desarrollo de Sistemas Informáticos
El vie, 21 ene 2022 a las 1:54, Aadil Rashid ()
escribió:
> class ExampleModel(models.Model):
> is_active = models.BooleanField(
sites que muestran su uso.
gabrielaraya2...@gmail.com
Saludos,
Gabriel Araya Garcia
GMI - Desarrollo de Sistemas Informáticos
El jue, 20 ene 2022 a las 11:16, Amor Zamora ()
escribió:
> I have 2 problems working with pdf in django.
> 1. I need a tool, function or library that allows me t
I make the changes in database table manually. The most important is the
keep the amount of fields in the model and the type (varchar,integer, text,
..etc.)
That is part of Django flexibility.
Gabriel Araya Garcia
GMI - Desarrollo de Sistemas Informáticos
El vie, 24 dic 2021 a las 9:11, Amor
e"
>> attribute that your form uses. You should also be using cleaned_data
>> <https://docs.djangoproject.com/en/3.2/ref/forms/api/> after using
>> proper form validation, and in this case you should probably be using a f
>> ormset <https://docs.djangoproject.com/en
I have one grid
{% for pr in parasalida %}
{{ pr.estado}}
{{ pr.fecha_ing|date:'d-m-Y'}}
{{ pr.lote}}
{{ pr.oc_ascoex}}
Hi, Frank:
Perhaps that can run if you put the statics folder in the exterior level.
Por example:
misite/misite/myapp
In local, I have my statics folder in myapp level, but in hosting I must to
put it in:
misite
(fisrts misite)
try it, and tell me how has solve that problem.
Greetings
Gabriel
Get the [ODBC Driver in other site, perhaps your odbc driver are corrupted.
Gabriel Araya Garcia
GMI - Desarrollo de Sistemas Informáticos
El lun, 19 jul 2021 a las 19:58, sum abiut () escribió:
> I am trying to connect Django to an existing legacy database but I got
> this error mess
How? with a message. It's very simple.
It's is in authentication page that you had build.
Gabriel Araya Garcia
GMI - Desarrollo de Sistemas Informáticos
El jue, 15 jul 2021 a las 14:04, Kasper Laudrup ()
escribió:
> On 15/07/2021 19.14, Théodore KOSSI wrote:
> >
> &
Don’t forget that heroku doesn’t manage your media files.It deletes them
every reboot which is going to cost you your data
Digital ocean let’s do all things yourself yeah but it’s worth it
You have control to manage your site however you want it
On Thu, 24 Jun 2021 at 09:45 Luciano Martins wrote:
Open the file,it has all you need
On Thu, 24 Jun 2021 at 09:08 Antonis Christofides <
anto...@antonischristofides.com> wrote:
> Hi,
>
> you can try "Deploying Django on a single Debian or Ubuntu server" at
> djangodeployment.com or djangodeployment.readthedocs.io.
>
> Regards,
>
> Antonis
>
> Ant
Gbel:
I don't understand nothing about you attempt to tell us. If you could
write in english or spanish it would be great
Gabriel Araya Garcia
GMI - Desarrollo de Sistemas Informáticos
El sáb, 12 jun 2021 a las 14:50, GBELE CEDRIC EMMANUEL (<
cedric.gb...@uvci.edu.ci>) escribió:
&
No. Only take sure That model structure about your tables should be the
same fields in your database
El vie., 4 jun. 2021 8:58, Ankita Sharma
escribió:
> Hello Team
> Hope all are doing great
>
> I have a database in microsoft sql server. I created tables and views in
> it.
>
> I ran py manage.p
Sebastian,.. una pregunta:
Tienes idea de como a partir de Django poder enviar un whatssap. Te
agradeceria tu ayuda.
Gabriel Araya Garcia
Santiago - Chile
El lun, 7 jun 2021 a las 11:46, Nicolás Gustavo Bruna (<
bruna.nicolasgust...@gmail.com>) escribió:
> Hello, how are you?
>
&
Davin:
It will be a pleasure to collaborate for deaf and blind of the world. If
you want, tell me what can I do about your Django project.
Excuse me, but my english is not well
Regards.
Gabriel Araya Garcia
GMI - Desarrollo de Sistemas Informáticos
Santiago de Chile
El mar, 25 may 2021 a las 9
The links (image, code, and https://tmpsee.com/v/nbkdqhnxee) they are
shit. It is impossible see it. Why you don't cut and paste here in forum
page ?
Gabriel Araya Garcia
GMI - Desarrollo de Sistemas Informáticos
El jue, 13 may 2021 a las 20:22, Walter Randazzo ()
escribió:
> Her
At first, what's your name? So I know Who answering to
El dom., 9 may. 2021 11:50, Ryan Nowakowski escribió:
> Note: I googled for "HTML video playlist"
>
> On May 9, 2021 10:41:28 AM CDT, Ryan Nowakowski
> wrote:
>>
>> https://stackoverflow.com/a/2552131/226697
>>
>> On May 8, 2021 2:12:15 PM
ordenados y/o graficados.
Pues bien, yo puedo construirte un aprox de esta consulta en Django, para
así darte una idea de cómo poder incorporar otras consultas.
Puede ser un excel o csv el que me envíes.
Gabriel Araya Garcia
GMI - Desarrollo de Sistemas Informáticos
El jue, 22 abr 2021 a las 13:19
;django.contrib.auth',
'django.contrib.sessions',
'django.contrib.messages',
# your tenant-specific apps
'myclientapp',
'core',
]
INSTALLED_APPS = list(set(SHARED_APPS + TENANT_APPS))
Thank you very much!
Gabriel.
--
You received this message because y
ction.
Last night finished with this and I'd checked this running perfectly.
You have take in mind that in template you must ask if the value check
field is chequed or not with {% if.. %}..{%else%}{%endif%}. This is sent
from context.
If you need some help,
Regards
Gabriel Araya Garcia
GMI -
Gracias a todos
El El mar, 6 de abr. de 2021 a la(s) 10:09 a. m., Alan Flavio Ruiz <
ruizfla...@gmail.com> escribió:
> Hola Luis, este post es buenísimo.
>
>
> https://youtube.com/playlist?list=PLCC34OHNcOtr025c1kHSPrnP18YPB-NFi
>
>
>
> El dom., 4 abr. 2021 20:20, L
t;
> El 4 abr 2021, a la(s) 17:20, LUIS GABRIEL CORTES JACANAMIJOY <
> lgcor...@uniguajira.edu.co> escribió:
>
> hola buenas soy nuevo en esto, quisiera saber si alguien puede
> suministrarme información acerca de la curva de aprendizaje de Django, ya
> que he buscado en las we
hola buenas soy nuevo en esto, quisiera saber si alguien puede
suministrarme información acerca de la curva de aprendizaje de Django, ya
que he buscado en las web y no encuentro algo especifico, muchas gracias
--
You received this message because you are subscribed to the Google Groups
"Django
Why you don't explain better your problem ? When appear that
Gabriel Araya Garcia
GMI - Desarrollo de Sistemas Informáticos
El jue, 1 abr 2021 a las 15:43, Mahendra ()
escribió:
> I think given name is wrong Hlo do you have any idea posting form data?
>
> Mahendra Yadav
>
Camarada Sokov:
Your code is very difficult to understand at first sight. I did not know
about ReCaptchaField().
But, is interesting to learn something new.
Recards,
Gabriel Araya Garcia
GMI - Desarrollo de Sistemas Informáticos
from Santiago de Chile
El jue, 11 mar 2021 a las 12:40, Sergei
Could you give me some hosting name where I may test (free) my django
project. My database is MySql. In PythonAnywhere they accepts only one app
(already I've one) and Heroku only run with Postgresql.
Thanks,
Gabriel Araya Garcia
GMI - Desarrollo de Sistemas Informáticos
from Santiago of
");
document.getElementById("correo").value = "";
}
}
}
Regards,
Gabriel Araya Garcia
GMI - Desarrollo de Sistemas Informáticos
Santiago of Chile
El mar, 9 mar 2021 a las 11:47, Manuel Buri ()
escribió:
> Hi, I am a bit lost while trying to add user email verificati
plate.context_processors.request',
'django.contrib.auth.context_processors.auth',
'django.contrib.messages.context_processors.messages',
],
},
},
]
sclub is my project and appsclub is my App
Gabriel Araya Garcia
GMI - Desarrollo de Sistemas Informáticos
r"
context = {'user':user,"variable1":variable1,"error_log":error_log,}
return render(request,'login_ini.html',context)
def log_out(request):
logout(request)
return redirect('login_ini')
Where login_ini.html, is the authentication t
Agni:
No, no, the information is not enough. Could you give us exactly which is
your problem? you say that it is in a web environment, but what happens in
your local host ?
Gabriel Araya Garcia
GMI - Desarrollo de Sistemas Informáticos
El mié, 3 feb 2021 a las 15:41, Agni Venus ()
escribió
.
Gabriel Araya Garcia
GMI - Desarrollo de Sistemas Informáticos
El jue, 28 ene 2021 a las 15:17, hari49pf () escribió:
> Hi,
>
> I am trying to load static file to my project its not loading,
> I have changed the path of static in settting.py still its not loading
> static file.
>
Tal vez el conector esta pifiado. Intenta bajarlo desde otro sitio. Revisa
este link:
https://www.programcreek.com/python/example/113615/ibm_db_dbi.connect
El miércoles, 27 de enero de 2021 a las 14:20:57 UTC-3, lugo...@gmail.com
escribió:
> Buenos días, soy nuevo en Django y no he podido conec
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 openpy
; wrote:
>
>> Previous, you can use:
>> howmany = mytable.count()
>>
>> Also you can use xlrd library, for instance:
>> import xlrd
>>
>> #open excel file
>> documento = xlrd.open_workbook("ejemplo.xls")
>>
>> #We can save each one of
t_by_index(1)
On the other hand, the model has not contains records, it's only an
structure definition of a table
Gabriel Araya Garcia
GMI - Desarrollo de Sistemas Informáticos
El vie, 22 ene 2021 a las 12:58, Shailesh Yadav (<
shaileshyadav7...@gmail.com>) escribió:
> Hi I
interested
On Thu, Dec 24, 2020 at 7:07 PM Joseph M. Afonne wrote:
> do a beginner django tutorial, that beginners should do when they want to
> start coding in Django.
>
> On Wednesday, December 23, 2020 at 9:27:31 AM UTC-8 shrutiyad...@gmail.com
> wrote:
>
>> I am interested
>>
>> On Wed, 23 D
I don't undertand that you say. Can you explain with more details?
Gabriel Araya Garcia
GMI - Desarrollo de Sistemas Informáticos
El mar, 15 dic 2020 a las 15:25, Chelsea Fan ()
escribió:
> [image: image.png]
>
> --
> You received this message because you are subscribed to
Did you make the migrations ? ,...and What is database are you using ?
Gabriel Araya Garcia
GMI - Desarrollo de Sistemas Informáticos
El lun., 16 nov. 2020 a las 0:23, Luciano Martins ()
escribió:
> please post your repository
>
> Em domingo, 15 de novembro de 2020 às 19:42:30 UTC-
Hi,
I am using the django_filters to filtering the information. However, it is
showing the data of all logged user of my systems. I need show *only* the
data of logged user.
Follow the files:
*filters.py *
import django_filters
from apps.requisitos.models import Requisito
class RequisitoFil
Hi everyone!
I am newbe in Django and I have a question.
I am creating a multi-tenanci application and I need to filter the combobox
according to projects created by logged users, but I have the following
message:
*AttributeError at /requisitos/cadastrarRequisito/ 'WSGIRequest' object has
no
Gabriel Araya Garcia
GMI - Desarrollo de Sistemas Informáticos
ja,ja,ja,...gracias Carlos
El mar., 29 sept. 2020 a las 17:18, carlos ()
escribió:
> Gabriel
> one-time password
>
> On Tue, Sep 29, 2020 at 12:34 PM Gabriel Araya Garcia <
> gabrielaraya2...@gmail.com> wrot
Que es eso de OTP?,...que significan esas siglas ?
Gabriel Araya Garcia
GMI - Desarrollo de Sistemas Informáticos
El vie., 25 sept. 2020 a las 10:55, Rahul Gour ()
escribió:
> Hello,
>
> TIA.
>
> I am new in django, can anyone help me for OTP based login in my app.
>
&
I believe that there is not other way to do this with AJAX. This is
an asynchronous call to database server. This not refresh your html
bye
Gabriel Araya Garcia
GMI - Desarrollo de Sistemas Informáticos
El vie., 18 sept. 2020 a las 1:49, Emmanuel Oppong Ntiamoah (<
ladamo...@gmail.
You could try it with pandas (pandas works with python)
Gabriel Araya Garcia
GMI - Desarrollo de Sistemas Informáticos
El dom., 20 sept. 2020 a las 23:27, Ram ()
escribió:
> Hi,
> We are planning to implement members rating system in our web application
> for Classifieds Ad transac
Jajaja,...es muy simple. Debes hacer lo que la mayoría de nosotros hacemos,
seguir los foros, mira que hay decenas de ellos. No pretenderas que te
hagamos la tarea
Gabriel Araya Garcia
GMI - Desarrollo de Sistemas Informáticos
El jue., 10 sept. 2020 a las 12:21, Emmanuel Oppong Ntiamoah
You are an unethical person if you are thinking of doing that
the world is more rotten with people like you.
Gabriel Araya Garcia
GMI - Desarrollo de Sistemas Informáticos
El sáb., 5 sept. 2020 a las 13:33, Mustafa Mahmoud ()
escribió:
> Who know how Much Ransomeware sell it I can make
it do the seek patient
If you send this information I will send you one bit WORD file with images
how can controller the users permissions
We can help each other to achieve our respective goals
Gabriel Araya Garcia
GMI - Desarrollo de Sistemas Informáticos
99.7721.15.70
El sáb., 11 jul.
Je ne comprends pas ce que tu dis. Pourquoi n'utilisez-vous pas l'anglais
Gabriel Araya Garcia
GMI - Desarrollo de Sistemas Informáticos
99.7721.15.70
El dom., 5 jul. 2020 a las 18:36, FLAVIEN HERI ()
escribió:
> je pense tu peux reutiliser tout en activant ton environement
>
now()
cursor = connection.cursor()
cursor.execute(
"update auth_user set log_out=%s where id=%s",[log_out_x,id_x] #
)
logout(request)
return redirect('login_ini')
and in template:
{% if perms.ai.btn_acep_fichacui %}
Aceptar
{%else%}
Aceptar
{%endif%}
if you have some questio
de solo es poner el comando normal y el nombre de la aplicacion
>
> El sáb., 6 jun. 2020 a las 19:32, Gabriel Araya Garcia (<
> gabriela...@gmail.com >) escribió:
>
>> Pregunta:
>> Se puede migrar solo una tabla, ya que las otras estan ok. Es decir,
>> ¿sepue
consultar el tutorial de DjangoGirls para más detalle.
>
> Saludos,
>
>
> --
> Gerardo Palazuelos Guerrero
>
>
>
> On Fri, Aug 9, 2019 at 11:57 AM Gabriel Araya Garcia <
> gabriela...@gmail.com > wrote:
>
>> ¿Donde y como subir mi proyecto básico en calidad
Pregunta:
Se puede migrar solo una tabla, ya que las otras estan ok. Es decir,
¿sepuede:
python manage.py makemigrations solo para una tabla recién definida en el
modelo ?
Gracias desde ya
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To un
..and... why you don't try make theses things that you are asking ?
El 12:03 Vie Jun 5, 2020, Vishesh Mangla
escribió:
> First of all, if you will use .css file, it would be better. In that you
> can include image the usual way.
>
> But still if you would like it as inline element thenn use “...
You can see it in ADMIN tables of Django
Gabriel Araya Garcia
GMI - Desarrollo de Sistemas Informáticos
99.7721.15.70
El vie., 22 may. 2020 a las 17:39, Sujata Aghor ()
escribió:
> I am looking to create a database audit fields such as 'created by' , '
> modified
Sergei, you just to have put an conditional flag. It could be defined in
your view. Example:
flag_ = 0
if pedrito > 16
flag_ = 1
and flag_ send it in context
in template you must include:
{% if flag_ == 0 %}
brek
etc.
Gabriel Araya Garcia
GMI - Desarrollo de Siste
Hi Ahmed, I was looking for that during several months and I have found
examples than not run, and therefore I`ve get one conclution: "It`s not
posible to get that functionality in Django". No one could demostrate with
example code.
If you find something, please send me the code.
Thanks
I've learned Django for a year, and I have my project hosted in
PYTHONANYWHERE, however, I never had have a problem. It's very easy, you
can If you are a beginner to use the free account, or else a paid one.
If you have any question, don't hesitate to ask me.
Regards,
Gabriel A
That's quite easy -
___
models.py:
class num(models.Model):
item = models.BigIntegerField(...)
___
views.py:
from . import models
def funct(request):
mdl = models.num.objects.get(id__exact=1)
mdl2 = models.num.objects.get(id__exact=1)
add
please don't ever use "python-anywhere" for a serious project unless you have
enough tears 😭 in your eye balls to cry out when the time comes.
... I suggest "digitalocean/linode" so that the heavy problems of "SSL
certificates" won't beat you up
--
You received this message because you are sub
That's great to hear!
--
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
delete the migrations again, then run this to reset the tracking:
>>> py manage.py migrate --fake [app_Name] zero
then redo the process I stated before.
... makemigrations [app_Name]
... migrate [app_Name]
--
You received this message because you are subscribed to the Google Groups
"Django us
Hi! you're just visiting a different url from what you specified in your
"urls.py" file.
look closely at the routes "django" is telling you that it tried:
[admin/, welcome.html/]
... these are truly the two paths that you specified, why on earth are you
trying to visit a non-existing path(http
Hi! the reason is probably because you happened to have deleted "some but not
all of your migrations"
... django will always look for the latest "sqlmigrate" with the versions in
the right order(0001,0002,000x...) before it allows "makemigrations" add a new
one.
To fix, this you must:
delete
You should read about customising the admin here:
https://docs.djangoproject.com/en/3.0/intro/tutorial07/
... but I suggest that you build your own website control panel which will
control your website with API's
--
You received this message because you are subscribed to the Google Groups
"D
[CONTINUED]
I just saw "unique=true" on that field
... you may not face the problems of using "random" just yet but must face it
at some "random time in the future" - once you see something like this:
>>>: IntegrityError
... then shall you remember my reply.
The best option is to use a wel
That looks good to you but is definitely a dangerous approach if the "12
digits" should be unique for each QuerySet since "random.random" can return
dublicate numbers when called multiple times.
... I suggest you make a function for that or novicely adds the item's 'pk' to
the random number mak
On Sunday, May 3, 2020 at 9:10:28 AM UTC+1, Benedict Uwazie wrote:
> Still facing the same issue
>
> On Sunday, 3 May 2020 03:27:46 UTC+1, Motaz Hejaze wrote:
> default=cast_trans
> cast_trans = int(pass_trans)
>
> UUID is string not int
>
>
> On Sun, May 3, 2020 at 4:05 AM Benedict Uwazie wr
e is always the
danger to forget to override a specific variable and hence make the app
less secure. I would suggest to have the most secure, drastic values set by
default in settings.py and then loosen them up in yaml files. But, it's
only a suggestion.
Best regards,
Gabriel
luni, 24 febr
Yup! that works 👏
Thank you so much
El miércoles, 8 de enero de 2020, 13:26:22 (UTC-5), Alfredo Silveira
escribió:
>
> Yes, python version 3.8 not Django
>
>
>
> On 8 Jan 2020, at 13:13, Cristhiam Gabriel Fernández > wrote:
>
>
> 3.8? 🤔
> Did you mean 2.2.8
Awesome! upgrade python to 3.8 and django works again 👏
Thank you so much
El miércoles, 8 de enero de 2020, 11:30:18 (UTC-5), Jasim Ak escribió:
>
> Update your Python to version 3.8.
>
> Met with the same issue and this worked for me.
>
> On Wed, 8 Jan 2020, 21:43 Cristhiam
snt an error
>> 😜
>> https://developer.mozilla.org/es/docs/Web/HTTP/Status/302
>>
>> El dc., 8 de gen. 2020, 2:29, Cristhiam Gabriel Fernández <
>> cristh...@gmail.com > va escriure:
>>
>>> Greetings
>>>
>>> From version 3 I
docs/Web/HTTP/Status/302
>>
>> El dc., 8 de gen. 2020, 2:29, Cristhiam Gabriel Fernández <
>> cristh...@gmail.com > va escriure:
>>
>>> Greetings
>>>
>>> From version 3 I'm getting this error. When I try log in in admin sit
Greetings
>From version 3 I'm getting this error. When I try log in in admin site
django closes dev server with no error, only `"POST
/admin/login/?next=/admin/ HTTP/1.1" 302 0``
Any suggestion?
--
You received this message because you are subscribed to the Google Groups
"Django users" gro
¿Como puedo recorrer registro a registro una tabla e ir insertando dicha
informacion en otra tabla segun criterio de lo que tenga en un campo de la
primera tabla?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group a
groups.google.com/d/msgid/django-users/e4349773-f5f1-4d86-94da-517c390417e5%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/e4349773-f5f1-4d86-94da-517c390417e5%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
--
Gabriel Araya Garcia
GMI - Desarrollo de Sistem
.@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/27027877-2836-452b-a608-473100edc83e%40googlegroups.com
> .
>
--
Gabriel Araya Garcia
GMI - Desarrollo de Sistemas Informáticos
99.7721.15.70
--
You received this message b
22-a054-117439311a86%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/cb8e6300-15a5-4a22-a054-117439311a86%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
--
Gabriel Araya Garcia
GMI - Desarrollo de Sistemas Informáticos
99.7721.15.70
--
You received th
tps://groups.google.com/d/msgid/django-users/eb99b343-bf08-47da-9a5a-dc1bf0ccb797%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
--
Gabriel Araya Garcia
GMI - Desarrollo de Sistemas Informáticos
99.7721.15.70
--
You received this message because you are subscribed to the
1 - 100 of 365 matches
Mail list logo