This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This file contains pin mappings for the stock 2020 Creality Ender 3 | |
# Pro with the 32-bit Creality 4.2.2 board. To use this config, during | |
# "make menuconfig" select the STM32F103 with a "28KiB bootloader" and | |
# serial (on USART1 PA10/PA9) communication. | |
# If you prefer a direct serial connection, in "make menuconfig" | |
# select "Enable extra low-level configuration options" and select | |
# serial (on USART3 PB11/PB10), which is broken out on the 10 pin IDC | |
# cable used for the LCD module as follows: | |
# 3: Tx, 4: Rx, 9: GND, 10: VCC |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This file contains pin mappings for the stock 2020 Creality Ender 3 | |
# with the 32-bit Creality 4.2.2 board. To use this config, during | |
# "make menuconfig" select the STM32F103 with a "28KiB bootloader" and | |
# serial (on USART1 PA10/PA9) communication. | |
# adapted for my printer ender3-4.2.2 | |
# If you prefer a direct serial connection, in "make menuconfig" | |
# select "Enable extra low-level configuration options" and select | |
# serial (on USART3 PB11/PB10), which is broken out on the 10 pin IDC | |
# cable used for the LCD module as follows: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def setUp(self): | |
with connection.cursor() as cursor: | |
cursor.execute(" alter sequence auth_user_id_seq restart with 1;") | |
#reseteamos el id cuando lost test corren en postgres, repetir para las demas secuencias |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CIUDADES=[('Arica', 'Arica'), ('Alto Hospicio', 'Alto Hospicio'), ('Iquique', 'Iquique'), \ | |
('Pozo Almonte', 'Pozo Almonte'), ('Caldera', 'Caldera'), ('Chanaral', 'Chanaral'), \ | |
('Copiapo', 'Copiapo'), ('Diego de Almagro', 'Diego de Almagro'), ('El Salvador', 'El Salvador'),\ | |
('Huasco', 'Huasco'), ('Tierra Amarilla', 'Tierra Amarilla'), ('Vallenar', 'Vallenar'), \ | |
('Andacollo', 'Andacollo'), ('Combarbala', 'Combarbala'), ('Coquimbo', 'Coquimbo'), \ | |
('El Palqui', 'El Palqui'), ('Illapel', 'Illapel'), ('La Serena', 'La Serena'), \ | |
('Los Vilos', 'Los Vilos'), ('Montepatria', 'Montepatria'), ('Ovalle', 'Ovalle'), \ | |
('Salamanca', 'Salamanca'), ('Vicuna', 'Vicuna'), ('Algarrobo', 'Algarrobo'), \ | |
('Cabildo', 'Cabildo'), ('Calle Larga', 'Calle Larga'), ('Cartagena', 'Cartagena') , \ | |
('Casablanca', 'Casablanca'), ('Catemu', 'Catemu'), ('Concon', 'Concon'), ('El Melon', 'El Melon'), \ |