James,

Take a look at this page -
https://docs.djangoproject.com/en/2.1/howto/initial-data/

Be sure to backup your database before you migrate just in case.

Also, sometimes it is faster and easier to just drop the project's database
and restore from a backup than to fiddle with the initial data. Depends on
the situation, of course.

Mark

On Tue, Dec 4, 2018 at 10:51 AM Gerson David Vizquel Alemán <
[email protected]> wrote:

> Hola Jesus, la información que requieres cargar inicialmente en la base de
> datos es información fake o real?
>
> El martes, 4 de diciembre de 2018, 13:09:04 (UTC-4), Informatico de
> Neurodesarrollo escribió:
>>
>> Hello:
>>
>> I am a beginner on Django. I wish develop a web app with Django 2.1.3
>> and Postgres.
>>
>> I have to create my project and later, make migrations on my data base,
>> but I need introduce some data previously into my database like all
>> provinces and other a lot of information's, which don't want introduce
>> a lot of data that I want put into them without insert one and other
>> time.
>>
>>   Any one can help me
>>
>> --
>>
>> Ing. Jesús Reyes Piedra
>> Admin Red Neurodesarrollo,Cárdenas
>> La caja decía:"Requiere windows 95 o superior"...
>> Entonces instalé LINUX.
>>
>>
>> --
>> Este mensaje le ha llegado mediante el servicio de correo electronico que
>> ofrece Infomed para respaldar el cumplimiento de las misiones del Sistema
>> Nacional de Salud. La persona que envia este correo asume el compromiso de
>> usar el servicio a tales fines y cumplir con las regulaciones establecidas
>>
>> Infomed: http://www.sld.cu/
>>
>> --
> 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 [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/982e6114-a6ea-423c-938c-8865d0652fdd%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/982e6114-a6ea-423c-938c-8865d0652fdd%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAEqej2MLbUrrHgvUOJ-R_vVzN-Zkgw%2Bk%2BaLq6rXDXfUPpz84hw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to